:root {
  --red: #d7262d;
  --red-dark: #b01c22;
  --ink: #141a23;
  --ink-2: #1f2835;
  --text: #2b3440;
  --muted: #6b7684;
  --line: #e4e8ee;
  --bg: #ffffff;
  --bg-alt: #f5f7fa;
  --radius: 14px;
  --shadow: 0 8px 28px rgba(20, 26, 35, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--text); background: var(--bg); line-height: 1.6; }
img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }

.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 40px); }
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--ink); color: #c9d1dc; }
.section-dark h2 { color: #fff; }
.sec-head { margin-bottom: 32px; }
.sec-head-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; justify-content: space-between; }
.eyebrow { color: var(--red); font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 8px; }
.note { color: var(--muted); font-size: .85rem; margin-top: 24px; }
.lead { font-weight: 700; color: var(--ink); font-size: 1.1rem; margin-bottom: 4px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font: inherit; font-weight: 700; font-size: .92rem; border: 1.5px solid transparent; cursor: pointer; transition: .2s; white-space: nowrap; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }
.btn-outline { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); }
.btn-ghost { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.btn-block { width: 100%; }

/* Topbar & header */
.topbar { background: var(--ink); color: #aeb8c5; font-size: .78rem; }
.topbar-in { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; }
.topbar a { color: #fff; font-weight: 600; }
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid transparent; transition: .2s; }
.header.scrolled { border-color: var(--line); box-shadow: 0 4px 18px rgba(20, 26, 35, .06); }
.header-in { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--red); color: #fff; font-weight: 800; letter-spacing: .02em; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { color: var(--ink); font-size: 1rem; }
.brand-text small { color: var(--muted); font-size: .74rem; }
.brand-light .brand-text strong { color: #fff; }
.nav { display: flex; gap: 26px; margin-left: auto; font-weight: 600; font-size: .92rem; }
.nav a { padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--red); border-color: var(--red); }
.burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.burger span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; }

/* Hero */
.hero { position: relative; background: linear-gradient(120deg, var(--ink) 0%, var(--ink-2) 55%, #3a1418 100%); color: #d6dce5; overflow: hidden; }
.slides { display: grid; }
.slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .6s; }
.slide.active { opacity: 1; visibility: visible; }
.slide-in { display: grid; grid-template-columns: 1fr 1.25fr; align-items: center; gap: 24px; min-height: 520px; padding: 56px 0 96px; }
.slide h2 { color: #fff; font-size: clamp(2rem, 4.600vw, 3.300rem); font-weight: 800; letter-spacing: -.03em; }
.slide-copy p:not(.eyebrow) { font-size: 1.05rem; max-width: 46ch; }
.slide .eyebrow { color: #ff8f93; }
.slide-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.slide-price { margin: 14px 0 0; font-size: .95rem; }
.slide-price b { color: #fff; font-size: 1.35rem; margin-left: 4px; }
.slide-img { display: block; }
.slide-img img { display: block; width: 100%; height: auto; filter: drop-shadow(0 24px 28px rgba(0, 0, 0, .35)); }
.hero-tabs { position: absolute; left: 20px; right: 20px; bottom: 22px; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; max-width: 1180px; margin-inline: auto; }
.hero-tabs::-webkit-scrollbar { display: none; }
.hero-tabs button { flex: none; padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .22); background: transparent; color: #c9d1dc; font: inherit; font-size: .8rem; font-weight: 600; cursor: pointer; transition: .2s; }
.hero-tabs button:hover { border-color: #fff; color: #fff; }
.hero-tabs button.active { background: var(--red); border-color: var(--red); color: #fff; }
.hero-nav { position: absolute; top: 42%; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: rgba(20, 26, 35, .45); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; transition: .2s; }
.hero-nav:hover { background: var(--red); border-color: var(--red); }
.hero-prev { left: 16px; }
.hero-next { right: 16px; }

/* Car visual (ilustrasi + foto) */
.car-visual { position: relative; aspect-ratio: 16 / 9; display: grid; place-items: center; }
.car-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }

/* Layanan */
.services { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.service { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; padding: 22px 10px; border: 1px solid var(--line); border-radius: var(--radius); font-weight: 600; font-size: .86rem; color: var(--ink); transition: .2s; }
.service span { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: #fdecec; color: var(--red); transition: .2s; }
.service:hover { border-color: var(--red); transform: translateY(-3px); box-shadow: var(--shadow); }
.service:hover span { background: var(--red); color: #fff; }

/* Katalog */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer; }
.chip.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.cars { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.car { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: .2s; display: flex; flex-direction: column; }
.car:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.car .car-visual { background: linear-gradient(180deg, #eef1f5, #fff); }
.car-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.car-type { font-size: .72rem; font-weight: 700; color: var(--red); text-transform: uppercase; letter-spacing: .1em; }
.car h3 { font-size: 1.15rem; margin: 4px 0 12px; }
.car h3 small { font-weight: 500; color: var(--muted); font-size: .85rem; }
.car-from { font-size: .78rem; color: var(--muted); margin: 0; }
.car-price { font-size: 1.25rem; font-weight: 800; color: var(--ink); margin: 0 0 12px; }
.car-spec { list-style: none; display: flex; gap: 18px; padding: 12px 0; margin: 0 0 16px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.car-spec li { display: flex; align-items: center; gap: 6px; }
.car-actions { display: flex; gap: 8px; margin-top: auto; }
.car-actions .btn { flex: 1; padding: 10px 12px; font-size: .84rem; }

/* Bandingkan */
.compare { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: #fff; }
.compare-pick { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.compare-pick span { font-weight: 800; color: var(--red); }
select, input, textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font: inherit; color: var(--ink); background: #fff; }
select:focus, input:focus, textarea:focus { outline: 2px solid var(--red); outline-offset: 1px; }
.table-scroll { overflow-x: auto; }
.cmp-table { width: 100%; border-collapse: collapse; min-width: 460px; }
.cmp-table th, .cmp-table td { padding: 13px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.cmp-table thead th { font-size: 1.05rem; color: var(--ink); }
.cmp-table thead small { display: block; font-weight: 500; color: var(--muted); font-size: .8rem; }
.cmp-table tbody th { font-weight: 600; color: var(--muted); width: 28%; }
.cmp-table tbody tr:last-child > * { border-bottom: 0; }

/* Simulasi */
.sim { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.sim-form label { display: block; font-weight: 600; color: #fff; margin-top: 20px; font-size: .92rem; }
.sim-form select { margin-top: 8px; }
.sim-form input[type=range] { padding: 0; margin-top: 12px; border: 0; background: none; accent-color: var(--red); }
.sim-form b { color: #ff8f93; }
.tenor { display: flex; gap: 8px; margin-top: 8px; }
.tenor button { flex: 1; padding: 11px 0; border-radius: 10px; border: 1px solid #38465a; background: transparent; color: #c9d1dc; font: inherit; font-weight: 600; cursor: pointer; }
.tenor button.active { background: var(--red); border-color: var(--red); color: #fff; }
.sim-result { background: #fff; color: var(--text); border-radius: 18px; padding: 32px; }
.sim-small { color: var(--muted); font-size: .88rem; margin: 0; }
.sim-big { font-size: clamp(2rem, 4vw, 2.700rem); font-weight: 800; color: var(--ink); letter-spacing: -.02em; margin: 0 0 16px; }
.sim-result dl { margin: 0 0 22px; }
.sim-result dl div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); font-size: .92rem; }
.sim-result dt { color: var(--muted); }
.sim-result dd { margin: 0; font-weight: 700; color: var(--ink); }
.sim-note { font-size: .78rem; color: var(--muted); margin: 14px 0 0; }

/* Promo */
.promos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.promo { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; border-top: 4px solid var(--red); }
.badge { display: inline-block; background: #fdecec; color: var(--red); font-weight: 700; font-size: .75rem; padding: 4px 12px; border-radius: 999px; margin-bottom: 14px; }
.promo a { color: var(--red); font-weight: 700; font-size: .9rem; }

/* Cara pesan */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.steps li { background: #fff; border-radius: var(--radius); padding: 28px 24px; border: 1px solid var(--line); }
.steps span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--red); color: #fff; font-weight: 800; margin-bottom: 18px; }
.steps h3 { font-size: 1.05rem; }
.steps p { font-size: .9rem; color: var(--muted); margin: 0; }

/* Purna jual */
.after { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.after-card { min-height: 250px; border-radius: var(--radius); padding: 26px; color: #dbe1e9; display: flex; flex-direction: column; justify-content: flex-end; transition: .2s; }
.after-card:hover { transform: translateY(-4px); }
.after-card h3 { color: #fff; font-size: 1.15rem; }
.after-card p { font-size: .88rem; }
.after-card span { color: #fff; font-weight: 700; font-size: .88rem; }
.after-1 { background: linear-gradient(160deg, #d7262d, #7d1418); }
.after-2 { background: linear-gradient(160deg, #2a3545, #141a23); }
.after-3 { background: linear-gradient(160deg, #46566b, #232d3b); }
.after-4 { background: linear-gradient(160deg, #8d1a1f, #2a1114); }

/* Video */
.videos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.video-thumb { display: grid; place-items: center; aspect-ratio: 16 / 9; border-radius: var(--radius); background: var(--ink); color: #fff; margin-bottom: 12px; transition: .2s; }
.video:hover .video-thumb { background: var(--red); }
.video h3 { font-size: 1rem; }

/* Outlet */
.outlet { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hours { list-style: none; padding: 0; margin: 20px 0 24px; }
.hours li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.outlet-cards { display: grid; gap: 14px; }
.outlet-cards div { padding: 22px 24px; border-radius: var(--radius); background: #fff; border-left: 4px solid var(--red); }
.outlet-cards h3 { font-size: 1.05rem; margin-bottom: 4px; }
.outlet-cards p { margin: 0; font-size: .9rem; color: var(--muted); }

/* Tentang + form */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.avatar { width: 96px; height: 96px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-size: 2rem; font-weight: 800; margin-bottom: 20px; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.about-role { color: var(--red); font-weight: 700; font-size: .92rem; }
.about-stats { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.about-stats li { display: flex; flex-direction: column; padding-left: 14px; border-left: 3px solid var(--red); }
.about-stats b { color: var(--ink); }
.about-stats span { font-size: .88rem; color: var(--muted); }
.lead-form { background: #fff; border-radius: 18px; padding: 30px; box-shadow: var(--shadow); }
.lead-form h3 { font-size: 1.25rem; margin-bottom: 18px; }
.lead-form label { display: block; font-size: .85rem; font-weight: 600; color: var(--ink); margin-bottom: 14px; }
.lead-form label > * { margin-top: 6px; font-weight: 400; }
.form-note { font-size: .78rem; color: var(--muted); margin: 12px 0 0; text-align: center; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; padding: 16px 28px 16px 0; font-weight: 700; color: var(--ink); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 1.400rem; color: var(--red); font-weight: 400; }
.faq details[open] summary::after { content: "\2212"; }
.faq p { color: var(--muted); padding-right: 28px; }

/* Footer */
.footer { background: var(--ink); color: #9aa5b3; padding-top: 60px; font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: 1.500fr 1fr 1fr 1.200fr; gap: 36px; padding-bottom: 40px; }
.footer h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a:hover { color: #fff; }
.footer-about { margin-top: 16px; max-width: 34ch; }
.socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.socials a { padding: 6px 14px; border: 1px solid #38465a; border-radius: 999px; font-size: .8rem; color: #fff; }
.footer-bottom { border-top: 1px solid #2a3545; padding: 20px 0 26px; font-size: .78rem; }
.footer-bottom p { margin: 0; }

/* Floating */
.fab { position: fixed; right: 20px; bottom: 20px; z-index: 60; height: 60px; min-width: 60px; padding: 0 15px; border-radius: 999px; background: #25d366; color: #fff; display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: .92rem; box-shadow: 0 8px 24px rgba(37, 211, 102, .45); transition: .2s; }
.fab::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid #25d366; animation: fab-pulse 2.2s ease-out infinite; pointer-events: none; }
.fab-label { padding-left: 6px; }
@keyframes fab-pulse { from { transform: scale(1); opacity: .7; } to { transform: scale(1.35, 1.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .fab::before { animation: none; opacity: 0; } }
.fab:hover { transform: scale(1.05); background: #1ebe5b; }
.totop { position: fixed; right: 28px; bottom: 90px; z-index: 60; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 1.100rem; cursor: pointer; opacity: 0; pointer-events: none; transition: .2s; box-shadow: var(--shadow); }
.totop.show { opacity: 1; pointer-events: auto; }

/* Responsive */
@media (max-width: 1020px) {
  .services { grid-template-columns: repeat(4, 1fr); }
  .steps, .after { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .header-cta { display: none; }
}
@media (max-width: 860px) {
  .burger { display: block; margin-left: auto; }
  .nav { position: absolute; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column; gap: 0; padding: 8px 20px 16px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .25s ease, transform .25s ease, visibility .25s; }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .slide-in { grid-template-columns: 1fr; min-height: 0; padding: 40px 0 84px; gap: 12px; }
  .hero-nav { display: none; }
  .sim, .outlet, .about { grid-template-columns: 1fr; gap: 28px; }
  .promos, .videos { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
  .topbar-in > span:first-child { display: none; }
  .topbar-in { justify-content: center; }
}
@media (max-width: 560px) {
  .services { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .service { padding: 16px 6px; font-size: .76rem; }
  .steps, .after, .footer-grid { grid-template-columns: 1fr; }
  .after-card { min-height: 170px; }
  .compare { padding: 16px; }
  .compare-pick { flex-direction: column; align-items: stretch; gap: 8px; text-align: center; }
  .sim-result, .lead-form { padding: 22px; }
}

/* ---------- Halaman detail mobil ---------- */
.pdp { padding: 24px 0 64px; }
.crumbs { font-size: .82rem; color: var(--muted); margin-bottom: 20px; }
.crumbs a:hover { color: var(--red); }
.crumbs span { color: var(--ink); font-weight: 600; }
.pdp-top { display: grid; grid-template-columns: 1.35fr 1fr; gap: 40px; align-items: start; }
.viewer-tabs { display: inline-flex; background: var(--bg-alt); border-radius: 999px; padding: 4px; }
.viewer-tabs button { border: 0; background: none; font: inherit; font-weight: 700; font-size: .85rem; padding: 8px 20px; border-radius: 999px; cursor: pointer; color: var(--muted); }
.viewer-tabs button.active { background: var(--ink); color: #fff; }
.viewer-stage { position: relative; aspect-ratio: 16 / 10; border-radius: 18px; background: radial-gradient(ellipse at 50% 85%, #dfe4ea 0, #f5f7fa 55%, #fff 100%); display: grid; place-items: center; overflow: hidden; }
.viewer-stage img { width: 92%; height: 92%; object-fit: contain; user-select: none; }
.viewer-stage.spinning { cursor: grab; touch-action: pan-y; }
.viewer-stage.spinning:active { cursor: grabbing; }
.spin-hint { position: absolute; bottom: 12px; left: 0; right: 0; margin: 0; text-align: center; font-size: .78rem; font-weight: 600; color: var(--muted); pointer-events: none; transition: opacity .4s; }
.spin-hint.fade { opacity: 0; }
.spin-badge { position: absolute; top: 14px; left: 14px; background: var(--ink); color: #fff; font-weight: 800; font-size: .78rem; padding: 5px 12px; border-radius: 999px; letter-spacing: .04em; }
.viewer-stage:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.viewer-colors { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }
.viewer-colors p { margin: 0; font-size: .9rem; color: var(--muted); }
.viewer-colors b { color: var(--ink); }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatches button { width: 32px; height: 32px; border-radius: 50%; border: 1px solid #c9d0d9; cursor: pointer; padding: 0; outline: 2px solid transparent; outline-offset: 3px; transition: .15s; }
.swatches button.active { outline-color: var(--red); }
.viewer-note { font-size: .76rem; color: var(--muted); margin: 14px 0 0; }

.buy { border: 1px solid var(--line); border-radius: 18px; padding: 28px; position: sticky; top: 92px; }
.buy h1 { font-size: clamp(1.600rem, 3vw, 2.100rem); font-weight: 800; letter-spacing: -.02em; margin: 4px 0 2px; }
.buy-variant { color: var(--muted); font-size: .9rem; margin: 0 0 14px; }
.buy-price { font-size: 1.900rem; font-weight: 800; color: var(--red); margin: 0; line-height: 1.1; }
.buy-otr { font-size: .8rem; color: var(--muted); margin: 2px 0 10px; }
.buy-credit { font-size: .86rem; background: var(--bg-alt); border-radius: 10px; padding: 10px 14px; margin: 0; }
.buy-credit b { color: var(--ink); }
.buy-label { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 22px 0 10px; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; }
.seg button, .types button { border: 1.500px solid var(--line); background: #fff; border-radius: 10px; font: inherit; cursor: pointer; color: var(--ink); transition: .15s; }
.seg button { padding: 10px; font-weight: 700; font-size: .9rem; }
.types { display: grid; gap: 8px; }
.types button { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 14px; text-align: left; font-size: .84rem; }
.types b { white-space: nowrap; font-size: .86rem; }
.seg button.active, .types button.active { border-color: var(--red); background: #fdecec; }
.types button:hover, .seg button:hover { border-color: var(--red); }
.buy-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
.buy-actions .btn-block { grid-column: 1 / -1; }

.spec details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; }
.spec summary { cursor: pointer; padding: 18px 52px 18px 22px; font-weight: 800; color: var(--ink); font-size: 1.050rem; list-style: none; position: relative; }
.spec summary::-webkit-details-marker { display: none; }
.spec summary::after { content: "+"; position: absolute; right: 22px; top: 12px; font-size: 1.500rem; font-weight: 400; color: var(--red); }
.spec details[open] summary::after { content: "\2212"; }
.spec dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 28px; margin: 0; padding: 0 22px 12px; }
.spec dl div { padding: 12px 0; border-top: 1px solid var(--line); }
.spec dt { font-size: .78rem; color: var(--muted); }
.spec dd { margin: 2px 0 0; font-weight: 700; color: var(--ink); font-size: .92rem; }

.tenor { flex-wrap: wrap; }
.tenor button { min-width: 64px; }
.info-text { font-size: 1.050rem; }
.info-facts { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.info-facts li { display: flex; flex-direction: column; padding: 14px 18px; background: var(--bg-alt); border-radius: 12px; }
.info-facts span { font-size: .78rem; color: var(--muted); }
.info-facts b { color: var(--ink); }
.car h3 a:hover { color: var(--red); }

@media (max-width: 860px) {
  .pdp-top { grid-template-columns: 1fr; gap: 24px; }
  .buy { position: static; padding: 22px; }
  .spec dl { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .spec dl, .info-facts { grid-template-columns: 1fr; }
}

/* ---------- Detail eksterior & interior ---------- */
.feat { display: grid; grid-template-columns: 1.55fr 1fr; gap: 24px; align-items: stretch; }
.feat-stage { position: relative; margin: 0; border-radius: 18px; overflow: hidden; background: var(--ink); min-height: 440px; }
.feat-stage > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feat-stage figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 70px 26px 24px; background: linear-gradient(transparent, rgba(12, 16, 22, .88)); color: #dbe1e9; }
.feat-stage h3 { color: #fff; font-size: 1.3rem; margin: 4px 0 6px; }
.feat-stage p { margin: 0 0 10px; font-size: .95rem; max-width: 52ch; }
.feat-count { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #ff8f93; }
.feat-stage .badge { margin: 0; background: rgba(255, 255, 255, .16); color: #fff; }
.feat-nav { position: absolute; top: 40%; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(20, 26, 35, .72); color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; transition: .2s; }
.feat-nav:hover { background: var(--red); transform: scale(1.08); }
.feat-prev { left: 14px; }
.feat-next { right: 14px; }
.feat-list { display: grid; gap: 8px; align-content: start; max-height: 440px; overflow-y: auto; padding-right: 4px; }
.feat-list button { display: flex; align-items: center; gap: 14px; padding: 8px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; font: inherit; font-weight: 600; font-size: .88rem; color: var(--ink); text-align: left; cursor: pointer; transition: .15s; }
.feat-list img { width: 76px; height: 54px; object-fit: cover; border-radius: 8px; flex: none; }
.feat-list button:hover, .feat-list button.active { border-color: var(--red); }
.feat-list button.active { background: #fdecec; }

/* ---------- Galeri serah terima & testimoni ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.shot { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; border: 0; padding: 0; background: var(--bg-alt); cursor: pointer; font: inherit; }
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 78%; transition: transform .4s; }
.shot:hover img { transform: scale(1.05); }
.shot-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 44px 16px 14px; background: linear-gradient(transparent, rgba(12, 16, 22, .85)); color: #dbe1e9; text-align: left; font-size: .84rem; display: flex; flex-direction: column; }
.shot-cap b { color: #fff; font-size: .95rem; }
.shot-cap small { opacity: .8; }
.shot-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; padding: 20px; border: 2px dashed #cfd6de; color: var(--muted); font-size: .84rem; cursor: default; }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; }
.review p { margin: 12px 0 20px; color: var(--text); flex: 1; }
.review footer { display: flex; align-items: center; gap: 12px; }
.review footer span:last-child { display: flex; flex-direction: column; line-height: 1.3; }
.review b { color: var(--ink); }
.review small { color: var(--muted); font-size: .8rem; }
.review-av { width: 44px; height: 44px; border-radius: 50%; background: var(--red); color: #fff; font-weight: 800; display: grid; place-items: center; overflow: hidden; flex: none; }
.review-av img { width: 100%; height: 100%; object-fit: cover; }
.review-empty { grid-column: 1 / -1; align-items: center; text-align: center; border: 2px dashed #cfd6de; background: transparent; color: var(--muted); padding: 44px 20px; }
.stars { color: #f2a900; letter-spacing: 2px; font-size: 1.05rem; }
.stars i { color: #d9dee5; font-style: normal; }
.rating-sum { margin: 0; color: var(--muted); }
.rating-sum b { color: var(--ink); font-size: 1.4rem; }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(12, 16, 22, .92); display: grid; place-items: center; padding: 20px; }
.lightbox figure { margin: 0; text-align: center; }
.lightbox img { max-width: min(92vw, 1000px); max-height: 80vh; border-radius: 12px; }
.lightbox figcaption { color: #dbe1e9; margin-top: 12px; font-size: .92rem; }
.lightbox-close { position: absolute; top: 14px; right: 18px; background: none; border: 0; color: #fff; font-size: 2.2rem; cursor: pointer; line-height: 1; }
.nav { gap: 22px; }

@media (max-width: 1020px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .reviews { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .feat { grid-template-columns: 1fr; }
  .feat-stage { min-height: 0; aspect-ratio: 4 / 3; }
  .feat-list { display: flex; overflow-x: auto; max-height: none; padding: 0 0 6px; }
  .feat-list button { flex: none; width: 150px; flex-direction: column; align-items: stretch; gap: 8px; font-size: .78rem; }
  .feat-list img { width: 100%; height: 84px; }
  .reviews { grid-template-columns: 1fr; }
  .nav { gap: 0; }
}
@media (max-width: 560px) {
  .feat-stage { aspect-ratio: 4 / 5; }
  .feat-stage h3 { font-size: 1.1rem; }
}

/* ---------- Semua tipe ---------- */
.types button span { display: flex; flex-direction: column; line-height: 1.3; }
.types small { color: var(--muted); font-size: .74rem; }
.seg button { font-size: .82rem; padding: 9px 6px; }
#typeCount { text-transform: none; letter-spacing: 0; font-weight: 500; }
.car-count { margin: -6px 0 10px; font-size: .8rem; color: var(--muted); }
.pricelist details { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; background: #fff; }
.pricelist summary { display: flex; align-items: center; gap: 16px; padding: 12px 52px 12px 16px; cursor: pointer; list-style: none; position: relative; }
.pricelist summary::-webkit-details-marker { display: none; }
.pricelist summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--red); }
.pricelist details[open] summary::after { content: "\2212"; }
.pricelist summary img { width: 92px; height: 58px; object-fit: contain; flex: none; }
.pricelist summary span { display: flex; flex-direction: column; }
.pricelist summary b { color: var(--ink); font-size: 1.05rem; }
.pricelist summary small { color: var(--muted); font-size: .84rem; }
.pricelist table { width: 100%; border-collapse: collapse; min-width: 520px; }
.pricelist th, .pricelist td { padding: 11px 16px; text-align: left; border-top: 1px solid var(--line); font-size: .9rem; }
.pricelist th { font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); background: var(--bg-alt); }
.pricelist td b { color: var(--ink); }
.pricelist td a { color: var(--red); font-weight: 700; white-space: nowrap; }

.buy label.buy-label { display: block; font-weight: 700; }
.type-select { padding: 14px 44px 14px 16px; border: 1.5px solid var(--red); border-radius: 12px; font-weight: 700; font-size: .92rem; cursor: pointer; appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d7262d' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 20px; text-overflow: ellipsis; }

/* ---------- Katalog dengan filter ---------- */
.plp { display: grid; grid-template-columns: 250px 1fr; gap: 28px; align-items: start; }
.plp-filter { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 20px 20px; position: sticky; top: 92px; max-height: calc(100vh - 110px); overflow-y: auto; }
.plp-filter > summary { list-style: none; font-weight: 800; color: var(--ink); padding: 14px 0; cursor: pointer; font-size: 1.05rem; }
.plp-filter > summary::-webkit-details-marker { display: none; }
.plp-filter fieldset { border: 0; border-top: 1px solid var(--line); margin: 0; padding: 14px 0; }
.plp-filter legend { float: left; width: 100%; padding: 0; margin-bottom: 8px; font-weight: 700; font-size: .84rem; color: var(--ink); }
.plp-filter label { display: flex; align-items: center; gap: 10px; clear: both; padding: 4px 0; font-size: .88rem; cursor: pointer; }
.plp-filter input, .car-compare input { width: 17px; height: 17px; padding: 0; accent-color: var(--red); flex: none; }
.plp-sort { display: flex; align-items: center; gap: 10px; font-size: .86rem; font-weight: 600; color: var(--muted); white-space: nowrap; }
.plp-sort select { width: auto; padding: 10px 14px; }
.plp-count { margin: 0 0 14px; font-size: .86rem; color: var(--muted); }
.plp-empty { background: #fff; border: 2px dashed #cfd6de; border-radius: var(--radius); padding: 40px 20px; text-align: center; color: var(--muted); }
.plp .cars { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); align-items: start; }
.car-types { border-top: 1px solid var(--line); margin: -4px 0 16px; }
.car-types summary { cursor: pointer; padding: 10px 0 2px; font-size: .84rem; font-weight: 700; color: var(--red); list-style: none; }
.car-types summary::-webkit-details-marker { display: none; }
.car-types summary::after { content: " +"; }
.car-types[open] summary::after { content: " \2212"; }
.car-types ul { list-style: none; margin: 8px 0 0; padding: 0; }
.car-types a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px dashed var(--line); font-size: .78rem; }
.car-types a:hover b { color: var(--red); }
.car-types span { display: flex; flex-direction: column; line-height: 1.3; }
.car-types small { color: var(--muted); }
.car-types b { color: var(--ink); white-space: nowrap; }
.car-compare { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: .82rem; color: var(--muted); cursor: pointer; }
.cmp-bar { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 70; display: flex; align-items: center; gap: 14px; background: var(--ink); color: #fff; padding: 10px 12px 10px 22px; border-radius: 999px; box-shadow: 0 12px 32px rgba(20, 26, 35, .35); font-size: .88rem; font-weight: 600; max-width: calc(100% - 100px); }
.cmp-bar .btn { padding: 9px 18px; }
.cmp-bar .btn:disabled { opacity: .45; cursor: not-allowed; }
.cmp-bar-x { background: none; border: 0; color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; padding: 0 6px; }
@media (max-width: 860px) {
  .plp { grid-template-columns: 1fr; gap: 16px; }
  .plp-filter { position: static; max-height: none; }
  .plp-filter > summary::after { content: "+"; float: right; color: var(--red); font-size: 1.3rem; font-weight: 400; }
  .plp-filter[open] > summary::after { content: "\2212"; }
  .cmp-bar { left: 12px; right: 84px; transform: none; max-width: none; font-size: .78rem; }
}

/* ---------- Pilihan wilayah harga ---------- */
.area-pick { display: inline-flex; align-items: center; gap: 8px; }
.area-pick select { width: auto; padding: 3px 8px; font-size: .78rem; font-weight: 700; color: #fff; background: #2a3545; border: 1px solid #44536a; border-radius: 6px; cursor: pointer; }

/* ---------- Tentang tipe ---------- */
.type-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; margin-bottom: 14px; }
.type-info > div { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: var(--radius); padding: 20px 22px; }
.type-info h3 { font-size: 1rem; margin-bottom: 10px; }
.type-info-head { margin: 0 0 6px; font-size: .84rem; color: var(--muted); }
.type-info ul { margin: 0; padding-left: 18px; columns: 2; column-gap: 28px; font-size: .9rem; }
.type-info li { margin-bottom: 4px; break-inside: avoid; }
.type-info dl { margin: 0; display: grid; gap: 10px; }
.type-info dt { font-weight: 700; color: var(--ink); font-size: .9rem; }
.type-info dd { margin: 0; font-size: .86rem; color: var(--muted); }
@media (max-width: 560px) { .type-info ul { columns: 1; } }

.review-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px; margin-top: 24px; text-align: center; }
.review-cta p { margin: 0; color: var(--muted); }
@media (max-width: 860px) {
  .fab { padding: 0; justify-content: center; width: 58px; height: 58px; min-width: 0; }
  .fab-label { display: none; }
}

/* ---------- Perkenalan ---------- */
.intro { display: grid; grid-template-columns: .85fr 1fr; gap: 56px; align-items: center; }
.intro-photo { position: relative; margin: 0; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--bg-alt); box-shadow: var(--shadow); }
.intro-photo::before { content: ""; position: absolute; inset: 0; border: 6px solid #fff; border-radius: inherit; z-index: 1; pointer-events: none; opacity: .0; }
.intro-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; display: block; }
.intro-photo figcaption { position: absolute; left: 16px; bottom: 16px; background: #fff; border-radius: 14px; padding: 12px 18px; box-shadow: var(--shadow); border-left: 4px solid var(--red); display: flex; flex-direction: column; line-height: 1.35; }
.intro-photo figcaption b { color: var(--ink); }
.intro-photo figcaption > span { font-size: .8rem; color: var(--muted); }
.intro-lead { font-size: 1.12rem; color: var(--ink); font-weight: 500; }
.intro-points { list-style: none; padding: 0; margin: 22px 0; display: grid; gap: 14px; }
.intro-points li { display: flex; flex-direction: column; padding-left: 16px; border-left: 3px solid var(--red); }
.intro-points b { color: var(--ink); }
.intro-points span { font-size: .9rem; color: var(--muted); }
.intro-where { font-size: .9rem; color: var(--muted); margin-bottom: 0; }
.intro-where b { color: var(--ink); }
.intro .btn-outline { background: #fff; }
@media (max-width: 860px) {
  .intro { grid-template-columns: 1fr; gap: 28px; }
  .intro-photo { max-width: 420px; }
}

/* ---------- Tombol WhatsApp: hijau resmi + logo ---------- */
.btn-wa { background: #25d366; color: #fff; }
.btn-wa:hover { background: #1ebe5b; }
.btn-wa::before { content: ""; width: 20px; height: 20px; flex: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 0 1-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 0 1-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 0 1 2.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0 0 12.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 0 0 5.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 0 0-3.48-8.413z'/%3E%3C/svg%3E") center / contain no-repeat; }

/* ---------- Peta outlet ---------- */
.outlet { align-items: start; }
.outlet-side { display: grid; gap: 14px; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 10; background: #e9edf2; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.outlet-cards { grid-template-columns: repeat(3, 1fr); }
.outlet-cards div { padding: 16px 18px; }
.outlet-cards h3 { font-size: .95rem; }
.outlet-cards p { font-size: .82rem; }
@media (max-width: 560px) { .outlet-cards { grid-template-columns: 1fr; } }

/* ---------- Simulasi kredit: rapi di layar sempit ---------- */
/* Tanpa min-width: 0, kolom grid melebar mengikuti isi dan keluar dari tepi layar HP. */
.sim > * { min-width: 0; }
.sim-form select, .sim-form input[type=range] { max-width: 100%; }
.tenor { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; }
.tenor button { min-width: 0; padding: 11px 0; }
@media (max-width: 560px) {
  #kDp { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tenor button { font-size: .86rem; }
  .sim-result dl div { font-size: .88rem; }
  .sim-result .btn { white-space: normal; text-align: center; padding: 12px 14px; }
}
@media (max-width: 560px) { .totop { display: none; } }

.footer-addr { display: flex; flex-direction: column; gap: 2px; margin-top: 4px; }
.footer-addr b { color: #fff; font-weight: 600; }
.footer-addr span { font-size: .84rem; line-height: 1.5; }

/* ---------- Banner: latar bergerak (cahaya, lantai showroom, jejak lampu) ---------- */
.hero { isolation: isolate; }
.hero-fx { position: absolute; inset: 0; overflow: hidden; z-index: 0; pointer-events: none; }
.slides { position: relative; z-index: 1; }
.fx-glow { position: absolute; border-radius: 50%; filter: blur(80px); }
.fx-glow-a { width: 560px; height: 560px; right: 6%; top: -18%; background: #d7262d; opacity: .34; animation: fx-drift-a 14s ease-in-out infinite alternate; }
.fx-glow-b { width: 460px; height: 460px; left: -8%; bottom: -30%; background: #2b62c4; opacity: .26; animation: fx-drift-b 18s ease-in-out infinite alternate; }
@keyframes fx-drift-a { to { transform: translate(-140px, 90px) scale(1.15); } }
@keyframes fx-drift-b { to { transform: translate(160px, -70px) scale(1.2); } }
/* Lantai bergaris dengan perspektif, bergerak pelan ke arah penonton. */
.fx-grid { position: absolute; left: -25%; right: -25%; bottom: 0; height: 48%;
  background-image: linear-gradient(rgba(255, 255, 255, .1) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .1) 1px, transparent 1px);
  background-size: 72px 72px; transform: perspective(560px) rotateX(63deg); transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(transparent, #000 55%); mask-image: linear-gradient(transparent, #000 55%);
  animation: fx-floor 3.2s linear infinite; }
@keyframes fx-floor { to { background-position: 0 72px, 0 0; } }
/* Jejak lampu yang melintas seperti di jalan malam hari. */
.fx-streaks i { position: absolute; left: 100%; height: 2px; width: 220px; border-radius: 2px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .6), transparent); animation: fx-streak 4s linear infinite; }
.fx-streaks i:nth-child(1) { top: 14%; animation-duration: 3.4s; }
.fx-streaks i:nth-child(2) { top: 27%; width: 140px; animation-duration: 5.2s; animation-delay: -1.5s; background: linear-gradient(90deg, transparent, rgba(255, 110, 115, .75), transparent); }
.fx-streaks i:nth-child(3) { top: 39%; width: 300px; animation-duration: 4.3s; animation-delay: -2.6s; opacity: .6; }
.fx-streaks i:nth-child(4) { top: 52%; width: 110px; animation-duration: 6s; animation-delay: -.8s; }
.fx-streaks i:nth-child(5) { top: 8%; width: 180px; animation-duration: 7s; animation-delay: -4s; background: linear-gradient(90deg, transparent, rgba(255, 110, 115, .65), transparent); }
.fx-streaks i:nth-child(6) { top: 33%; width: 90px; animation-duration: 3s; animation-delay: -1.1s; opacity: .5; }
.fx-streaks i:nth-child(7) { top: 46%; width: 260px; animation-duration: 5.6s; animation-delay: -3.3s; opacity: .45; }
@keyframes fx-streak { to { transform: translateX(calc(-100vw - 320px)); } }

/* Mobil dan teks masuk dengan gerakan saat slide berganti. */
.slide-img { position: relative; isolation: isolate; animation: fx-float 6s ease-in-out infinite; }
.slide-img::before { content: ""; position: absolute; inset: 6% 2% 0; z-index: -1; background: radial-gradient(ellipse at 50% 62%, rgba(255, 255, 255, .17), transparent 62%); }
@keyframes fx-float { 50% { transform: translateY(-7px); } }
.slide.active .slide-img img { animation: fx-car-in .9s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes fx-car-in { from { opacity: 0; transform: translateX(90px) scale(.96); } }
.slide.active .slide-copy > * { animation: fx-rise .6s ease-out both; }
.slide.active .slide-copy > :nth-child(2) { animation-delay: .07s; }
.slide.active .slide-copy > :nth-child(3) { animation-delay: .14s; }
.slide.active .slide-copy > :nth-child(4) { animation-delay: .21s; }
.slide.active .slide-copy > :nth-child(5) { animation-delay: .28s; }
@keyframes fx-rise { from { opacity: 0; transform: translateY(18px); } }
@media (max-width: 860px) { .fx-grid { height: 34%; } .fx-glow-a { width: 340px; height: 340px; } }
@media (prefers-reduced-motion: reduce) {
  .fx-glow, .fx-grid, .fx-streaks i, .slide-img, .slide.active .slide-img img, .slide.active .slide-copy > * { animation: none; }
  .fx-streaks { display: none; }
}

/* ---------- Eksterior & interior: banner HD + kartu fitur ---------- */
.feat-hero { position: relative; margin: 0 0 22px; border-radius: 18px; overflow: hidden; background: var(--ink); aspect-ratio: 1920 / 661; }
.feat-hero img { width: 100%; height: 100%; object-fit: cover; object-position: 100% 50%; display: block; }
.feat-hero figcaption { position: absolute; left: 0; top: 0; bottom: 0; width: 34%; display: flex; flex-direction: column; justify-content: center; padding: 0 0 0 36px; }
.feat-hero .feat-count { color: #ffd9da; }
.feat-hero h3 { color: #fff; font-size: clamp(1.2rem, 2.6vw, 2rem); font-weight: 800; letter-spacing: -.02em; margin: 6px 0 0; }
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feat-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: .2s; }
.feat-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.feat-card img { width: 100%; aspect-ratio: 15 / 8; object-fit: cover; display: block; background: var(--bg-alt); }
.feat-card > div { padding: 16px 18px 18px; }
.feat-card h3 { font-size: 1rem; margin: 0 0 6px; }
.feat-card p { font-size: .88rem; color: var(--muted); margin: 0 0 10px; }
.feat-card .badge { margin: 0; }
@media (max-width: 1020px) { .feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) {
  .feat-hero { aspect-ratio: 16 / 9; }
  .feat-hero figcaption { width: 100%; top: auto; padding: 40px 18px 14px; justify-content: flex-end; background: linear-gradient(transparent, rgba(12, 16, 22, .8)); }
}
@media (max-width: 560px) {
  /* Di HP kartu digeser ke samping, lebarnya dekat ukuran asli foto. */
  .feat-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-inline: -20px; padding: 0 20px 8px; }
  .feat-card { flex: none; width: 78%; scroll-snap-align: center; }
}

/* Logo Daihatsu di header dan footer */
.brand-logo { height: 42px; width: auto; border-radius: 8px; display: block; flex: none; }
@media (max-width: 560px) { .brand-logo { height: 36px; } }

/* Janji layanan: tampil selama belum ada ulasan pelanggan */
.pledge { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--red); border-radius: var(--radius); padding: 26px; }
.pledge h3 { font-size: 1.05rem; margin-bottom: 8px; }
.pledge p { margin: 0; color: var(--muted); font-size: .92rem; }

/* Mode contoh ulasan */
.sample-note { color: var(--muted); font-size: .8rem; margin: 14px 0 0; text-align: center; }
.review-sample { position: relative; overflow: hidden; }

/* ---------- Slideshow ulasan ---------- */
.reviews-wrap { position: relative; }
.reviews.reviews-slider { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 0 8px; }
.reviews.reviews-slider::-webkit-scrollbar { display: none; }
.reviews-slider .review { flex: none; width: calc((100% - 40px) / 3); scroll-snap-align: start; }
.rev-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 1.5rem; line-height: 1; cursor: pointer; box-shadow: var(--shadow); transition: .2s; }
.rev-nav:hover { background: var(--red); border-color: var(--red); color: #fff; }
.rev-prev { left: -21px; }
.rev-next { right: -21px; }
.rev-dots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; min-height: 8px; }
.rev-dots button { width: 8px; height: 8px; border-radius: 999px; border: 0; padding: 0; background: #cfd6de; cursor: pointer; transition: .2s; }
.rev-dots button.active { width: 26px; background: var(--red); }
@media (max-width: 1020px) { .reviews-slider .review { width: calc((100% - 20px) / 2); } }
@media (max-width: 860px) {
  .reviews-slider .review { width: 100%; }
  .rev-prev { left: -8px; }
  .rev-next { right: -8px; }
}
@media (max-width: 860px) { .rev-nav { display: none; } }

/* Judul utama halaman (H1) di daftar harga memakai gaya judul bagian */
.sec-head h1 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; letter-spacing: -.02em; }
noscript table { width: 100%; border-collapse: collapse; font-size: .9rem; }
noscript th, noscript td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; }

/* ============================================================
   Gerakan halus saat diklik
   ============================================================ */
/* Pindah halaman (beranda <-> halaman mobil) dengan fade, di browser yang mendukung. */
@view-transition { navigation: auto; }

.btn:active, .chip:active, .tenor button:active, .swatches button:active, .hero-tabs button:active { transform: scale(.96); }
.chip, .tenor button, .viewer-tabs button, .swatches button, .plp-filter label, .type-select, select, input, .rev-dots button { transition: background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .15s ease, outline-color .2s ease; }
.plp-filter label:hover { color: var(--red); }

/* Isi yang baru muncul setelah diklik (kartu hasil filter, kartu fitur, spesifikasi) masuk dengan lembut. */
@keyframes fx-in { from { opacity: 0; transform: translateY(14px); } }
@keyframes fx-fade { from { opacity: 0; } }
@keyframes fx-swap { from { opacity: 0; transform: scale(.975); } }
@keyframes fx-bump { 0% { opacity: .35; transform: translateY(6px); } 100% { opacity: 1; transform: none; } }
.cars > .car, .feat-grid > .feat-card, .type-info > div, #spec > details, #promos > *, .reviews > .pledge { animation: fx-in .4s ease both; }
.cars > .car:nth-child(2), .feat-grid > .feat-card:nth-child(2), #spec > details:nth-child(2) { animation-delay: .04s; }
.cars > .car:nth-child(3), .feat-grid > .feat-card:nth-child(3), #spec > details:nth-child(3) { animation-delay: .08s; }
.cars > .car:nth-child(4), .feat-grid > .feat-card:nth-child(4), #spec > details:nth-child(4) { animation-delay: .12s; }
.cars > .car:nth-child(5), .feat-grid > .feat-card:nth-child(5), #spec > details:nth-child(5) { animation-delay: .16s; }
.cars > .car:nth-child(n+6), .feat-grid > .feat-card:nth-child(n+6), #spec > details:nth-child(n+6) { animation-delay: .2s; }
.fx-fade { animation: fx-fade .35s ease both; }
.fx-swap { animation: fx-swap .35s ease both; }
.fx-bump { display: inline-block; animation: fx-bump .3s ease both; }
p.fx-bump { display: block; }

/* Bagian yang dibuka-tutup (spesifikasi, FAQ, daftar tipe, filter) melebar dengan halus. */
:root { interpolate-size: allow-keywords; }
details::details-content { block-size: 0; overflow: clip; transition: block-size .3s ease, content-visibility .3s allow-discrete; }
details[open]::details-content { block-size: auto; }
details[open] > :not(summary) { animation: fx-fade .35s ease both; }
summary { transition: color .2s ease; }
summary:hover { color: var(--red); }

/* Foto galeri yang diperbesar dan bar bandingkan muncul dengan fade. */
.lightbox { animation: fx-fade .25s ease both; }
.lightbox img { animation: fx-swap .3s ease both; }
.cmp-bar { animation: fx-in .3s ease both; }
.totop, .fab { transition: opacity .25s ease, transform .2s ease, background-color .2s ease; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  @view-transition { navigation: none; }
}

/* ---------- Banner: mobil meluncur masuk dari kanan, mengerem, lalu berhenti ---------- */
/* Foto mobil menghadap serong ke kiri, jadi datang dari kanan terlihat seperti melaju maju. */
.slide.active .slide-img img { animation: fx-drive-in 1.5s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes fx-drive-in {
  0%   { opacity: 0; transform: translateX(115%) skewX(-9deg); filter: blur(7px) drop-shadow(0 24px 28px rgba(0, 0, 0, .35)); }
  12%  { opacity: 1; }
  58%  { transform: translateX(-3.5%) skewX(3deg) rotate(-1.1deg); filter: blur(0) drop-shadow(0 24px 28px rgba(0, 0, 0, .35)); }
  76%  { transform: translateX(1.2%) skewX(-1deg) rotate(.5deg); }
  90%  { transform: translateX(-.4%) rotate(-.15deg); }
  100% { opacity: 1; transform: none; filter: drop-shadow(0 24px 28px rgba(0, 0, 0, .35)); }
}
/* Mobil di slide lama melaju keluar ke kiri sambil memudar. */
.slide:not(.active) .slide-img img { transform: translateX(-70%) skewX(-6deg); transition: transform .6s cubic-bezier(.5, 0, .9, .4); }
/* Garis kecepatan yang tertinggal di belakang mobil saat masuk. */
.slide-img::after { content: ""; position: absolute; left: 30%; right: -40%; top: 34%; height: 38%; z-index: -1; opacity: 0; pointer-events: none;
  background: repeating-linear-gradient(180deg, transparent 0 11px, rgba(255, 255, 255, .5) 11px 13px, transparent 13px 30px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%, transparent); mask-image: linear-gradient(90deg, transparent, #000 30%, transparent); }
.slide.active .slide-img::after { animation: fx-speedlines .9s ease-out both; }
@keyframes fx-speedlines {
  0%   { opacity: 0; transform: translateX(70%) scaleX(.6); }
  30%  { opacity: .9; }
  100% { opacity: 0; transform: translateX(-10%) scaleX(1.4); }
}
@media (prefers-reduced-motion: reduce) {
  .slide:not(.active) .slide-img img { transform: none; }
}
/* Foto yang menghadap ke kanan meluncur dari kiri supaya tetap terlihat maju. */
.slide.faces-right.active .slide-img img { animation-name: fx-drive-in-r; }
@keyframes fx-drive-in-r {
  0%   { opacity: 0; transform: translateX(-115%) skewX(9deg); filter: blur(7px) drop-shadow(0 24px 28px rgba(0, 0, 0, .35)); }
  12%  { opacity: 1; }
  58%  { transform: translateX(3.5%) skewX(-3deg) rotate(1.1deg); filter: blur(0) drop-shadow(0 24px 28px rgba(0, 0, 0, .35)); }
  76%  { transform: translateX(-1.2%) skewX(1deg) rotate(-.5deg); }
  90%  { transform: translateX(.4%) rotate(.15deg); }
  100% { opacity: 1; transform: none; filter: drop-shadow(0 24px 28px rgba(0, 0, 0, .35)); }
}
.slide.faces-right:not(.active) .slide-img img { transform: translateX(70%) skewX(6deg); }
.slide.faces-right .slide-img::after { left: -40%; right: 30%; }
.slide.faces-right.active .slide-img::after { animation-name: fx-speedlines-r; }
@keyframes fx-speedlines-r {
  0%   { opacity: 0; transform: translateX(-70%) scaleX(.6); }
  30%  { opacity: .9; }
  100% { opacity: 0; transform: translateX(10%) scaleX(1.4); }
}
/* Selama ulasan masih sedikit, kartunya diletakkan di tengah (margin otomatis menjadi 0 saat kartu sudah memenuhi lebar). */
.reviews-slider > :first-child { margin-left: auto; }
.reviews-slider > :last-child { margin-right: auto; }
