/*!
 * SC Showroom HTML — style situs publik
 * Template SC Showroom oleh sharecode.id — MIT License
 * Ganti warna & font cukup di blok :root di bawah.
 */
@font-face { font-family: 'Barlow Condensed'; font-weight: 500; font-style: normal; font-display: swap; src: url(../fonts/barlow-condensed-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-weight: 600; font-style: normal; font-display: swap; src: url(../fonts/barlow-condensed-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-weight: 700; font-style: normal; font-display: swap; src: url(../fonts/barlow-condensed-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-weight: 400; font-style: normal; font-display: swap; src: url(../fonts/plus-jakarta-sans-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-weight: 500; font-style: normal; font-display: swap; src: url(../fonts/plus-jakarta-sans-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-weight: 600; font-style: normal; font-display: swap; src: url(../fonts/plus-jakarta-sans-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-weight: 700; font-style: normal; font-display: swap; src: url(../fonts/plus-jakarta-sans-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-weight: 800; font-style: normal; font-display: swap; src: url(../fonts/plus-jakarta-sans-latin-800-normal.woff2) format('woff2'); }

:root {
  /* Tema terang biru–putih. Ganti warna cukup di sini. */
  --bg: #f5f8fc;          /* latar halaman */
  --bg-2: #eaf1fb;        /* latar section selang-seling, input sekunder */
  --surface: #ffffff;     /* kartu */
  --surface-2: #eef3fa;   /* tombol ghost, kepala tabel */
  --line: #d9e2ee;        /* garis & border */
  --text: #0f1b2d;        /* teks utama (navy) */
  --muted: #475569;       /* teks sekunder */
  --navy: #0b1f3a;        /* topbar, footer, hero */
  --on-navy: #dbe7f7;     /* teks di atas navy */
  --on-navy-muted: #a9bbd6;
  --sky: #7dd3fc;         /* aksen terang di atas navy */
  --accent: #1d4ed8;      /* aksen utama biru */
  --accent-600: #1e40af;  /* hover */
  --accent-soft: rgba(29, 78, 216, .09);
  --accent-2: #0369a1;    /* aksen kedua biru langit (aman untuk teks) */
  --promo: #f59e0b;       /* badge promo/dipesan (teks gelap di atasnya) */
  --ok: #15803d;
  --warn: #b45309;
  --danger: #dc2626;
  --info: #0369a1;
  --wa: #15803d;
  --font-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 18px 40px -20px rgba(15, 27, 45, .28);
  --shadow-sm: 0 1px 2px rgba(15, 27, 45, .05), 0 4px 14px -8px rgba(15, 27, 45, .12);
  --container: 1240px;
  --header-h: 72px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: 15.5px; line-height: 1.65; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.1; margin: 0 0 .5em; letter-spacing: .3px; }
h1 { font-size: clamp(2.3rem, 5vw, 4.2rem); text-transform: uppercase; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.7rem); text-transform: uppercase; }
h3 { font-size: 1.45rem; }
h4 { font-size: 1.15rem; }
small, .muted { color: var(--muted); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 999; background: var(--accent); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 12px; color: #fff; }
.icon { width: 1.15em; height: 1.15em; flex: none; display: inline-block; vertical-align: -.2em; }
.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-alt { background: var(--bg-2); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 34px; flex-wrap: wrap; }
.section-head p { color: var(--muted); max-width: 560px; margin: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; color: var(--accent); font-size: .95rem; margin-bottom: 10px; }
.eyebrow::before { content: ''; width: 26px; height: 2px; background: currentColor; }
.text-accent { color: var(--accent); }
.grid { display: grid; gap: 24px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
.flex { display: flex; gap: 12px; align-items: center; }
.wrap { flex-wrap: wrap; }
.between { justify-content: space-between; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 28px; } .mt-4 { margin-top: 44px; }
.mb-0 { margin-bottom: 0; } .mb-2 { margin-bottom: 16px; }
.center { text-align: center; }

/* ---------- Tombol ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 999px; border: 1.5px solid transparent; font-weight: 700; font-size: .95rem; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; white-space: nowrap; line-height: 1.2; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-600); color: #fff; }
.btn-outline { border-color: var(--line); background: transparent; color: var(--text); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-light { background: #fff; color: var(--accent-600); }
.btn-light:hover { color: var(--accent); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #166534; color: #fff; }
.btn-ghost { background: var(--surface-2); color: var(--text); }
.btn-ghost:hover { background: var(--line); color: var(--text); }
.btn-sm { padding: 8px 14px; font-size: .85rem; }
.btn-lg { padding: 15px 28px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-icon { width: 40px; height: 40px; padding: 0; border-radius: 50%; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--accent); }
.link-arrow .icon { transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Header ---------- */
.topbar { background: var(--navy); color: var(--on-navy); font-size: .82rem; }
.topbar .container { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; flex-wrap: wrap; }
.topbar a:hover { color: var(--sky); }
.topbar .flex { gap: 18px; }
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; gap: 22px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.45rem; letter-spacing: .5px; text-transform: uppercase; line-height: 1; }
.brand img { width: 40px; height: 40px; }
.brand small { display: block; font-family: var(--font-body); text-transform: none; font-size: .68rem; letter-spacing: 1.5px; color: var(--muted); font-weight: 600; margin-top: 3px; }
.brand:hover { color: var(--text); }
.nav { margin-left: auto; }
.nav > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; align-items: center; }
.nav a, .nav button.nav-drop { display: flex; align-items: center; gap: 4px; padding: 9px 12px; border-radius: 8px; font-weight: 600; font-size: .92rem; background: none; border: 0; cursor: pointer; color: var(--text); }
.nav a:hover, .nav button.nav-drop:hover, .nav a[aria-current="page"] { color: var(--accent); }
.nav a[aria-current="page"] { background: var(--accent-soft); }
.nav li { position: relative; }
.submenu { position: absolute; top: calc(100% + 8px); left: 0; min-width: 220px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 8px; list-style: none; margin: 0; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; }
.has-sub.open .submenu, .has-sub:focus-within .submenu { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) { .has-sub:hover .submenu { opacity: 1; visibility: visible; transform: none; } }
.submenu a { padding: 9px 12px; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn { position: relative; width: 42px; height: 42px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--surface-2); border: 0; cursor: pointer; color: var(--text); }
.icon-btn:hover { background: var(--accent); color: #fff; }
.badge-count { position: absolute; top: -3px; right: -3px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--accent); color: #fff; font-size: .7rem; font-weight: 800; display: grid; place-items: center; border: 2px solid var(--bg); }
.badge-count:empty, .badge-count[data-n="0"] { display: none; }
.menu-toggle { display: none; }

/* Menu mobile */
.mobile-nav { position: fixed; inset: 0; z-index: 200; background: rgba(11, 31, 58, .55); opacity: 0; visibility: hidden; transition: .25s; }
.mobile-nav.open { opacity: 1; visibility: visible; }
.mobile-nav .panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(86vw, 360px); background: var(--bg-2); padding: 20px; overflow-y: auto; transform: translateX(100%); transition: transform .3s; display: flex; flex-direction: column; gap: 6px; }
.mobile-nav.open .panel { transform: none; }
.mobile-nav .panel a { padding: 11px 12px; border-radius: 10px; font-weight: 600; display: flex; gap: 10px; align-items: center; }
.mobile-nav .panel a:hover, .mobile-nav .panel a[aria-current="page"] { background: var(--surface-2); color: var(--accent); }
.mobile-nav .panel .group-label { font-size: .72rem; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin: 14px 12px 2px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 60px 0 120px; background: radial-gradient(900px 480px at 85% 25%, rgba(56, 189, 248, .35), transparent 60%), linear-gradient(135deg, #0b1f3a 0%, #13336b 55%, #1d4ed8 100%); color: #fff; }
.hero::after { content: ''; position: absolute; inset: auto 0 0 0; height: 160px; background: repeating-linear-gradient(90deg, transparent 0 60px, rgba(255, 255, 255, .05) 60px 120px); clip-path: polygon(0 70%, 100% 30%, 100% 100%, 0 100%); }
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: 30px; align-items: center; }
.hero h1 span { color: var(--accent); display: block; }
.hero p.lead { font-size: 1.1rem; color: var(--on-navy); max-width: 520px; }
.hero-car { position: relative; }
.hero-car img { width: 115%; max-width: none; margin-left: -6%; filter: drop-shadow(0 30px 30px rgba(3, 10, 30, .45)); }
.hero-stats { display: flex; gap: 30px; margin-top: 28px; flex-wrap: wrap; }
.hero-stats strong { display: block; font-family: var(--font-display); font-size: 2.3rem; line-height: 1; color: #fff; }
.hero-stats span { font-size: .85rem; color: var(--on-navy-muted); }
.quick-search { position: relative; z-index: 3; margin-top: -70px; }
.quick-search form { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px; display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 14px; align-items: end; box-shadow: var(--shadow); }
.qs-tabs { display: flex; gap: 6px; margin-bottom: 12px; }
.qs-tabs button { background: var(--surface-2); border: 0; padding: 8px 16px; border-radius: 999px; font-weight: 700; font-size: .85rem; cursor: pointer; color: var(--muted); }
.qs-tabs button[aria-pressed="true"] { background: var(--accent); color: #fff; }

/* ---------- Form ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .label { font-size: .82rem; font-weight: 700; color: var(--text); }
.field .hint { font-size: .78rem; color: var(--muted); }
.input, select.input, textarea.input { width: 100%; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 11px 13px; font-size: .95rem; transition: border-color .2s, box-shadow .2s; }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 52%, calc(100% - 13px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 34px; }
textarea.input { min-height: 110px; resize: vertical; }
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.input.is-invalid, .was-validated .input:invalid { border-color: var(--danger); }
.err { color: var(--danger); font-size: .78rem; display: none; }
.was-validated .input:invalid ~ .err, .input.is-invalid ~ .err { display: block; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--accent); margin-top: 3px; flex: none; }
input[type="range"] { width: 100%; accent-color: var(--accent); }
.form-success { display: none; padding: 18px; border-radius: 12px; background: #f0fdf4; border: 1px solid #86efac; color: #14532d; gap: 12px; align-items: flex-start; }
.form-success.show { display: flex; }

/* ---------- Kartu ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.card-pad { padding: 24px; }
.car-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, border-color .25s, box-shadow .25s; position: relative; }
.car-card:hover { transform: translateY(-4px); border-color: rgba(29, 78, 216, .45); box-shadow: var(--shadow); }
.car-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #e6edf6; }
.car-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.car-card:hover .car-media img { transform: scale(1.05); }
.car-badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.tag { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; font-size: .72rem; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; background: rgba(15, 27, 45, .82); color: #fff; }
.tag-accent { background: var(--accent); }
.tag-ok { background: var(--ok); }
.tag-warn { background: var(--promo); color: #1a1300; }
.tag-new { background: var(--accent-2); color: #fff; }
.tag-soft { background: var(--surface-2); color: var(--text); text-transform: none; letter-spacing: 0; font-weight: 600; }
.car-tools { position: absolute; top: 10px; right: 10px; display: flex; flex-direction: column; gap: 6px; }
.car-tools button { width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--text); display: grid; place-items: center; cursor: pointer; transition: .2s; box-shadow: 0 2px 6px rgba(15, 27, 45, .18); }
.car-tools button:hover { background: var(--accent); color: #fff; }
.car-tools button[aria-pressed="true"] { background: var(--accent); color: #fff; }
.car-tools button[aria-pressed="true"] .icon-heart { fill: currentColor; }
.car-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.car-title { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; line-height: 1.1; margin: 0; }
.car-title a::after { content: ''; position: absolute; inset: 0; z-index: 0; }
.car-tools, .car-actions { z-index: 2; }
.car-variant { color: var(--muted); font-size: .85rem; margin-top: -4px; }
.car-specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 10px; font-size: .82rem; color: #334155; padding: 10px 0; border-top: 1px dashed var(--line); border-bottom: 1px dashed var(--line); }
.car-specs span { display: flex; align-items: center; gap: 6px; }
.car-specs .icon { color: var(--accent); }
.price { font-family: var(--font-display); font-weight: 700; font-size: 1.65rem; color: var(--text); line-height: 1; }
.price-old { color: var(--muted); text-decoration: line-through; font-size: .85rem; }
.price-row { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-top: auto; }
.cicil { font-size: .8rem; color: var(--accent-2); font-weight: 600; }
.car-sold { position: absolute; inset: 0; background: rgba(15, 27, 45, .6); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-size: 1.6rem; letter-spacing: 3px; text-transform: uppercase; }

/* Tampilan list katalog */
.car-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.car-grid.is-list { grid-template-columns: 1fr; }
.car-grid.is-list .car-card { flex-direction: row; }
.car-grid.is-list .car-media { width: 340px; flex: none; aspect-ratio: auto; min-height: 210px; }
.car-grid.is-list .car-specs { grid-template-columns: repeat(4, auto); justify-content: start; gap: 6px 22px; }

/* Kategori tipe body */
.type-card { display: flex; flex-direction: column; gap: 10px; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: .25s; position: relative; overflow: hidden; }
.type-card:hover { border-color: var(--accent); color: var(--text); transform: translateY(-3px); }
.type-card .ico { width: 52px; height: 52px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.type-card .ico .icon { width: 26px; height: 26px; }
.type-card h3 { margin: 0; font-size: 1.35rem; }
.type-card p { margin: 0; color: var(--muted); font-size: .85rem; }
.type-card .count { font-size: .8rem; font-weight: 700; color: var(--accent-2); }

/* Promo */
.promo-card { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; }
.promo-card img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.promo-card .body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.promo-card h3 { margin: 0; }
.promo-band { border-radius: 22px; overflow: hidden; display: grid; grid-template-columns: 1.1fr 1fr; background: linear-gradient(115deg, var(--accent) 0%, #0b1f3a 100%); align-items: center; }
.promo-band .txt { padding: clamp(28px, 5vw, 56px); }
.promo-band h2 { color: #fff; }
.promo-band p { color: #dbeafe; }
.promo-band img { height: 100%; object-fit: cover; }

/* Keunggulan */
.feature { display: flex; gap: 16px; padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.feature .ico { width: 48px; height: 48px; flex: none; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; }
.feature h3 { font-size: 1.25rem; margin-bottom: 4px; }
.feature p { margin: 0; color: var(--muted); font-size: .9rem; }

/* Simulasi kredit */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.calc-result { background: linear-gradient(160deg, #ffffff, #eaf1fb); box-shadow: var(--shadow-sm); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.calc-result .big { font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 3.3rem); font-weight: 700; color: var(--accent); line-height: 1; }
.calc-row { display: flex; justify-content: space-between; gap: 10px; font-size: .92rem; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.calc-row span:first-child { color: var(--muted); }
.range-val { display: flex; justify-content: space-between; font-size: .85rem; }
.range-val output { font-weight: 800; color: var(--accent-2); }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg button { padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: transparent; cursor: pointer; font-weight: 700; font-size: .85rem; }
.seg button[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table.table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.table th, .table td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table th { background: var(--surface-2); font-size: .78rem; text-transform: uppercase; letter-spacing: .8px; color: var(--muted); }
.table tr:last-child td { border-bottom: 0; }
.table td.num, .table th.num { text-align: right; }

/* Testimoni */
.testi { padding: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; gap: 14px; height: 100%; }
.testi .q { color: var(--accent); }
.testi .q .icon { width: 30px; height: 30px; }
.testi p { margin: 0; color: #334155; }
.stars { display: flex; gap: 2px; color: #d97706; }
.stars .icon { width: 16px; height: 16px; fill: currentColor; }
.stars .off { color: var(--line); }
.person { display: flex; gap: 12px; align-items: center; margin-top: auto; }
.avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-family: var(--font-display); font-size: 1.15rem; color: #fff; background: var(--accent); flex: none; }
.person strong { display: block; line-height: 1.2; }
.person small { font-size: .8rem; }
.slider { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; scrollbar-width: thin; }
.slider > * { scroll-snap-align: start; }

/* Berita */
.post-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: .25s; position: relative; }
.post-card:hover { border-color: rgba(29, 78, 216, .45); transform: translateY(-3px); }
.post-card img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.post-card .body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-card h3 { font-size: 1.35rem; margin: 0; }
.post-card h3 a::after { content: ''; position: absolute; inset: 0; }
.meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: .8rem; color: var(--muted); }
.meta span { display: inline-flex; gap: 5px; align-items: center; }

/* CTA */
.cta { position: relative; overflow: hidden; border-radius: 24px; padding: clamp(32px, 6vw, 64px); background: radial-gradient(600px 300px at 90% 10%, rgba(56, 189, 248, .25), transparent 60%), linear-gradient(120deg, #e6efff, #f5f8fc); border: 1px solid var(--line); display: grid; grid-template-columns: 1.3fr 1fr; gap: 30px; align-items: center; }
.cta img { filter: drop-shadow(0 20px 30px rgba(15, 27, 45, .25)); }
.cta-steps { display: flex; gap: 18px; flex-wrap: wrap; margin: 18px 0 24px; }
.cta-steps span { display: flex; gap: 8px; align-items: center; font-weight: 600; font-size: .9rem; }
.cta-steps b { width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: .8rem; }

/* Page hero (halaman dalam) */
.page-hero { padding: 46px 0 40px; background: radial-gradient(800px 300px at 90% 0%, rgba(56, 189, 248, .22), transparent 60%), linear-gradient(180deg, #e6efff, var(--bg)); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); margin-bottom: 8px; }
.page-hero p { color: var(--muted); max-width: 640px; margin: 0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 14px; font-size: .82rem; color: var(--muted); }
.breadcrumb li + li::before { content: '/'; margin-right: 6px; opacity: .5; }
.breadcrumb a:hover { color: var(--accent); }

/* Katalog */
.catalog { display: grid; grid-template-columns: 290px 1fr; gap: 28px; align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 16px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 18px; max-height: calc(100vh - var(--header-h) - 32px); overflow-y: auto; }
.filters h2 { font-size: 1.4rem; margin: 0; }
.filter-group { display: flex; flex-direction: column; gap: 8px; }
.filter-group > .label { text-transform: uppercase; letter-spacing: 1px; font-size: .74rem; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; border: 1.5px solid var(--line); background: transparent; font-size: .82rem; font-weight: 600; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip:has(input:checked), .chip[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.chip:has(input:focus-visible) { outline: 3px solid var(--accent-2); outline-offset: 2px; }
.range2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.toolbar .flex { gap: 8px; }
.view-toggle { display: flex; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.view-toggle button { border: 0; background: transparent; width: 38px; height: 34px; border-radius: 999px; cursor: pointer; display: grid; place-items: center; color: var(--muted); }
.view-toggle button[aria-pressed="true"] { background: var(--accent); color: #fff; }
.active-filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.active-filters .chip { border-color: var(--accent); color: var(--accent); }
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }
.pagination button { min-width: 40px; height: 40px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; font-weight: 700; display: grid; place-items: center; }
.pagination button[aria-current="page"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.pagination button:disabled { opacity: .4; cursor: not-allowed; }
.empty { text-align: center; padding: 50px 20px; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); }
.empty .icon { width: 44px; height: 44px; margin: 0 auto 10px; color: var(--accent); }
.filter-open { display: none; }

/* Detail mobil */
.detail { display: grid; grid-template-columns: 1.45fr 1fr; gap: 30px; align-items: start; }
.gallery-main { position: relative; border-radius: var(--radius); overflow: hidden; background: #e6edf6; aspect-ratio: 16 / 10; cursor: zoom-in; border: 1px solid var(--line); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-main .zoom { position: absolute; right: 12px; bottom: 12px; }
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }
.thumbs button { padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; background: none; aspect-ratio: 16 / 10; }
.thumbs button img { width: 100%; height: 100%; object-fit: cover; opacity: .65; transition: .2s; }
.thumbs button[aria-current="true"] { border-color: var(--accent); }
.thumbs button[aria-current="true"] img, .thumbs button:hover img { opacity: 1; }
.summary { position: sticky; top: calc(var(--header-h) + 16px); display: flex; flex-direction: column; gap: 16px; }
.summary h1 { font-size: clamp(1.9rem, 3.5vw, 2.7rem); margin: 0; }
.quick-specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.quick-specs div { background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; padding: 10px; text-align: center; font-size: .8rem; color: var(--muted); }
.quick-specs strong { display: block; color: var(--text); font-size: .95rem; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 20px; overflow-x: auto; }
.tabs button { border: 0; background: none; padding: 12px 16px; font-weight: 700; cursor: pointer; color: var(--muted); border-bottom: 3px solid transparent; white-space: nowrap; }
.tabs button[aria-selected="true"] { color: var(--text); border-color: var(--accent); }
.spec-table { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 26px; }
.spec-table div { display: flex; justify-content: space-between; gap: 10px; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: .92rem; }
.spec-table div span:first-child { color: var(--muted); }
.spec-table div span:last-child { font-weight: 600; text-align: right; }
.feat-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.feat-list li { display: flex; gap: 8px; align-items: center; font-size: .9rem; padding: 10px 12px; background: var(--bg-2); border-radius: 10px; border: 1px solid var(--line); }
.feat-list .icon { color: var(--ok); }
.inspect { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.inspect .card { padding: 18px; }
.inspect ul { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-direction: column; gap: 7px; font-size: .88rem; }
.inspect li { display: flex; gap: 8px; align-items: center; }
.inspect li .icon { color: var(--ok); }
.score { display: flex; align-items: center; gap: 18px; padding: 18px; border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line); margin-bottom: 16px; }
.score-ring { --p: 90; width: 84px; height: 84px; border-radius: 50%; background: conic-gradient(var(--ok) calc(var(--p) * 1%), var(--line) 0); display: grid; place-items: center; flex: none; }
.score-ring span { width: 66px; height: 66px; border-radius: 50%; background: var(--bg-2); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 22px; border-left: 2px solid var(--line); display: flex; flex-direction: column; gap: 18px; }
.timeline li { position: relative; }
.timeline li::before { content: ''; position: absolute; left: -30px; top: 5px; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); border: 3px solid var(--bg); }
.timeline strong { display: block; }
.sales-box { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); }

/* Lightbox & modal */
.lightbox { position: fixed; inset: 0; z-index: 400; background: rgba(6, 15, 30, .95); display: none; align-items: center; justify-content: center; padding: 50px 70px; }
.lightbox.open { display: flex; }
.lightbox figure { margin: 0; max-width: 1100px; width: 100%; text-align: center; }
.lightbox img { max-height: 78vh; margin: 0 auto; border-radius: 10px; }
.lightbox figcaption { color: var(--on-navy); margin-top: 12px; font-size: .9rem; }
.lb-btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer; display: grid; place-items: center; }
.lb-btn:hover { background: var(--accent); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.modal { position: fixed; inset: 0; z-index: 300; background: rgba(11, 31, 58, .6); display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.open { display: flex; }
.modal-box { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; width: min(560px, 100%); max-height: 90vh; overflow-y: auto; padding: 24px; position: relative; }
.modal-close { position: absolute; top: 12px; right: 12px; }

/* Bandingkan */
.compare-table { width: 100%; border-collapse: separate; border-spacing: 0; }
.compare-table th, .compare-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; font-size: .9rem; }
.compare-table th { width: 200px; color: var(--muted); font-weight: 600; background: var(--bg-2); position: sticky; left: 0; }
.compare-table td { min-width: 230px; }
.compare-table .best { color: var(--ok); font-weight: 700; }
.compare-head img { border-radius: 10px; margin-bottom: 10px; aspect-ratio: 16/10; object-fit: cover; }
.compare-bar { position: fixed; left: 50%; bottom: 18px; transform: translate(-50%, 140%); z-index: 150; background: var(--surface); border: 1px solid var(--accent); border-radius: 999px; padding: 8px 8px 8px 20px; display: flex; gap: 14px; align-items: center; box-shadow: var(--shadow); transition: transform .3s; font-size: .9rem; font-weight: 600; }
.compare-bar.show { transform: translate(-50%, 0); }

/* Tim sales */
.sales-card { text-align: center; padding: 26px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; gap: 10px; align-items: center; }
.sales-card .avatar { width: 92px; height: 92px; font-size: 2rem; border: 4px solid var(--bg-2); box-shadow: 0 0 0 2px var(--accent); }
.sales-card h3 { margin: 0; }

/* Galeri */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery-item { position: relative; border-radius: 12px; overflow: hidden; border: 0; padding: 0; cursor: zoom-in; background: #e6edf6; aspect-ratio: 16/11; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item span { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 10px; font-size: .82rem; font-weight: 600; text-align: left; background: linear-gradient(transparent, rgba(11, 31, 58, .88)); color: #fff; }
.video-card { position: relative; border-radius: 14px; overflow: hidden; background: #000; aspect-ratio: 16/9; border: 1px solid var(--line); }
.video-card button { position: absolute; inset: 0; border: 0; padding: 0; cursor: pointer; background: none; color: #fff; }
.video-card img { width: 100%; height: 100%; object-fit: cover; opacity: .75; }
.video-card .play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 70px; height: 70px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(29, 78, 216, .25); }
.video-card .vt { position: absolute; left: 14px; bottom: 12px; right: 14px; text-align: left; font-weight: 700; text-shadow: 0 2px 6px #000; }
.video-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* FAQ */
.accordion { display: flex; flex-direction: column; gap: 10px; }
.acc-item { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.acc-item h3 { margin: 0; font-family: var(--font-body); font-size: 1rem; font-weight: 700; }
.acc-btn { width: 100%; text-align: left; padding: 16px 18px; border: 0; background: none; cursor: pointer; display: flex; justify-content: space-between; gap: 14px; align-items: center; font-weight: 700; }
.acc-btn .icon { transition: transform .25s; color: var(--accent); }
.acc-btn[aria-expanded="true"] .icon { transform: rotate(180deg); }
.acc-panel { padding: 0 18px 18px; color: #334155; }

/* Multi-langkah */
.steps { display: flex; gap: 8px; margin-bottom: 26px; counter-reset: s; }
.steps li { flex: 1; list-style: none; position: relative; padding-top: 44px; font-size: .82rem; font-weight: 700; color: var(--muted); text-align: center; }
.steps li::before { counter-increment: s; content: counter(s); position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); border: 2px solid var(--line); font-size: .9rem; }
.steps li::after { content: ''; position: absolute; top: 16px; left: calc(50% + 22px); right: calc(-50% + 22px); height: 2px; background: var(--line); }
.steps li:last-child::after { display: none; }
.steps li.done, .steps li.active { color: var(--text); }
.steps li.active::before, .steps li.done::before { background: var(--accent); border-color: var(--accent); color: #fff; }
.steps li.done::after { background: var(--accent); }
.step-panel[hidden] { display: none; }
.estimate { padding: 22px; border-radius: var(--radius); background: var(--accent-soft); border: 1px solid rgba(29, 78, 216, .35); }
.estimate .big { font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; color: var(--accent); }

/* Tentang */
.about-img { border-radius: 20px; overflow: hidden; border: 1px solid var(--line); }
.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat-band div { padding: 26px; text-align: center; border-right: 1px solid var(--line); background: var(--surface); }
.stat-band div:last-child { border-right: 0; }
.stat-band strong { display: block; font-family: var(--font-display); font-size: 2.6rem; color: var(--accent); line-height: 1; }
.history { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.history li { padding: 20px; border-top: 3px solid var(--accent); background: var(--surface); border-radius: 0 0 12px 12px; }
.history b { font-family: var(--font-display); font-size: 1.8rem; color: var(--accent-2); display: block; }

/* Artikel */
.article { max-width: 780px; margin: 0 auto; }
.article .cover { border-radius: 18px; overflow: hidden; margin: 18px 0 26px; border: 1px solid var(--line); }
.article p { font-size: 1.05rem; color: #334155; line-height: 1.8; }
.share { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 26px 0; }

/* Kontak */
.contact-info { display: flex; flex-direction: column; gap: 14px; }
.contact-info .item { display: flex; gap: 14px; padding: 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.contact-info .ico { width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 21/9; background: var(--surface); }
.map iframe { width: 100%; height: 100%; border: 0; }

/* 404 */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 40px 0; }
.notfound .code { font-family: var(--font-display); font-size: clamp(6rem, 18vw, 12rem); font-weight: 700; line-height: .9; color: transparent; -webkit-text-stroke: 2px var(--accent); }

/* Footer */
.site-footer { background: var(--navy); border-top: 0; padding-top: 64px; color: var(--on-navy); font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 34px; }
.site-footer h3 { font-size: 1.15rem; color: #fff; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.site-footer a:hover { color: var(--sky); }
.socials { display: flex; gap: 8px; margin-top: 14px; }
.socials a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255, 255, 255, .1); color: #fff; display: grid; place-items: center; }
.socials a:hover { background: var(--accent); color: #fff; }
.newsletter { display: flex; gap: 6px; margin-top: 10px; }
.newsletter .input { border-radius: 999px; }
.footer-bottom { margin-top: 48px; padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .82rem; }
.footer-bottom a { color: var(--sky); }

/* WA mengambang & toast */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 140; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 25px -5px rgba(21, 128, 61, .55); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); color: #fff; }
.wa-float .icon { width: 30px; height: 30px; }
.wa-float::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: pulse 2s infinite; }
@keyframes pulse { from { transform: scale(1); opacity: .8; } to { transform: scale(1.5); opacity: 0; } }
.back-top { position: fixed; right: 26px; bottom: 88px; z-index: 140; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--surface-2); color: var(--text); cursor: pointer; display: grid; place-items: center; opacity: 0; visibility: hidden; transition: .25s; }
.back-top.show { opacity: 1; visibility: visible; }
.toast-wrap { position: fixed; left: 50%; top: 18px; transform: translateX(-50%); z-index: 500; display: flex; flex-direction: column; gap: 8px; width: min(420px, calc(100% - 24px)); }
.toast { background: var(--surface); color: var(--text); border: 1px solid var(--line); border-left: 4px solid var(--ok); border-radius: 12px; padding: 12px 16px; display: flex; gap: 10px; align-items: center; box-shadow: var(--shadow); animation: toastIn .3s; font-size: .9rem; }
.toast.error { border-left-color: var(--danger); }
.toast.info { border-left-color: var(--info); }
@keyframes toastIn { from { transform: translateY(-12px); opacity: 0; } }

/* Animasi muncul saat scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

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

/* ---------- Responsif ---------- */
@media (max-width: 1100px) {
  .nav { display: none; }
  .menu-toggle { display: inline-grid; }
  .header-actions { margin-left: auto; }
  .car-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
  .g-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .quick-search form { grid-template-columns: repeat(2, 1fr); }
  .quick-search form .btn { grid-column: 1 / -1; }
  .catalog { grid-template-columns: 1fr; }
  .filters { position: fixed; inset: 0 auto 0 0; width: min(88vw, 340px); max-height: none; border-radius: 0; z-index: 210; transform: translateX(-105%); transition: transform .3s; }
  .filters.open { transform: none; box-shadow: 30px 0 60px rgba(15, 27, 45, .25); }
  .filter-open { display: inline-flex; }
  .detail { grid-template-columns: 1fr; }
  .summary { position: static; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .history { grid-template-columns: repeat(2, 1fr); }
  .slider { grid-auto-columns: calc((100% - 24px) / 2); }
}
@media (max-width: 820px) {
  .hero .container, .calc, .cta, .promo-band, .g-2 { grid-template-columns: 1fr; }
  .hero { padding-top: 34px; }
  .hero-car img { width: 100%; margin: 0; }
  .g-3 { grid-template-columns: repeat(2, 1fr); }
  .feat-list { grid-template-columns: repeat(2, 1fr); }
  .spec-table, .inspect { grid-template-columns: 1fr; }
  .stat-band { grid-template-columns: repeat(2, 1fr); }
  .stat-band div:nth-child(2) { border-right: 0; }
  .stat-band div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .car-grid.is-list .car-card { flex-direction: column; }
  .car-grid.is-list .car-media { width: 100%; aspect-ratio: 16/10; min-height: 0; }
  .topbar .hide-sm { display: none; }
}
@media (max-width: 600px) {
  body { font-size: 15px; }
  .g-3, .g-4, .car-grid, .form-grid, .footer-grid, .history { grid-template-columns: 1fr; }
  .quick-search form { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .slider { grid-auto-columns: 88%; }
  .feat-list { grid-template-columns: 1fr; }
  .quick-specs { grid-template-columns: repeat(2, 1fr); }
  .steps li { font-size: 0; }
  .brand small { display: none; }
  .header-actions .hide-xs { display: none; }
  .lightbox { padding: 50px 10px; }
  .lb-prev, .lb-next { top: auto; bottom: 16px; transform: none; }
  .map { aspect-ratio: 4/3; }
  .car-grid.is-list .car-specs { grid-template-columns: repeat(2, 1fr); }
}
@media print {
  .site-header, .topbar, .site-footer, .wa-float, .back-top, .compare-bar { display: none !important; }
  body { background: #fff; color: #000; }
}

/* Cegah item grid/flex melebar melebihi layar kecil */
.detail > *, .catalog > *, .hero .container > *, .calc > *, .grid > *, .cta > *, .promo-band > * { min-width: 0; }
.toolbar > .flex { flex-wrap: wrap; }
@media (max-width: 600px) {
  .toolbar > .flex { width: 100%; }
  .toolbar #sort { flex: 1; }
  .summary h1 { font-size: 2rem; }
  .price { font-size: 1.5rem; }
}
#searchForm { flex-wrap: nowrap; }
/* Detail mobil di layar kecil: galeri → ringkasan → tab */
@media (max-width: 1024px) {
  .detail { gap: 0; }
  .detail > div:first-child { display: contents; }
  .detail .summary { order: 1; margin: 22px 0 6px; }
  .detail .tabs, .detail [role="tabpanel"] { order: 2; }
}

/* ===== Tema terang: area navy (hero, topbar, footer) & bayangan halus ===== */
.card, .car-card, .type-card, .promo-card, .feature, .testi, .post-card, .sales-card, .acc-item, .filters, .contact-info .item, .quick-search form, .stat-band div, .history li { box-shadow: var(--shadow-sm); }
.quick-search form { box-shadow: var(--shadow); }
.hero .eyebrow, .hero h1 span { color: var(--sky); }
.hero h1 { color: #fff; }
.hero .btn-outline { border-color: rgba(255, 255, 255, .55); color: #fff; }
.hero .btn-outline:hover { background: #fff; color: var(--accent-600); border-color: #fff; }
.hero .btn-primary { background: #fff; color: var(--accent-600); }
.hero .btn-primary:hover { background: #dbeafe; color: var(--accent-600); }
.site-footer .brand, .site-footer .brand:hover { color: #fff; }
.site-footer .text-accent { color: var(--sky); }
.site-footer .brand small { color: var(--on-navy-muted); }
.site-footer .newsletter .input { background: #fff; color: var(--text); border-color: transparent; }
.socials a:hover { background: var(--accent); color: #fff; }
.price-old { color: #64748b; }
.video-card { border-color: transparent; }
.video-card .vt small { color: #dbe7f7; }
.lb-btn { background: rgba(255, 255, 255, .14); }
.notfound .code { -webkit-text-stroke-color: var(--accent); }
.qs-tabs button { background: rgba(255, 255, 255, .14); color: #fff; }
.qs-tabs button[aria-pressed="true"] { background: #fff; color: var(--accent-600); }
.compare-table th { color: #334155; }
.table th { color: #334155; }

/* ===== Tambahan SC Showroom CodeIgniter 4 (render server) ===== */
.pagination a, .pagination span { min-width: 40px; height: 40px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); font-weight: 700; display: grid; place-items: center; text-decoration: none; color: var(--text); }
.pagination a[aria-current="page"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.pagination a:hover { border-color: var(--accent); }
.pagination .is-disabled { opacity: .4; }
.pagination .gap { border: 0; background: none; min-width: 20px; }
a.chip { text-decoration: none; color: inherit; }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-alert { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: #fef2f2; border: 1px solid #fca5a5; color: #7f1d1d; margin-bottom: 14px; font-size: .9rem; }
.form-alert .icon { color: var(--danger); flex: none; }
.inspect li.is-fail .icon { color: var(--danger); }
.article-body h2 { font-size: 1.6rem; margin-top: 1.4em; }
.article-body h3 { font-size: 1.25rem; margin-top: 1.2em; }
.article-body ul, .article-body ol { color: #334155; line-height: 1.8; padding-left: 22px; }
.article-body img { border-radius: 12px; }
.article-body blockquote { margin: 1em 0; padding: 10px 18px; border-left: 4px solid var(--accent); background: var(--bg-2); border-radius: 0 10px 10px 0; }
.promo-detail { grid-template-columns: 1.4fr 1fr; }
@media (max-width: 820px) { .promo-detail { grid-template-columns: 1fr; } .promo-detail aside { position: static !important; } }
button[aria-busy="true"] { opacity: .7; cursor: progress; }
.compare-bar:not(.show) { visibility: hidden; }
