/* ================= Amie Jaya Motor — gaya utama ================= */
:root {
  --navy: #0a1157;
  --navy-2: #121c78;
  --blue: #1d4ed8;
  --blue-2: #2f62f0;
  --blue-soft: #eaf0ff;
  --ink: #0f172a;
  --text: #273246;
  --muted: #5f6b80;
  --line: #e2e7f0;
  --bg: #f5f7fb;
  --card: #ffffff;
  --sepi: #15803d;
  --sepi-bg: #dcfce7;
  --normal: #b45309;
  --normal-bg: #fef3c7;
  --ramai: #c2410c;
  --ramai-bg: #ffedd5;
  --penuh: #b91c1c;
  --penuh-bg: #fee2e2;
  --tutup: #475569;
  --tutup-bg: #e2e8f0;
  --wa: #128c4b;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 8px 24px rgba(15, 23, 42, .06);
  --shadow-lg: 0 20px 50px rgba(10, 17, 87, .14);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  /* token tambahan untuk tema terang/gelap */
  --surface-2: #f7f9fd;
  --line-soft: #eef1f6;
  --line-strong: #c9d6f5;
  --accent: #1d4ed8;
  --heading-accent: #121c78;
  --chip-active: #0a1157;
  --img-bg: #f0f4fc;
  --skel-1: #eef2f8;
  --skel-2: #f7f9fc;
  --track: #eef2f8;
  --track-strong: #cbd5e1;
  --bar: #b4c6ee;
  --faint: #a0a9b8;
  --wa-soft: #e3f6ea;
  --footer-bg: #070c3f;
  color-scheme: light;
}

/* ---------- tema gelap ---------- */
:root[data-theme="dark"] {
  --navy: #0b1140;
  --navy-2: #16207a;
  --blue: #2f62f0;
  --blue-soft: #1a2650;
  --ink: #eef2ff;
  --text: #c9d2e3;
  --muted: #94a0b8;
  --line: #263049;
  --bg: #0a0f1f;
  --card: #121a2e;
  --surface-2: #19223a;
  --line-soft: #1e2740;
  --line-strong: #3b4c78;
  --accent: #8fb0ff;
  --heading-accent: #b9ccff;
  --chip-active: #2f62f0;
  --img-bg: #1c2645;
  --skel-1: #18213a;
  --skel-2: #212b48;
  --track: #222b44;
  --track-strong: #3a4560;
  --bar: #3c5291;
  --faint: #5d6880;
  --wa-soft: #11331f;
  --footer-bg: #060a26;
  --sepi: #4ade80;
  --sepi-bg: rgba(34, 197, 94, .15);
  --normal: #fbbf24;
  --normal-bg: rgba(245, 158, 11, .15);
  --ramai: #fb923c;
  --ramai-bg: rgba(249, 115, 22, .16);
  --penuh: #f87171;
  --penuh-bg: rgba(239, 68, 68, .16);
  --tutup: #a3b0c4;
  --tutup-bg: rgba(148, 163, 184, .15);
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, .45);
  color-scheme: dark;
}
/* gambar ber-latar putih (QR, sparepart) tetap di kotak terang */
:root[data-theme="dark"] .qr-card img,
:root[data-theme="dark"] .part img { background: #fff; border-radius: 12px; padding: 8px; }
:root[data-theme="dark"] .feature img, :root[data-theme="dark"] .loc-card img, :root[data-theme="dark"] .carousel-track img { filter: brightness(.92); }

/* tombol tema */
.theme-toggle { width: 40px; height: 40px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .06); color: #fff; cursor: pointer; display: grid; place-items: center; flex: none; transition: background .2s; }
.theme-toggle:hover { background: rgba(255, 255, 255, .14); }
.theme-toggle .moon { display: none; }
:root[data-theme="dark"] .theme-toggle .moon { display: block; }
:root[data-theme="dark"] .theme-toggle .sun { display: none; }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; font-size: 16px; overflow-x: hidden; }
body.has-tray { padding-bottom: 96px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--heading-accent); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(30px, 4.6vw, 52px); font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; }
h3 { font-size: 18px; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--blue-2); outline-offset: 2px; border-radius: 6px; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }

/* ---------- tombol ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 999px; font: 700 15px/1.2 var(--font); border: 1.5px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 9px 15px; font-size: 14px; }
.btn-lg { padding: 15px 26px; font-size: 16px; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--navy-2); color: #fff; box-shadow: 0 8px 20px rgba(29, 78, 216, .25); }
.btn-primary.disabled { background: #94a3b8; cursor: not-allowed; box-shadow: none; }
.btn-outline { border-color: var(--line); background: var(--card); color: var(--ink); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-ghost { background: transparent; color: var(--muted); }
.btn-ghost:hover { color: var(--ink); background: rgba(15, 23, 42, .05); }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: #eaf0ff; color: var(--navy); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #0e7a40; color: #fff; }
.btn-light-outline { border-color: rgba(255, 255, 255, .35); background: transparent; color: #fff; }
.btn-light-outline:hover { background: rgba(255, 255, 255, .1); color: #fff; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy); color: #fff; transition: box-shadow .2s; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(10, 17, 87, .25); }
.topbar { background: rgba(0, 0, 0, .18); font-size: 13px; color: rgba(255, 255, 255, .78); }
.topbar-inner { display: flex; justify-content: space-between; gap: 16px; padding-top: 7px; padding-bottom: 7px; }
.topbar a { color: #fff; font-weight: 600; }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand img { height: 33px; width: auto; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { color: rgba(255, 255, 255, .82); font-weight: 600; font-size: 15px; padding: 9px 14px; border-radius: 10px; transition: background .2s, color .2s; }
.nav-links a:hover, .nav-links a.active { color: #fff; background: rgba(255, 255, 255, .1); }
.nav-links a.active { box-shadow: inset 0 -2px 0 #7aa2ff; border-radius: 10px 10px 4px 4px; }
.nav-cta { background: #fff; color: var(--navy); }
.nav-cta:hover { background: #eaf0ff; color: var(--navy); box-shadow: none; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 10px; border-radius: 10px; }
.nav-toggle span { display: block; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; transition: transform .25s, opacity .25s; }
.site-header.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
#site-header:empty { display: block; height: 104px; background: var(--navy); }

@media (max-width: 960px) {
  .topbar { display: none; }
  .nav-toggle { display: block; margin-left: 4px; }
  .theme-toggle { margin-left: auto; }
  .nav-cta { display: none; }
  .nav-links { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; background: var(--navy); padding: 8px 20px 20px; border-top: 1px solid rgba(255, 255, 255, .1); display: none; box-shadow: 0 20px 30px rgba(10, 17, 87, .3); }
  .site-header.open .nav-links { display: flex; }
  .nav-links a { padding: 14px 6px; border-radius: 0; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 16px; }
  .nav-links a.active { box-shadow: none; color: #9db8ff; background: transparent; }
}

/* ---------- section umum ---------- */
.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head p { color: var(--muted); margin: 0; max-width: 620px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.page-hero { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 60%, #1b3bb3 100%); color: #fff; padding: 52px 0 56px; position: relative; overflow: hidden; }
.page-hero::after { content: ''; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(122, 162, 255, .28), transparent 70%); pointer-events: none; }
.page-hero h1 { color: #fff; font-size: clamp(28px, 4vw, 44px); margin-bottom: 10px; }
.page-hero p { color: rgba(255, 255, 255, .8); max-width: 640px; margin: 0; font-size: 17px; }
.page-hero .eyebrow { color: #9db8ff; }
.breadcrumb { font-size: 14px; color: rgba(255, 255, 255, .65); margin-bottom: 14px; }
.breadcrumb a { color: rgba(255, 255, 255, .85); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- hero beranda ---------- */
.hero { background: radial-gradient(1000px 500px at 85% -10%, rgba(80, 120, 255, .45), transparent 60%), linear-gradient(160deg, var(--navy) 0%, #0d1673 55%, #14239a 100%); color: #fff; padding: 56px 0 64px; position: relative; overflow: hidden; }
.hero { min-height: 560px; display: flex; align-items: center; }
.hero-grid { display: block; }
.hero-grid > div { max-width: 680px; }
.hero > .container { position: relative; z-index: 2; }

/* tata letak rata tengah (bawaan) */
.hero.align-tengah .hero-grid > div { max-width: 820px; margin: 0 auto; text-align: center; }
.hero.align-tengah .hero-lead { margin-left: auto; margin-right: auto; max-width: 640px; }
.hero.align-tengah .hero-search { margin: 0 auto; }
.hero.align-tengah .hero-actions, .hero.align-tengah .hero-stats { justify-content: center; }
.hero.align-tengah .hero-stats { gap: 44px; }
.search-suggest { text-align: left; }

/* foto cover dari admin: foto di belakang, gradien biru di atasnya (::before), teks paling atas */
.hero-cover { display: none; position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero.has-cover { background: var(--navy); --fx: 50%; --fy: 50%; --fz: 1; --o1: .88; --o2: .74; --o3: .45; }
.hero.has-cover .hero-cover { display: block; }
.hero-cover img { width: 100%; height: 100%; object-fit: cover; object-position: var(--fx) var(--fy);
  transform: scale(var(--fz)); transform-origin: var(--fx) var(--fy); }
.hero.has-cover::before { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  /* rata tengah: paling pekat di tengah (di belakang teks), lebih terang ke tepi */
  background:
    radial-gradient(ellipse 65% 85% at 50% 50%, rgba(10, 17, 87, var(--o1)) 0%, rgba(13, 22, 115, var(--o2)) 55%, rgba(20, 35, 154, var(--o3)) 100%); }
.hero.has-cover.align-kiri::before { background:
    radial-gradient(1000px 500px at 85% -10%, rgba(80, 120, 255, .3), transparent 60%),
    linear-gradient(90deg, rgba(10, 17, 87, calc(var(--o1) + .06)) 0%, rgba(13, 22, 115, var(--o2)) 45%, rgba(20, 35, 154, var(--o3)) 100%); }
.hero.has-cover.overlay-lembut { --o1: .8; --o2: .6; --o3: .25; }
.hero.has-cover.overlay-pekat { --o1: .94; --o2: .88; --o3: .7; }
/* di HP teks menutupi seluruh lebar: gradien atas-bawah yang lebih rata (.pv-hp = pratinjau HP di admin) */
.hero.has-cover.pv-hp::before { background: linear-gradient(180deg, rgba(10, 17, 87, calc(var(--o1) - .12)) 0%, rgba(13, 22, 115, var(--o1)) 50%, rgba(20, 35, 154, var(--o1)) 100%); }
@media (max-width: 760px) {
  .hero.has-cover::before, .hero.has-cover.align-kiri::before { background: linear-gradient(180deg, rgba(10, 17, 87, calc(var(--o1) - .12)) 0%, rgba(13, 22, 115, var(--o1)) 50%, rgba(20, 35, 154, var(--o1)) 100%); }
}
.hero h1 { color: #fff; margin-bottom: 16px; }
.hero h1 em { font-style: normal; color: #8fb0ff; }
.hero-lead { font-size: 18px; color: rgba(255, 255, 255, .8); max-width: 560px; margin-bottom: 26px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; margin-bottom: 20px; }
.hero-badge b { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 4px rgba(74, 222, 128, .2); }
.hero-search { display: flex; background: var(--card); border-radius: 999px; padding: 6px; max-width: 540px; box-shadow: var(--shadow-lg); position: relative; }
.hero-search svg { color: var(--muted); margin: 0 4px 0 14px; align-self: center; flex: none; }
.hero-search input { flex: 1; border: 0; font: 500 16px var(--font); padding: 10px 8px; outline: none; min-width: 0; color: var(--ink); background: transparent; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.hero-stats { display: flex; gap: 32px; margin-top: 34px; flex-wrap: wrap; }
.hero-stats div { font-size: 13px; color: rgba(255, 255, 255, .7); }
.hero-stats strong { display: block; font-size: 26px; color: #fff; font-weight: 800; letter-spacing: -.02em; }
.search-suggest { position: absolute; left: 0; right: 0; top: calc(100% + 8px); background: var(--card); border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden; z-index: 20; display: none; }
.search-suggest.show { display: block; }
.search-suggest a { display: flex; align-items: center; gap: 12px; padding: 10px 14px; color: var(--ink); font-weight: 600; }
.search-suggest a:hover, .search-suggest a.active { background: var(--blue-soft); }
.search-suggest img { width: 56px; height: 44px; object-fit: contain; }
.search-suggest small { display: block; color: var(--muted); font-weight: 500; }

.status-panel { background: var(--card); color: var(--text); border-radius: 22px; padding: 22px; box-shadow: var(--shadow-lg); }
.status-panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; gap: 10px; }
.status-panel-head h2 { font-size: 18px; margin: 0; display: flex; align-items: center; gap: 8px; }
.status-panel-head small { color: var(--muted); font-size: 12px; }
.status-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 4px; border-top: 1px solid var(--line); color: var(--text); }
.status-row:hover { background: var(--surface-2); color: var(--text); }
.status-row strong { display: block; color: var(--ink); font-size: 15px; }
.status-row small { display: block; color: var(--muted); font-size: 13px; }
.status-row-right { text-align: right; flex: none; }
.status-row-right small { font-size: 12px; margin-top: 3px; }
.status-panel-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; gap: 10px; flex-wrap: wrap; }
.skeleton { background: linear-gradient(90deg, var(--skel-1) 25%, var(--skel-2) 50%, var(--skel-1) 75%); background-size: 200% 100%; animation: shimmer 1.3s infinite; border-radius: 10px; height: 54px; margin: 8px 0; }
@keyframes shimmer { to { background-position: -200% 0; } }

@media (max-width: 960px) {
  .hero { padding: 40px 0 48px; min-height: 0; }
}
@media (max-width: 520px) {
  .hero-stats { gap: 18px; justify-content: space-between; flex-wrap: nowrap; }
  .hero-stats strong { font-size: 22px; }
  .hero-stats div { font-size: 12px; line-height: 1.35; }
}

/* ---------- status badge & kartu ---------- */
.status-badge { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 999px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.status-badge i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.lvl-sepi.status-badge { color: var(--sepi); background: var(--sepi-bg); }
.lvl-normal.status-badge { color: var(--normal); background: var(--normal-bg); }
.lvl-ramai.status-badge { color: var(--ramai); background: var(--ramai-bg); }
.lvl-penuh.status-badge { color: var(--penuh); background: var(--penuh-bg); }
.lvl-tutup.status-badge { color: var(--tutup); background: var(--tutup-bg); }

.status-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 20px; }
.status-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; border-top: 4px solid var(--tutup); scroll-margin-top: 120px; }
.status-card.lvl-sepi { border-top-color: var(--sepi); }
.status-card.lvl-normal { border-top-color: #f59e0b; }
.status-card.lvl-ramai { border-top-color: #f97316; }
.status-card.lvl-penuh { border-top-color: var(--penuh); }
.status-card header { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; margin-bottom: 10px; }
.status-card h3 { margin: 0 0 2px; }
.status-card header p { margin: 0; font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 4px; }
.status-detail { font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.status-queue { margin: 0 0 6px; font-size: 15px; }
.status-queue strong { font-size: 22px; color: var(--ink); }
.status-note { font-style: italic; color: var(--muted); margin-bottom: 6px; font-size: 14px; }
.status-source { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 7px; margin-bottom: 14px; }
.status-source.live { color: var(--sepi); font-weight: 600; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; animation: pulse 1.6s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .5); } 70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }
.busy-chart { display: flex; align-items: flex-end; gap: 4px; height: 84px; padding: 0 2px; border-bottom: 1px solid var(--line); }
.busy-col { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; position: relative; }
.busy-col span { display: block; background: var(--bar); border-radius: 5px 5px 2px 2px; transition: height .4s; }
.busy-col.now span { background: var(--blue); }
.busy-col small { position: absolute; bottom: -20px; left: 50%; transform: translateX(-50%); font-size: 11px; color: var(--muted); }
.busy-chart-cap { font-size: 12px; color: var(--muted); margin: 24px 0 12px; }
.status-tip { display: flex; gap: 8px; align-items: center; font-size: 14px; background: var(--blue-soft); color: var(--heading-accent); padding: 9px 12px; border-radius: 10px; margin-bottom: 10px; font-weight: 600; }
.status-tip svg { flex: none; }
.status-hours { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.status-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; }
.status-legend { display: flex; flex-wrap: wrap; gap: 10px 18px; font-size: 14px; color: var(--muted); align-items: center; }

/* ---------- aksi cepat ---------- */
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: -40px; position: relative; z-index: 2; }
.quick-card { background: var(--card); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); border: 1px solid var(--line); display: flex; gap: 14px; align-items: flex-start; color: var(--text); transition: transform .2s, box-shadow .2s, border-color .2s; }
.quick-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--line-strong); color: var(--text); }
.quick-card .quick-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--blue-soft); color: var(--accent); display: grid; place-items: center; flex: none; }
.quick-card strong { display: block; color: var(--ink); font-size: 16px; }
.quick-card span span { font-size: 14px; color: var(--muted); line-height: 1.45; display: block; }
@media (max-width: 960px) { .quick-grid { grid-template-columns: repeat(2, 1fr); margin-top: 24px; } }
@media (max-width: 520px) { .quick-grid { grid-template-columns: 1fr; gap: 10px; } .quick-card { padding: 16px; } }

/* ---------- promo carousel ---------- */
.carousel { position: relative; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); background: var(--surface-2); }
.carousel-track { display: flex; transition: transform .6s cubic-bezier(.4, 0, .2, 1); }
.carousel-track > img, .carousel-slide { flex: 0 0 100%; width: 100%; display: block; }
.carousel-track img { width: 100%; aspect-ratio: 16 / 6; object-fit: cover; }
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .9); color: var(--ink); cursor: pointer; display: grid; place-items: center; box-shadow: var(--shadow); font-size: 22px; }
.carousel-btn.prev { left: 14px; }
.carousel-btn.next { right: 14px; }
.carousel-dots { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; }
.carousel-dots button { width: 9px; height: 9px; border-radius: 99px; border: 0; background: rgba(255, 255, 255, .55); cursor: pointer; padding: 0; transition: width .3s, background .3s; }
.carousel-dots button.active { width: 26px; background: #fff; }
@media (max-width: 640px) { .carousel-track img { aspect-ratio: 16 / 8; } .carousel-btn { display: none; } }

/* ---------- kategori ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.cat-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 14px 18px; text-align: center; color: var(--text); transition: transform .2s, box-shadow .2s, border-color .2s; }
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--line-strong); color: var(--text); }
.cat-card img { width: 100%; aspect-ratio: 4/3; object-fit: contain; margin-bottom: 8px; }
.cat-card strong { display: block; color: var(--ink); font-size: 16px; }
.cat-card span { font-size: 13px; color: var(--muted); }
@media (max-width: 960px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

/* ---------- kartu motor ---------- */
.moto-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.moto-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s, border-color .2s; position: relative; }
.moto-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--line-strong); }
.moto-card .img-wrap { background: linear-gradient(180deg, var(--img-bg), var(--card)); padding: 14px 14px 0; display: block; }
.moto-card .img-wrap img { width: 100%; aspect-ratio: 560 / 492; object-fit: contain; transition: transform .35s; }
.moto-card:hover .img-wrap img { transform: scale(1.04); }
.moto-body { padding: 14px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.moto-cat { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.moto-body h3 { margin: 2px 0 6px; font-size: 18px; }
.moto-body h3 a { color: var(--ink); }
.moto-body h3 a::after { content: ''; position: absolute; inset: 0; z-index: 0; }
.moto-price { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.moto-price strong { display: block; color: var(--ink); font-size: 18px; }
.moto-specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 14px; }
.moto-specs div { background: var(--bg); border-radius: 8px; padding: 6px 8px; font-size: 11px; color: var(--muted); line-height: 1.3; }
.moto-specs b { display: block; font-size: 14px; color: var(--ink); }
.moto-actions { display: flex; gap: 8px; margin-top: auto; position: relative; z-index: 1; }
.moto-actions .btn { flex: 1; padding: 9px 10px; font-size: 14px; }
.btn-compare { border-color: var(--line); background: var(--card); color: var(--ink); }
.btn-compare:hover { border-color: var(--accent); color: var(--accent); }
.btn-compare.on { background: var(--blue-soft); border-color: var(--accent); color: var(--accent); }
.moto-swatches { display: flex; gap: 5px; margin-bottom: 10px; }
.moto-swatches i { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .15); }

/* ---------- katalog ---------- */
.catalog-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { border: 1.5px solid var(--line); background: var(--card); color: var(--text); padding: 8px 15px; border-radius: 999px; font: 600 14px var(--font); cursor: pointer; transition: all .2s; }
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip.active { background: var(--chip-active); border-color: var(--chip-active); color: #fff; }
.chip small { opacity: .65; margin-left: 4px; }
.catalog-tools { display: flex; gap: 10px; flex-wrap: wrap; }
.field { border: 1.5px solid var(--line); background: var(--card); border-radius: 12px; padding: 10px 14px; font: 500 15px var(--font); color: var(--ink); min-height: 44px; }
.field:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(29, 78, 216, .15); }
.field[aria-invalid="true"] { border-color: var(--penuh); background: var(--penuh-bg); }
.form-hint:empty { display: none; }
.search-field { position: relative; }
.search-field svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search-field .field { padding-left: 40px; width: 240px; }
.empty-state { text-align: center; padding: 60px 20px; color: var(--muted); }
.cat-group { margin-bottom: 44px; scroll-margin-top: 130px; }
.cat-group-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.cat-group-head h2 { font-size: 24px; margin: 0; }
.cat-group-head span { color: var(--muted); font-size: 15px; }
@media (max-width: 640px) {
  .catalog-tools { width: 100%; }
  .search-field { flex: 1 1 100%; }
  .search-field .field { width: 100%; }
  .catalog-tools select { flex: 1; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -20px; padding: 2px 20px 6px; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .moto-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .moto-body { padding: 10px 12px 14px; }
  .moto-body h3 { font-size: 15px; }
  .moto-price strong { font-size: 15px; }
  .moto-specs { grid-template-columns: 1fr 1fr; }
  .moto-specs div:nth-child(3) { display: none; }
  .moto-actions { flex-direction: column; gap: 6px; }
  .moto-swatches { display: none; }
}

/* ---------- keranjang bandingkan ---------- */
.compare-tray { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--card); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px rgba(15, 23, 42, .12); padding: 12px 0; animation: up .3s ease; }
@keyframes up { from { transform: translateY(100%); } }
.tray-inner { display: flex; align-items: center; gap: 18px; }
.tray-title strong { display: block; color: var(--ink); }
.tray-title span { font-size: 13px; color: var(--muted); }
.tray-slots { display: flex; gap: 10px; flex: 1; min-width: 0; }
.tray-slot { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 12px; padding: 6px 8px; font-size: 14px; font-weight: 600; color: var(--ink); height: 54px; }
.tray-slot img { width: 50px; height: 40px; object-fit: contain; flex: none; }
.tray-slot span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1; }
.tray-slot button { border: 0; background: var(--bg); width: 26px; height: 26px; border-radius: 50%; cursor: pointer; font-size: 17px; line-height: 1; flex: none; color: var(--muted); }
.tray-slot.empty { border-style: dashed; justify-content: center; color: var(--muted); font-weight: 500; }
.tray-actions { display: flex; gap: 8px; }
@media (max-width: 760px) {
  .tray-title, .tray-actions .btn-ghost { display: none; }
  .tray-inner { gap: 10px; }
  .tray-slot { height: 46px; padding: 4px; justify-content: center; }
  .tray-slot span { display: none; }
  .tray-slot.empty { font-size: 0; }
  .tray-slot.empty::before { content: '+'; font-size: 22px; }
  .tray-slot img { width: 44px; }
  .tray-slot button { position: absolute; transform: translate(26px, -18px); width: 22px; height: 22px; font-size: 14px; background: var(--card); border: 1px solid var(--line); }
  .tray-slot { position: relative; }
}

/* ---------- toast & WA mengambang ---------- */
.toast { position: fixed; left: 50%; bottom: 110px; transform: translate(-50%, 20px); background: #1e293b; color: #fff; border: 1px solid rgba(255,255,255,.12); padding: 12px 18px; border-radius: 12px; font-size: 14px; font-weight: 600; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; z-index: 80; max-width: calc(100% - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.wa-float { position: fixed; right: 20px; bottom: 20px; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 25px rgba(18, 140, 75, .35); z-index: 55; transition: transform .2s, bottom .3s; }
.wa-float svg { width: 28px; height: 28px; }
.wa-float:hover { transform: scale(1.07); color: #fff; }
body.has-tray .wa-float { bottom: 100px; }

/* ---------- detail motor ---------- */
.detail-top { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; }
.gallery { background: linear-gradient(180deg, var(--img-bg), var(--card)); border-radius: 22px; border: 1px solid var(--line); padding: 20px; position: sticky; top: 120px; }
.gallery img { width: 100%; aspect-ratio: 560/492; object-fit: contain; transition: opacity .25s; }
.swatches { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 12px; }
.swatch { width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--card); box-shadow: 0 0 0 1.5px var(--line); cursor: pointer; padding: 0; }
.swatch.active { box-shadow: 0 0 0 2.5px var(--blue); }
.color-name { text-align: center; font-weight: 600; color: var(--ink); margin-top: 10px; font-size: 15px; }
.detail-info h1 { font-size: clamp(28px, 3.6vw, 42px); margin-bottom: 6px; }
.variant-list { display: grid; gap: 8px; margin: 14px 0 18px; }
.variant { display: flex; justify-content: space-between; align-items: center; gap: 12px; border: 1.5px solid var(--line); background: var(--card); border-radius: 12px; padding: 12px 14px; cursor: pointer; text-align: left; font: inherit; color: var(--text); transition: border-color .2s, background .2s; }
.variant:hover { border-color: var(--line-strong); }
.variant.active { border-color: var(--accent); background: var(--blue-soft); }
.variant b { color: var(--ink); font-size: 15px; }
.variant span { font-weight: 700; color: var(--ink); white-space: nowrap; }
.price-note { font-size: 13px; color: var(--muted); margin-top: -8px; margin-bottom: 18px; }
.detail-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }
.key-specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.key-spec { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.key-spec small { display: block; font-size: 12px; color: var(--muted); }
.key-spec b { font-size: 18px; color: var(--ink); }
.spec-table { width: 100%; border-collapse: collapse; background: var(--card); }
.spec-group { margin-bottom: 18px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--card); }
.spec-group h3 { margin: 0; padding: 14px 18px; background: var(--surface-2); border-bottom: 1px solid var(--line); font-size: 16px; color: var(--heading-accent); }
.spec-table th, .spec-table td { text-align: left; padding: 11px 18px; border-bottom: 1px solid var(--line-soft); vertical-align: top; font-size: 15px; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-table th { width: 38%; color: var(--muted); font-weight: 600; }
.spec-table td { color: var(--ink); }
@media (max-width: 860px) {
  .detail-top { grid-template-columns: 1fr; gap: 24px; }
  .gallery { position: static; }
  .key-specs { grid-template-columns: repeat(2, 1fr); }
  .spec-table th, .spec-table td { padding: 10px 14px; font-size: 14px; }
}

/* ---------- bandingkan ---------- */
.cmp-wrap { --cols: 3; }
.cmp-head { display: grid; grid-template-columns: 220px repeat(var(--cols), 1fr); gap: 14px; position: sticky; top: 104px; z-index: 5; background: var(--bg); padding: 14px 0 10px; }
.cmp-head-label { display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding-bottom: 8px; }
.cmp-col { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; position: relative; text-align: center; min-width: 0; }
.cmp-col img { width: 100%; max-width: 220px; margin: 0 auto; aspect-ratio: 560/492; object-fit: contain; }
.cmp-col h3 { font-size: 16px; margin: 6px 0 2px; }
.cmp-col h3 a { color: var(--ink); }
.cmp-col .price { font-size: 14px; color: var(--muted); }
.cmp-col .price b { color: var(--ink); }
.cmp-remove { position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); cursor: pointer; font-size: 18px; line-height: 1; color: var(--muted); }
.cmp-remove:hover { color: var(--penuh); border-color: var(--penuh); }
.cmp-select { width: 100%; font-size: 14px; padding: 8px 10px; min-height: 40px; }
.cmp-empty { border: 2px dashed var(--line-strong); background: transparent; display: flex; flex-direction: column; justify-content: center; gap: 10px; min-height: 200px; color: var(--muted); }
.cmp-body { display: grid; gap: 18px; margin-top: 8px; }
.cmp-group { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cmp-group h3 { margin: 0; padding: 13px 18px; background: var(--surface-2); border-bottom: 1px solid var(--line); font-size: 16px; color: var(--heading-accent); }
.cmp-row { display: grid; grid-template-columns: 220px repeat(var(--cols), 1fr); gap: 14px; padding: 11px 18px; border-bottom: 1px solid var(--line-soft); font-size: 15px; align-items: start; }
.cmp-row:last-child { border-bottom: 0; }
.cmp-row > div:first-child { color: var(--muted); font-weight: 600; }
.cmp-row > div { min-width: 0; overflow-wrap: anywhere; color: var(--ink); }
.cmp-row.same { display: none; }
.cmp-wrap.show-same .cmp-row.same { display: grid; }
.cmp-row .na { color: var(--faint); }
.cmp-bar { height: 6px; background: var(--track); border-radius: 99px; margin-top: 6px; overflow: hidden; }
.cmp-bar span { display: block; height: 100%; background: var(--bar); border-radius: 99px; }
.cmp-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 4px; }
.switch { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; cursor: pointer; user-select: none; }
.switch input { appearance: none; width: 42px; height: 24px; background: var(--track-strong); border-radius: 99px; position: relative; cursor: pointer; transition: background .2s; margin: 0; }
.switch input::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; background: #fff; border-radius: 50%; transition: transform .2s; }
.switch input:checked { background: var(--blue); }
.switch input:checked::after { transform: translateX(18px); }
.popular-cmp { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.popular-cmp a { display: flex; align-items: center; gap: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; color: var(--ink); font-weight: 600; font-size: 14px; transition: border-color .2s, box-shadow .2s; }
.popular-cmp a:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.popular-cmp img { width: 54px; height: 44px; object-fit: contain; }
.popular-cmp em { font-style: normal; color: var(--muted); font-size: 12px; font-weight: 700; }
@media (max-width: 860px) {
  .cmp-head { grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); top: 68px; gap: 8px; }
  .cmp-head-label { display: none; }
  .cmp-row { grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 8px; padding: 10px 12px; font-size: 13px; }
  .cmp-row > div:first-child { grid-column: 1 / -1; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; margin-bottom: -2px; }
  .cmp-col { padding: 8px 6px; }
  .cmp-col h3 { font-size: 13px; }
  .cmp-col .price { font-size: 12px; }
  .cmp-col .cmp-select { font-size: 12px; padding: 6px; }
  .cmp-remove { width: 24px; height: 24px; font-size: 14px; top: 4px; right: 4px; }
  .cmp-group h3 { padding: 11px 12px; }
}
@media (max-width: 960px) { .cmp-head { top: 68px; } .gallery, .status-card, .loc-card, .form-card, .cat-group { scroll-margin-top: 84px; } }

/* ---------- layanan, fasilitas, lokasi ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.feature img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.feature div { padding: 16px 18px 20px; }
.feature small { font-size: 12px; font-weight: 700; color: var(--accent); letter-spacing: .06em; text-transform: uppercase; }
.feature h3 { margin: 4px 0 6px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 24px; } }
.check-list { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list svg { color: var(--sepi); flex: none; margin-top: 3px; }

.loc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.loc-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: grid; grid-template-columns: 42% 1fr; scroll-margin-top: 120px; }
.loc-card img { width: 100%; height: 100%; object-fit: cover; min-height: 240px; }
.loc-body { padding: 20px; display: flex; flex-direction: column; }
.loc-body h3 { margin: 0 0 2px; font-size: 20px; }
.loc-area { color: var(--accent); font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.loc-addr { font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.loc-status { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.loc-status small { color: var(--muted); font-size: 13px; }
.loc-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; }
@media (max-width: 1000px) { .loc-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .loc-card { grid-template-columns: 1fr; } .loc-card img { min-height: 0; aspect-ratio: 16/9; } }

/* ---------- booking form ---------- */
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 28px; box-shadow: var(--shadow); scroll-margin-top: 120px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid label { display: block; font-weight: 700; font-size: 14px; color: var(--ink); margin-bottom: 6px; }
.form-grid .field { width: 100%; }
.form-grid textarea.field { min-height: 96px; resize: vertical; }
.form-hint { font-size: 13px; color: var(--muted); margin-top: 12px; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } .form-card { padding: 20px; } }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--navy), #1b3bb3); color: #fff; border-radius: 24px; padding: 40px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; margin-bottom: 6px; }
.cta-band p { color: rgba(255, 255, 255, .8); margin: 0; max-width: 560px; }
.cta-band .btns { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 600px) { .cta-band { padding: 28px 22px; } }

/* ---------- kontak ---------- */
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; align-items: start; }
.contact-option { display: flex; align-items: center; gap: 16px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); color: var(--text); margin-bottom: 12px; transition: border-color .2s, box-shadow .2s; }
.contact-option:hover { border-color: var(--wa); box-shadow: var(--shadow); color: var(--text); }
.contact-option .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--wa-soft); color: var(--wa); display: grid; place-items: center; flex: none; }
.contact-option strong { display: block; color: var(--ink); }
.contact-option small { color: var(--muted); font-size: 14px; }
.contact-option .go { margin-left: auto; color: var(--muted); }
.qr-card { text-align: center; padding: 28px; }
.qr-card img { width: 200px; margin: 14px auto; image-rendering: pixelated; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- sparepart ---------- */
.parts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.part { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; text-align: center; }
.part img { width: 100%; aspect-ratio: 1; object-fit: contain; margin-bottom: 10px; }
.part small { font-size: 12px; font-weight: 700; color: var(--accent); letter-spacing: .06em; }
.part h3 { margin: 4px 0 0; font-size: 17px; }

/* ---------- promo ---------- */
.promo-hero-card { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: var(--card); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); }
.promo-hero-card img { width: 100%; height: 100%; object-fit: cover; }
.promo-hero-card div { padding: 34px; display: flex; flex-direction: column; justify-content: center; }
.promo-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.promo-list img { width: 100%; aspect-ratio: 16/6; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
@media (max-width: 760px) { .promo-hero-card { grid-template-columns: 1fr; } .promo-hero-card div { padding: 22px; } }

/* ---------- footer ---------- */
.site-footer { background: var(--footer-bg); color: rgba(255, 255, 255, .72); padding: 56px 0 0; margin-top: 40px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 32px; padding-bottom: 40px; }
.footer-brand img { height: 33px; width: auto; margin-bottom: 14px; }
.footer-brand p { max-width: 320px; }
.site-footer h3 { color: #fff; font-size: 15px; margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: rgba(255, 255, 255, .78); }
.site-footer a:hover { color: #fff; }
.footer-cabang small { display: block; font-size: 13px; color: rgba(255, 255, 255, .5); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 18px 20px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; color: rgba(255, 255, 255, .5); }
.site-footer .btn-wa { color: #fff; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- galeri Instagram ---------- */
.ig-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.ig-profile { display: flex; align-items: center; gap: 14px; color: var(--text); }
.ig-profile:hover { color: var(--text); }
.ig-profile img, .ig-avatar-fallback { width: 56px; height: 56px; border-radius: 50%; flex: none; padding: 2px; background: linear-gradient(45deg, #f9ce34, #ee2a7b, #6228d7); object-fit: cover; }
.ig-avatar-fallback { display: grid; place-items: center; color: #fff; }
.ig-profile .eyebrow { margin-bottom: 0; }
.ig-profile strong { display: block; font-size: 20px; color: var(--ink); letter-spacing: -.01em; }
.ig-profile small { display: block; color: var(--muted); font-size: 14px; }
.ig-head .btn svg { width: 18px; height: 18px; }
.ig-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.ig-tile { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; background: var(--surface-2); }
.ig-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.ig-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 12px; color: #fff; background: linear-gradient(180deg, rgba(10, 15, 40, .55), rgba(10, 15, 40, .2) 40%, rgba(10, 15, 40, .8)); opacity: 0; transition: opacity .25s; }
.ig-overlay svg { align-self: flex-end; }
.ig-overlay span { font-size: 13px; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ig-tile:hover img, .ig-tile:focus-visible img { transform: scale(1.05); }
.ig-tile:hover .ig-overlay, .ig-tile:focus-visible .ig-overlay { opacity: 1; }
@media (max-width: 960px) { .ig-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) {
  .ig-grid { gap: 4px; margin: 0 -20px; }
  .ig-tile { border-radius: 0; aspect-ratio: 1; }
  .ig-overlay { display: none; }
  .ig-head .btn { width: 100%; }
}
.footer-social { display: flex; gap: 8px; flex-wrap: wrap; }
.site-footer .btn-light-outline { color: #fff; }

/* ---------- pengumuman dari admin ---------- */
.announce { background: #fbbf24; color: #1f1300; text-align: center; font-size: 14px; font-weight: 700; padding: 8px 16px; }
.announce a, .announce a:hover { color: #1f1300; text-decoration: underline; }
.promo-item { display: block; color: var(--text); }
.promo-item:hover { color: var(--text); }
.promo-item strong { display: block; color: var(--ink); margin-top: 10px; font-size: 16px; }
.promo-item span { display: block; color: var(--muted); font-size: 14px; margin-top: 2px; }
.btn-ic { display: inline-flex; }
.btn-ic svg { width: 18px; height: 18px; }
@media (max-width: 520px) { .hero.align-tengah .hero-stats { gap: 18px; } }
@media (min-width: 761px) { .hero.align-tengah h1 em { display: block; } }

/* ---------- trade in: infografik langkah ---------- */
.page-hero .hero-actions { margin-top: 22px; }
.ti-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; position: relative; counter-reset: none; }
/* garis penghubung di belakang lingkaran nomor */
.ti-steps::before { content: ''; position: absolute; top: 44px; left: 10%; right: 10%; height: 3px; background: linear-gradient(90deg, var(--line-strong), var(--accent)); border-radius: 3px; }
.ti-step { position: relative; text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 16px 20px; box-shadow: var(--shadow); margin-top: 18px; }
.ti-badge { position: relative; width: 76px; height: 76px; margin: -18px auto 12px; }
.ti-ic { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-soft); color: var(--accent); border: 4px solid var(--card); box-shadow: var(--shadow); }
.ti-num { position: absolute; top: -4px; right: -6px; width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; font-size: 14px; display: grid; place-items: center; z-index: 1; border: 2px solid var(--card); }
:root[data-theme="dark"] .ti-num { background: var(--blue); }
.ti-step h3 { font-size: 17px; margin-bottom: 6px; }
.ti-step p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.ti-docs { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.ti-docs li { font-size: 13px; font-weight: 600; background: var(--surface-2); border: 1px solid var(--line); border-radius: 99px; padding: 4px 10px; color: var(--ink); }
.ti-docs small { font-weight: 500; color: var(--muted); }
.ti-final .ti-ic { background: var(--blue); color: #fff; }
.ti-final { border-color: var(--accent); }
@media (max-width: 960px) {
  /* HP & tablet: garis waktu tegak */
  .ti-steps { grid-template-columns: 1fr; gap: 14px; max-width: 560px; margin: 0 auto; }
  .ti-steps::before { top: 30px; bottom: 30px; left: 37px; right: auto; width: 3px; height: auto; background: linear-gradient(180deg, var(--line-strong), var(--accent)); }
  .ti-step { display: grid; grid-template-columns: 56px 1fr; gap: 4px 14px; text-align: left; padding: 14px 16px; margin-top: 0; align-items: start; }
  .ti-badge { width: 56px; height: 56px; margin: 0; grid-row: span 2; }
  .ti-ic { width: 56px; height: 56px; }
  .ti-ic svg { width: 24px; height: 24px; }
  .ti-num { width: 24px; height: 24px; font-size: 12px; top: -6px; right: -8px; }
  .ti-step h3 { margin: 4px 0 2px; }
  .ti-docs { justify-content: flex-start; }
}
.nav-links a { white-space: nowrap; }
@media (min-width: 961px) and (max-width: 1180px) {
  .nav-inner { gap: 14px; }
  .nav-links { gap: 0; }
  .nav-links a { padding: 9px 10px; font-size: 14px; }
}

/* ---------- keunggulan bengkel ---------- */
.split-top { align-items: start; }
.servis-foto { border-radius: 22px; box-shadow: var(--shadow); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; max-height: 620px; }
.keunggulan { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; margin: 22px 0 8px; }
.kg-item { display: flex; gap: 14px; align-items: flex-start; }
.kg-ic { width: 46px; height: 46px; border-radius: 12px; background: var(--navy); color: #fff; display: grid; place-items: center; flex: none; }
:root[data-theme="dark"] .kg-ic { background: var(--blue); }
.kg-item strong { display: block; color: var(--ink); font-size: 16px; line-height: 1.3; }
.kg-item small { display: block; color: var(--muted); font-size: 14px; line-height: 1.45; margin-top: 2px; }
.kg-note { grid-column: 1 / -1; font-size: 12px; color: var(--muted); margin: 0; }
@media (max-width: 860px) { .servis-foto { aspect-ratio: 16 / 10; } }
@media (max-width: 520px) { .keunggulan { grid-template-columns: 1fr; gap: 14px; } }

/* ---------- kontak ---------- */
.kontak-aside { position: sticky; top: 120px; }
.kontak-aside img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 22px; box-shadow: var(--shadow); }
.cab-kontak small a { font-weight: 600; }
@media (max-width: 860px) { .kontak-aside { position: static; } .kontak-aside img { aspect-ratio: 16 / 10; } }

/* ---------- perbandingan fitur antar varian (detail motor) ---------- */
.fitur-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); }
.fitur-wrap:focus-visible { outline: 3px solid var(--blue-2); outline-offset: 2px; }
.fitur-tabel { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 640px; }
.fitur-tabel thead th { background: var(--navy); color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .02em; padding: 14px 12px; text-align: center; vertical-align: bottom; line-height: 1.3; }
.fitur-tabel thead th:first-child { text-align: left; }
.fitur-tabel tbody th { text-align: left; font-size: 13px; font-weight: 700; color: var(--ink); letter-spacing: .01em; padding: 12px 14px; width: 34%; min-width: 210px; line-height: 1.35; }
.fitur-tabel tbody th small { display: block; font-weight: 500; color: var(--muted); font-size: 12px; margin-top: 2px; }
.fitur-tabel td { text-align: center; padding: 12px 10px; vertical-align: middle; font-size: 13px; }
.fitur-tabel td small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; line-height: 1.3; }
.fitur-tabel tbody tr:nth-child(even) th, .fitur-tabel tbody tr:nth-child(even) td { background: var(--surface-2); }
.fitur-tabel tbody tr + tr th, .fitur-tabel tbody tr + tr td { border-top: 1px solid var(--line-soft); }
/* kolom nama fitur tetap terlihat saat tabel digeser */
.fitur-tabel th:first-child { position: sticky; left: 0; z-index: 1; background: var(--card); box-shadow: 1px 0 0 var(--line); }
.fitur-tabel thead th:first-child { background: var(--navy); }
.ft-ya { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--blue-soft); color: var(--accent); }
.ft-tidak { color: var(--faint); font-size: 18px; font-weight: 700; }
.ft-baru { display: inline-block; font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: #fbbf24; color: #1f1300; padding: 2px 7px; border-radius: 99px; margin-right: 6px; vertical-align: 1px; }
@media (max-width: 640px) {
  /* lebar mengikuti jumlah varian: 3 varian muat di layar HP, lebih dari itu bisa digeser */
  .fitur-tabel { min-width: calc(136px + var(--n, 3) * 70px); }
  .fitur-tabel tbody th { min-width: 136px; width: 136px; font-size: 11px; padding: 10px 8px; }
  .fitur-tabel thead th { font-size: 11px; padding: 10px 4px; }
  .fitur-tabel td { font-size: 11px; padding: 10px 4px; }
  .ft-ya { width: 26px; height: 26px; }
  .ft-baru { display: block; width: max-content; margin: 0 0 3px; }
}
