/* =========================================================
   Bili Mitsubishi — Sales Consultant Website
   ========================================================= */
:root {
  --red: #DA291C;
  --red-600: #B81F13;
  --red-50: #FDEDEB;
  --photo-red: #DD1C1D;          /* warna latar foto sales */
  --ink: #0E0F11;
  --ink-2: #16181C;
  --ink-3: #23262B;
  --text: #121316;
  --muted: #5C626B;
  --line: #E3E5E9;
  --soft: #F3F4F6;
  --white: #FFFFFF;
  --wa: #15803D;

  --radius: 16px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(16,18,22,.06), 0 2px 8px rgba(16,18,22,.04);
  --shadow: 0 14px 34px -14px rgba(16,18,22,.28);
  --shadow-lg: 0 30px 70px -24px rgba(16,18,22,.40);

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --container: 1200px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6;
  color: var(--text); background: var(--white);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; color: inherit; }
h1, h2, h3, h4 { margin: 0; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }

/* ---------- icons ---------- */
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ic.f { fill: currentColor; stroke: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 22px; border-radius: 10px; border: 1.5px solid transparent;
  font-weight: 700; font-size: 15px; letter-spacing: .005em; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn .ic { width: 18px; height: 18px; }
.btn-lg { height: 56px; padding: 0 28px; font-size: 16px; }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14px; border-radius: 9px; }
.btn-block { width: 100%; }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 10px 24px -10px rgba(218,41,28,.75); }
.btn-red:hover { background: var(--red-600); transform: translateY(-1px); }
.btn-ghost { border-color: rgba(255,255,255,.32); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-outline { background: #fff; border-color: var(--line); color: var(--text); }
.btn-outline:hover { border-color: var(--text); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); }
.btn-white { background: #fff; color: var(--red); }
.btn-white:hover { background: var(--ink); color: #fff; }

/* ---------- topbar ---------- */
.topbar { background: var(--ink); color: rgba(255,255,255,.7); font-size: 13px; }
.topbar-row { display: flex; justify-content: space-between; align-items: center; height: 40px; gap: 24px; }
.topbar-info, .topbar-contact { display: flex; gap: 24px; align-items: center; min-width: 0; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.topbar .ic { width: 15px; height: 15px; color: var(--red); }
.topbar a:hover { color: #fff; }
.topbar-contact a:last-child { color: #fff; font-weight: 600; }
.topbar-contact a:last-child .ic { color: #4ADE80; }

/* ---------- header ---------- */
.header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; height: var(--header-h);
  background: rgba(255,255,255,.94); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s;
}
.header.scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px -18px rgba(0,0,0,.35); }
.header-row { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand img { height: 36px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--display); font-weight: 700; font-size: 24px; letter-spacing: .08em; text-transform: uppercase; }
.brand-text > span { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.nav-links { list-style: none; display: flex; align-items: center; gap: 30px; margin: 0; padding: 0; }
.nav-links a { font-size: 15px; font-weight: 600; color: #33373e; position: relative; padding: 8px 0; transition: color .2s; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a.active::after, .nav-links a:hover::after { transform: scaleX(1); }
.nav-mobile-cta { display: none; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; place-items: center; }
.menu-btn .ic { width: 22px; height: 22px; }

/* ---------- hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden; color: #fff;
  background: radial-gradient(900px 520px at 0% 0%, #23262c 0%, transparent 60%), var(--ink);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(100deg, #000 0%, transparent 55%); mask-image: linear-gradient(100deg, #000 0%, transparent 55%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 32px; min-height: 690px; }
.hero-copy { padding: 84px 0 140px; align-self: center; }
.hero-chip {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 10px; border-radius: 999px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  font-size: 13px; font-weight: 600; color: rgba(255,255,255,.85);
}
.hero-chip img { width: 20px; height: auto; }
.hero h1 {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(3rem, 6.4vw, 5.6rem); line-height: .94; letter-spacing: .002em; margin: 26px 0 22px;
}
.hero h1 em { font-style: normal; color: var(--red); display: block; }
.hero .lead { font-size: 18px; color: rgba(255,255,255,.72); max-width: 540px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin: 36px 0 44px; }
.hero-points { list-style: none; padding: 26px 0 0; margin: 0; display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 28px; border-top: 1px solid rgba(255,255,255,.1); }
.hero-points li { display: flex; align-items: center; gap: 12px; }
.hp-ico { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; background: rgba(218,41,28,.14); color: #ff5a4c; flex: none; }
.hp-ico .ic { width: 20px; height: 20px; }
.hero-points strong { display: block; font-size: 15px; line-height: 1.25; }
.hero-points span { font-size: 13px; color: rgba(255,255,255,.55); }

.hero-visual { position: relative; min-height: 560px; }
.hero-slab, .hero-photo { position: absolute; top: 0; bottom: 0; left: 0; clip-path: polygon(120px 0, 100% 0, 100% 100%, 0 100%); }
.hero-slab { right: -50vw; background: var(--photo-red); }
.hero-visual::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: -36px; width: 136px; background: var(--red); opacity: .45;
  clip-path: polygon(120px 0, 136px 0, 16px 100%, 0 100%);
}
.hero-photo { right: 0; overflow: hidden; }
.hero-photo img {
  position: absolute; bottom: 0; right: 2%; height: 93%; width: auto; max-width: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 9%); mask-image: linear-gradient(to bottom, transparent 0, #000 9%);
}
.hero-dealer {
  position: absolute; top: 28px; right: 0; z-index: 2;
  background: #fff; color: var(--text); border-radius: 14px; padding: 10px 16px 12px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 4px;
}
.hero-dealer small { font-size: 10.5px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); font-weight: 700; }
.hero-dealer img { height: 34px; width: auto; }
.hero-badge {
  position: absolute; left: -12px; bottom: 116px; z-index: 2;
  display: flex; align-items: center; gap: 14px; padding: 14px 18px 14px 14px;
  background: rgba(255,255,255,.97); color: var(--text); border-radius: 16px; box-shadow: var(--shadow-lg);
}
.hb-ico { width: 46px; height: 46px; border-radius: 12px; background: var(--ink); display: grid; place-items: center; }
.hb-ico img { width: 26px; height: auto; }
.hero-badge strong { display: block; font-family: var(--display); font-size: 24px; text-transform: uppercase; letter-spacing: .04em; line-height: 1; }
.hero-badge > div > span { font-size: 13px; color: var(--muted); font-weight: 600; }
.hb-status { display: inline-flex; align-items: center; gap: 6px; margin-left: 6px; padding: 5px 10px; border-radius: 999px; background: #ECFDF3; color: #067647; font-size: 12px; font-weight: 700; white-space: nowrap; }
.hb-status i { width: 7px; height: 7px; border-radius: 50%; background: #17B26A; box-shadow: 0 0 0 0 rgba(23,178,106,.6); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(23,178,106,.55); } 70% { box-shadow: 0 0 0 8px rgba(23,178,106,0); } 100% { box-shadow: 0 0 0 0 rgba(23,178,106,0); } }

/* ---------- quick inquiry ---------- */
.quick { position: relative; z-index: 5; margin-top: -68px; }
.quick-card {
  display: grid; grid-template-columns: 1.15fr 1fr .8fr auto; gap: 18px; align-items: end;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px 22px 22px 28px; box-shadow: var(--shadow-lg);
}
.quick-title { align-self: center; }
.quick-title strong { display: block; font-size: 18px; font-weight: 800; line-height: 1.3; margin-top: 4px; }
.quick-title .eyebrow::before { width: 18px; }

/* ---------- form controls ---------- */
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; border: 0; padding: 0; margin: 0; }
.field > span:first-child, .field legend, .field-row > span {
  font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; padding: 0;
}
.field legend { margin-bottom: 8px; }
.field-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.field > span.field-row { font-size: inherit; text-transform: none; letter-spacing: 0; color: inherit; }
.field-row output { font-weight: 800; font-size: 15px; color: var(--text); }
.input, .select {
  width: 100%; height: 50px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 10px;
  background: #fff; color: var(--text); font: inherit; font-size: 15px; font-weight: 500;
  transition: border-color .2s, box-shadow .2s;
}
textarea.input { height: auto; padding: 12px 14px; resize: vertical; min-height: 96px; line-height: 1.5; }
.select {
  appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%235C626B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}
.input:hover, .select:hover { border-color: #c9cdd3; }
.input:focus, .select:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(218,41,28,.12); }
.input::placeholder { color: #9aa0a8; font-weight: 400; }
.input-group { display: flex; align-items: stretch; border: 1.5px solid var(--line); border-radius: 10px; overflow: hidden; transition: border-color .2s, box-shadow .2s; background: #fff; }
.input-group:focus-within { border-color: var(--red); box-shadow: 0 0 0 4px rgba(218,41,28,.12); }
.input-group .input { border: 0; box-shadow: none !important; border-radius: 0; font-weight: 700; font-size: 16px; }
.input-group .prefix, .input-group .suffix { display: grid; place-items: center; padding: 0 14px; background: var(--soft); color: var(--muted); font-weight: 700; font-size: 14px; }
.err { display: none; font-style: normal; font-size: 12.5px; color: var(--red); font-weight: 600; }
.field.invalid .input, .field.invalid .select { border-color: var(--red); }
.field.invalid .err { display: block; }

input[type=range] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 99px; margin: 10px 0 2px;
  background: linear-gradient(90deg, var(--red) 0 var(--p, 25%), #E3E5E9 var(--p, 25%) 100%); outline: none; cursor: pointer;
}
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 3px solid var(--red); box-shadow: 0 3px 10px rgba(0,0,0,.18); }
input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid var(--red); box-shadow: 0 3px 10px rgba(0,0,0,.18); }
input[type=range]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 6px rgba(218,41,28,.2); }
.range-scale { display: flex; justify-content: space-between; font-size: 12px; color: #9aa0a8; font-weight: 600; text-transform: none !important; letter-spacing: 0 !important; }

.seg { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label { height: 48px; display: grid; place-items: center; border: 1.5px solid var(--line); border-radius: 10px; font-weight: 700; font-size: 14px; cursor: pointer; transition: .2s; user-select: none; }
.seg label:hover { border-color: #c9cdd3; }
.seg input:checked + label { background: var(--ink); color: #fff; border-color: var(--ink); }
.seg input:focus-visible + label { outline: 2px solid var(--red); outline-offset: 2px; }

/* ---------- brands strip ---------- */
.brands { padding: 56px 0 40px; }
.brands-row { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.brands-row > p { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); max-width: 220px; line-height: 1.5; }
.brands-logos { display: flex; align-items: center; gap: 44px; flex-wrap: wrap; }
.brands-logos .sep { width: 1px; height: 48px; background: var(--line); }
.lg-mmc { height: 76px; width: auto; }
.lg-fuso { height: 62px; width: auto; }
.lg-bosowa { height: 46px; width: auto; }

/* ---------- sections ---------- */
.section { padding: 104px 0; }
.bg-soft { background: var(--soft); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--red);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.section h2, .cta-band h2 {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(2.1rem, 4vw, 3.3rem); line-height: 1; letter-spacing: .003em; margin: 14px 0 16px;
}
.section-head p { color: var(--muted); font-size: 17px; max-width: 620px; }
.section-head.center { text-align: center; max-width: 760px; margin: 0 auto; }
.section-head.center p { margin: 0 auto; }
.section-head.split { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.section-head.split > div:first-child { max-width: 620px; }
.fine { margin-top: 28px; font-size: 13px; color: var(--muted); }

/* ---------- tabs ---------- */
.tabs { display: inline-flex; gap: 4px; padding: 5px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.tab { border: 0; background: transparent; padding: 10px 18px; border-radius: 8px; font-weight: 700; font-size: 14px; color: var(--muted); transition: .2s; white-space: nowrap; }
.tab:hover { color: var(--text); }
.tab[aria-selected="true"] { background: var(--ink); color: #fff; }
.tab .count { opacity: .55; margin-left: 6px; font-weight: 600; }

/* ---------- model cards ---------- */
.model-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 44px; }
.card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s, border-color .3s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.card[hidden] { display: none; }
.card-media {
  position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: pointer;
  aspect-ratio: 16 / 10; background: linear-gradient(180deg, #fff 55%, #EEF0F2 100%);
}
.card-media img { width: 100%; height: 100%; padding: 30px 14px 6px; object-fit: contain; mix-blend-mode: multiply; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.card:hover .card-media img { transform: scale(1.05); }
.card-tag {
  position: absolute; top: 12px; left: 12px; z-index: 1; padding: 5px 10px; border-radius: 6px;
  background: rgba(14,15,17,.86); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.card-body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.card-brand { font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--red); }
.card h3 { font-family: var(--display); font-weight: 700; font-size: 30px; line-height: 1; text-transform: uppercase; margin-top: 4px; }
.card .tagline { font-size: 14px; color: var(--muted); margin: 8px 0 14px; line-height: 1.5; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; padding: 0; }
.chips li { font-size: 12px; font-weight: 600; color: #3a3f46; background: var(--soft); padding: 4px 9px; border-radius: 6px; }
.price { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); }
.price small { display: block; font-size: 12px; font-weight: 600; color: var(--muted); }
.price strong { font-size: 22px; font-weight: 800; letter-spacing: -.01em; }
.price strong.ask { font-size: 18px; }
.card-actions { display: grid; grid-template-columns: 1fr 1.25fr; gap: 8px; margin-top: 14px; }
.card-actions .btn { padding: 0 10px; }

/* ---------- features ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 52px; }
.feature { position: relative; padding: 30px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: box-shadow .3s, border-color .3s, transform .3s; overflow: hidden; }
.feature::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--red); transform: scaleY(0); transform-origin: top; transition: transform .35s; }
.feature:hover { box-shadow: var(--shadow); border-color: transparent; transform: translateY(-3px); }
.feature:hover::after { transform: scaleY(1); }
.f-ico { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: var(--red-50); color: var(--red); margin-bottom: 20px; }
.f-ico .ic { width: 24px; height: 24px; }
.feature h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.feature p { font-size: 15px; color: var(--muted); }

/* ---------- calculator ---------- */
.calc { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); margin-top: 52px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.calc-form { display: grid; gap: 24px; padding: 40px; }
.calc-result { position: relative; display: flex; flex-direction: column; padding: 40px; background: var(--ink); color: #fff; overflow: hidden; isolation: isolate; }
.calc-result::before { content: ""; position: absolute; right: -70px; bottom: -40px; width: 340px; height: 300px; background: url(../img/emblem.png) no-repeat center / contain; opacity: .06; z-index: -1; }
.result-main small { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.result-main .amount { font-family: var(--display); font-weight: 700; font-size: clamp(2.8rem, 5vw, 3.9rem); line-height: 1; margin: 10px 0 6px; letter-spacing: .01em; }
.result-main .per { color: rgba(255,255,255,.65); font-size: 15px; }
.breakdown { list-style: none; margin: 28px 0 28px; padding: 0; }
.breakdown li { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.09); font-size: 15px; }
.breakdown li span { color: rgba(255,255,255,.62); }
.breakdown li.em { border-bottom: 0; }
.breakdown li.em strong { color: #FF6B5E; }
.calc-note { margin-top: 18px; font-size: 12.5px; line-height: 1.55; color: rgba(255,255,255,.5); }

/* ---------- commercial ---------- */
.niaga { background: radial-gradient(800px 500px at 100% 0%, #24272d 0%, transparent 60%), var(--ink); color: #fff; overflow: hidden; }
.niaga-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 64px; align-items: center; }
.fuso-logo { height: 84px; width: auto; margin-bottom: 30px; }
.niaga-copy > p { color: rgba(255,255,255,.7); font-size: 17px; }
.niaga-list { list-style: none; padding: 0; margin: 32px 0 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; }
.niaga-list li { display: flex; gap: 14px; align-items: flex-start; }
.n-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.08); flex: none; color: #ff5a4c; }
.niaga-list strong { display: block; font-size: 15px; margin-bottom: 2px; }
.niaga-list span { font-size: 14px; color: rgba(255,255,255,.58); line-height: 1.5; }
.stage { position: relative; border-radius: var(--radius-lg); background: radial-gradient(ellipse 70% 40% at 50% 88%, #E6E8EB 0%, #fff 70%); padding: 26px 26px 18px; overflow: hidden; color: var(--text); }
.stage-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; position: relative; z-index: 1; }
.stage-head small { display: block; font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--red); }
.stage-head strong { display: block; font-family: var(--display); font-size: 36px; line-height: 1; text-transform: uppercase; margin: 2px 0 4px; }
.stage-head span { font-size: 14px; color: var(--muted); font-weight: 600; }
.stage img { width: 100%; aspect-ratio: 16 / 10; object-fit: contain; mix-blend-mode: multiply; margin-top: -6px; transition: opacity .3s, transform .4s; }
.stage img.swap { opacity: 0; transform: translateX(16px); }
.thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.thumb { padding: 8px 8px 10px; border-radius: 12px; border: 2px solid transparent; background: rgba(255,255,255,.06); color: rgba(255,255,255,.8); font-weight: 700; font-size: 13px; text-align: center; transition: .2s; }
.thumb span.tm { display: block; background: #fff; border-radius: 8px; margin-bottom: 8px; }
.thumb img { width: 100%; aspect-ratio: 16 / 10; object-fit: contain; mix-blend-mode: multiply; }
.thumb:hover { background: rgba(255,255,255,.1); color: #fff; }
.thumb[aria-selected="true"] { border-color: var(--red); color: #fff; background: rgba(218,41,28,.12); }

/* ---------- steps ---------- */
.steps { list-style: none; padding: 0; margin: 60px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; position: relative; counter-reset: step; }
.steps::before { content: ""; position: absolute; top: 36px; left: 12.5%; right: 12.5%; height: 2px; background: repeating-linear-gradient(90deg, #D5D8DD 0 8px, transparent 8px 16px); }
.step { position: relative; text-align: center; counter-increment: step; }
.step-ico { position: relative; z-index: 1; width: 72px; height: 72px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--line); color: var(--red); transition: .3s; }
.step-ico .ic { width: 28px; height: 28px; }
.step-ico::after { content: counter(step); position: absolute; top: -4px; right: -4px; width: 26px; height: 26px; border-radius: 50%; background: var(--red); color: #fff; font-size: 13px; font-weight: 800; display: grid; place-items: center; border: 3px solid #fff; }
.step:hover .step-ico { background: var(--ink); border-color: var(--ink); color: #fff; }
.step h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.step p { font-size: 15px; color: var(--muted); max-width: 250px; margin: 0 auto; }

.cta-band {
  position: relative; overflow: hidden; isolation: isolate; margin-top: 88px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  padding: 52px 56px; border-radius: 24px; background: var(--red); color: #fff;
}
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(115deg, transparent 0 38px, rgba(255,255,255,.06) 38px 40px); }
.cta-band::after { content: ""; position: absolute; right: 260px; top: -60px; width: 260px; height: 230px; z-index: -1; background: url(../img/emblem.png) no-repeat center / contain; opacity: .1; filter: brightness(0) invert(1); }
.cta-band h2 { margin: 0 0 10px; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 560px; font-size: 17px; }
.cta-band .btn { flex: none; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); gap: 24px; margin-top: 52px; align-items: stretch; }
.sales-card { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; padding: 34px; border-radius: var(--radius-lg); background: var(--ink); color: #fff; }
.sales-card::before { content: ""; position: absolute; top: 0; right: 0; width: 180px; height: 180px; z-index: -1; background: var(--red); clip-path: polygon(40% 0, 100% 0, 100% 60%); opacity: .9; }
.sales-top { display: flex; align-items: center; gap: 18px; }
.avatar { width: 88px; height: 88px; border-radius: 50%; overflow: hidden; flex: none; background: var(--photo-red); border: 3px solid rgba(255,255,255,.9); box-shadow: 0 8px 20px -8px rgba(0,0,0,.6); }
.avatar img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; transform: scale(1.55); transform-origin: 50% 24%; }
.sales-top strong { display: block; font-family: var(--display); font-size: 32px; line-height: 1; text-transform: uppercase; letter-spacing: .03em; }
.sales-top span { display: block; font-weight: 700; color: #ff6b5e; font-size: 14px; margin-top: 4px; }
.sales-top small { color: rgba(255,255,255,.55); font-size: 13px; }
.sales-bio { color: rgba(255,255,255,.7); font-size: 15px; margin: 22px 0 8px; }
.contact-list { list-style: none; padding: 0; margin: 0 0 26px; }
.contact-list li { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.c-ico { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.07); display: grid; place-items: center; flex: none; }
.c-ico .ic { width: 18px; height: 18px; }
.contact-list small { display: block; font-size: 12px; color: rgba(255,255,255,.5); font-weight: 600; }
.contact-list a, .contact-list span { font-weight: 600; font-size: 15px; }
.contact-list a:hover { color: #ff6b5e; }
.sales-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: auto; }
.sales-dealer { align-self: flex-start; height: 38px; width: auto; margin-top: 26px; opacity: .9; }

.lead-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; align-content: start; padding: 36px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.lead-form .full { grid-column: 1 / -1; }
.lead-form h3 { font-size: 22px; font-weight: 800; line-height: 1.25; }
.form-sub { color: var(--muted); font-size: 15px; margin-top: 4px; }
.form-foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 4px; }
.form-foot small { color: var(--muted); font-size: 13px; }

.map { margin-top: 24px; height: 380px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: #e9ebee; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.faq-wrap .section-head { position: sticky; top: calc(var(--header-h) + 32px); }
.faq-wrap .section-head .btn { margin-top: 28px; }
.faq-wrap .section-head .btn .ic { color: var(--wa); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; font-size: 17px; font-weight: 700; transition: color .2s; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--red); }
.faq-list summary .ic { width: 22px; height: 22px; flex: none; color: var(--red); transition: transform .3s; }
.faq-list details[open] summary .ic { transform: rotate(45deg); }
.faq-list details p { color: var(--muted); padding: 0 40px 24px 0; font-size: 15.5px; }

/* ---------- footer ---------- */
.footer { background: #0A0B0D; color: rgba(255,255,255,.62); padding-top: 80px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 48px; }
.f-mmc { height: 92px; width: auto; margin-bottom: 22px; }
.footer-brand p { max-width: 320px; }
.footer-brand strong { color: #fff; }
.f-bosowa { height: 40px; width: auto; margin-top: 24px; opacity: .85; }
.footer h4 { color: #fff; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 20px; }
.f-links, .f-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.f-links a, .f-links button { background: none; border: 0; padding: 0; text-align: left; color: inherit; font-size: 15px; transition: color .2s; }
.f-links a:hover, .f-links button:hover { color: #fff; }
.f-contact li { display: flex; gap: 12px; align-items: flex-start; }
.f-contact .ic { width: 18px; height: 18px; color: var(--red); margin-top: 3px; }
.f-contact a:hover { color: #fff; }
.footer-bottom { position: relative; display: flex; justify-content: space-between; gap: 32px; margin-top: 64px; padding-top: 28px; padding-bottom: 28px; font-size: 13px; color: rgba(255,255,255,.45); }
.footer-bottom::before { content: ""; position: absolute; top: 0; left: 24px; right: 24px; height: 1px; background: rgba(255,255,255,.08); }
.footer-bottom .disclaimer { max-width: 680px; text-align: right; }

/* ---------- floating WA ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); z-index: 60;
  display: inline-flex; align-items: center; gap: 10px; height: 58px; padding: 0 22px 0 18px; border-radius: 999px;
  background: var(--wa); color: #fff; font-weight: 700; box-shadow: 0 14px 30px -10px rgba(21,128,61,.7);
  transition: transform .25s, box-shadow .25s;
}
.wa-float .ic { width: 26px; height: 26px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--wa); animation: ring 2.4s infinite; pointer-events: none; }
.wa-float:hover { transform: translateY(-2px) scale(1.02); }
@keyframes ring { 0% { opacity: .7; transform: scale(1); } 100% { opacity: 0; transform: scale(1.35); } }

/* ---------- modal ---------- */
.modal { width: min(1000px, calc(100% - 32px)); max-height: calc(100dvh - 48px); padding: 0; border: 0; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; color: var(--text); }
.modal::backdrop { background: rgba(10,11,13,.62); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.modal[open] { animation: pop .3s cubic-bezier(.2,.7,.2,1); }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; transition: .2s; }
.modal-close:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.modal-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); max-height: calc(100dvh - 48px); }
.modal-media { display: grid; place-items: center; padding: 32px; background: radial-gradient(ellipse 80% 45% at 50% 80%, #E6E8EB 0%, #fff 70%); }
.modal-media img { width: 100%; mix-blend-mode: multiply; }
.modal-body { padding: 40px 36px 32px; overflow-y: auto; }
.m-brand { font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--red); }
.modal-body h3 { font-family: var(--display); font-size: 46px; line-height: 1; text-transform: uppercase; margin: 4px 0 6px; }
.m-type { display: inline-block; font-size: 13px; font-weight: 700; color: var(--muted); }
.modal-body > p { color: var(--muted); font-size: 15px; margin-top: 14px; }
.spec-list { display: grid; grid-template-columns: auto 1fr; margin: 22px 0 18px; border-top: 1px solid var(--line); }
.spec-list dt, .spec-list dd { margin: 0; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.spec-list dt { color: var(--muted); padding-right: 20px; }
.spec-list dd { font-weight: 600; }
.variants small, .m-price small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
#mVariants { display: flex; flex-wrap: wrap; gap: 6px; }
#mVariants span { font-size: 13px; font-weight: 600; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line); }
.m-price { margin: 22px 0 18px; }
.m-price small { margin-bottom: 2px; }
.m-price strong { font-size: 28px; font-weight: 800; }
.m-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 80; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 10px; font-size: 14px; font-weight: 600; box-shadow: var(--shadow); transition: .3s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.has-link { display: flex; align-items: center; gap: 14px; pointer-events: auto; width: max-content; max-width: calc(100% - 32px); padding: 10px 10px 10px 18px; }
.toast-link { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 8px; background: var(--wa); color: #fff; font-weight: 700; white-space: nowrap; }
.toast-link .ic { width: 18px; height: 18px; }

/* kartu lokasi (dipakai jika peta tersemat tidak tersedia) */
.map-card { margin-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 28px 32px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.map-card > div { display: flex; align-items: center; gap: 16px; min-width: 0; }
.map-card .m-ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--red-50); color: var(--red); flex: none; }
.map-card .m-ico .ic { width: 24px; height: 24px; }
.map-card strong { display: block; font-size: 17px; font-weight: 800; }
.map-card small { color: var(--muted); font-size: 14px; }

/* ---------- reveal ---------- */
.js .reveal { transform: translateY(18px); transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { transform: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1180px) {
  .nav-links { gap: 22px; }
  .model-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-points { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .hero-badge .hb-status { display: none; }
}

@media (max-width: 1024px) {
  .topbar { display: none; }
  .menu-btn { display: grid; }
  .header-cta span { display: none; }
  .header-cta { width: 44px; height: 44px; padding: 0; }
  .nav-links {
    position: fixed; top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); left: 0; right: 0; z-index: 49;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 22px;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(0,0,0,.35);
    opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .25s, transform .25s, visibility .25s;
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  }
  .nav-links.open { opacity: 1; visibility: visible; transform: none; }
  .nav-links a { display: block; padding: 15px 2px; font-size: 16px; border-bottom: 1px solid var(--line); }
  .nav-links a::after { display: none; }
  .nav-mobile-cta { display: block; padding-top: 16px; }
  .nav-mobile-cta .btn { display: flex; width: 100%; border: 0; color: #fff; padding: 0 22px; }

  .hero-grid { grid-template-columns: 1fr; min-height: 0; gap: 0; }
  .hero-copy { padding: 64px 0 40px; }
  .hero-visual { min-height: 520px; margin: 0 -24px; }
  .hero-slab, .hero-photo { clip-path: polygon(64px 0, 100% 0, 100% 100%, 0 100%); }
  .hero-slab { right: 0; }
  .hero-visual::before { display: none; }
  .hero-photo img { right: auto; left: 50%; transform: translateX(-50%); height: 96%; }
  .hero-dealer { right: 24px; top: 24px; }
  .hero-badge { left: 24px; bottom: 96px; }
  .quick { margin-top: -56px; }
  .quick-card { grid-template-columns: 1fr 1fr; }
  .quick-title { grid-column: 1 / -1; }
  .quick-card .btn { grid-column: 1 / -1; }

  .calc { grid-template-columns: 1fr; }
  .niaga-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-grid { grid-template-columns: 1fr; }
  .faq-wrap { grid-template-columns: 1fr; gap: 32px; }
  .faq-wrap .section-head { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 10px; }
  .footer-bottom .disclaimer { text-align: left; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 44px 40px; }
  .cta-band::after { right: -40px; }
}

@media (max-width: 860px) {
  .section { padding: 80px 0; }
  .model-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 44px; }
  .steps::before { display: none; }
  .modal-grid { grid-template-columns: 1fr; overflow-y: auto; }
  .modal-media { padding: 56px 24px 8px; }
  .modal-body { overflow: visible; padding: 20px 24px 28px; }
  .brands-row { justify-content: center; text-align: center; }
  .brands-row > p { max-width: none; width: 100%; }
  .brands-logos { justify-content: center; gap: 28px; }
}

@media (max-width: 640px) {
  :root { --header-h: 66px; }
  .container { padding: 0 16px; }
  .brand img { height: 30px; }
  .brand-text strong { font-size: 20px; }
  .brand-text > span { font-size: 11.5px; }
  .hero-copy { padding: 48px 0 32px; }
  .hero .lead { font-size: 16px; }
  .hero-cta { margin: 28px 0 32px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .hero-points { grid-template-columns: 1fr; gap: 14px; }
  .hero-visual { min-height: 440px; margin: 0 -16px; }
  .hero-slab, .hero-photo { clip-path: polygon(44px 0, 100% 0, 100% 100%, 0 100%); }
  .hero-dealer { right: 16px; top: 16px; padding: 8px 12px 10px; }
  .hero-dealer img { height: 26px; }
  .hero-badge { left: 16px; right: 16px; bottom: 84px; padding: 12px 14px 12px 12px; }
  .hero-badge strong { font-size: 21px; }
  .hb-ico { width: 40px; height: 40px; }
  .quick { margin-top: -60px; }
  .quick-card { grid-template-columns: 1fr; padding: 20px; }
  .lg-mmc { height: 60px; } .lg-fuso { height: 48px; } .lg-bosowa { height: 36px; }
  .brands-logos .sep { height: 36px; }
  .brands-logos { gap: 20px; }
  .section { padding: 64px 0; }
  .section-head p { font-size: 16px; }
  .tabs { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .tab { padding: 10px 12px; }
  .model-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 32px; }
  .feature-grid { grid-template-columns: 1fr; gap: 14px; margin-top: 36px; }
  .feature { padding: 24px; }
  .calc-form, .calc-result { padding: 24px 20px; }
  .seg { gap: 6px; }
  .seg label { font-size: 13px; height: 44px; }
  .niaga-list { grid-template-columns: 1fr; }
  .fuso-logo { height: 64px; }
  .stage { padding: 20px 16px 12px; }
  .stage-head { flex-direction: column; }
  .stage-head strong { font-size: 30px; }
  .thumbs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: 1fr; row-gap: 36px; }
  .cta-band { padding: 36px 24px; border-radius: 20px; }
  .cta-band .btn { width: 100%; }
  .sales-card, .lead-form { padding: 24px 20px; }
  .lead-form { grid-template-columns: 1fr; }
  .form-foot .btn { width: 100%; }
  .map { height: 300px; }
  .map-card { padding: 22px 20px; }
  .map-card .btn { width: 100%; }
  .faq-list summary { font-size: 16px; padding: 20px 0; }
  .faq-list details p { padding-right: 0; }
  .footer { padding-top: 56px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom::before { left: 16px; right: 16px; }
  .wa-float { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); width: 58px; padding: 0; justify-content: center; }
  .wa-float span { display: none; }
  .m-actions { grid-template-columns: 1fr; }
  .modal-body h3 { font-size: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { transform: none; }
}
