/* =========================================================
   TEMPLATE SALES ADVISOR v1 — gaya ikut benchmark
   Tukar warna di :root sahaja untuk tukar tema keseluruhan.
   ========================================================= */
:root {
  --primary: #d4111e;        /* merah utama (tukar ikut jenama) */
  --primary-dark: #9e0b14;
  --primary-soft: rgba(212, 17, 30, .18);
  --wa: #35d64a;             /* hijau butang WhatsApp */
  --wa-dark: #22b236;
  --wa-text: #06210b;
  --bg: #0c0c0f;
  --bg-2: #15161b;
  --bg-3: #1d1f26;
  --card-light: #f3f1ec;
  --text: #ffffff;
  --text-dim: #b9bcc6;
  --text-dark: #17181c;
  --line: rgba(255, 255, 255, .12);
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 18px 40px rgba(0, 0, 0, .45);
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-sign: "Great Vibes", cursive;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.2; font-weight: 700; }
p { margin: 0; }

.container { width: min(1160px, 100% - 32px); margin-inline: auto; }
.container--narrow { width: min(820px, 100% - 32px); }
.section { position: relative; padding: 80px 0; }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 36px; position: relative; z-index: 1; }
.section__head h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
.section__head p { margin-top: 8px; color: var(--text-dim); font-size: .95rem; }

/* ---------- Butang ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: var(--radius-sm); border: 1px solid transparent;
  font: 600 .95rem/1 var(--font); text-decoration: none; cursor: pointer;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--wa { background: var(--wa); color: var(--wa-text); box-shadow: 0 8px 22px rgba(53, 214, 74, .35); }
.btn--wa:hover { background: var(--wa-dark); }
.btn--ghost { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.35); color: #fff; }
.btn--dark { background: #121214; color: #fff; border-color: rgba(255,255,255,.15); }
.btn--sm { padding: 10px 16px; font-size: .85rem; }
.btn--lg { padding: 16px 24px; font-size: 1.02rem; }
.btn--block { width: 100%; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 3px rgba(212,17,30,.3); }
.link-btn { background: none; border: 0; color: var(--text-dim); text-decoration: underline; cursor: pointer; font: inherit; font-size: .85rem; }

.ico-wa {
  width: 18px; height: 18px; flex: none; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2Zm0 18.2a8.2 8.2 0 0 1-4.2-1.2l-.3-.2-3 .8.8-2.9-.2-.3A8.2 8.2 0 1 1 12 20.2Zm4.5-6.1c-.2-.1-1.5-.7-1.7-.8-.2-.1-.4-.1-.6.1l-.8 1c-.1.2-.3.2-.5.1a6.7 6.7 0 0 1-3.3-2.9c-.3-.4.3-.4.7-1.3.1-.2 0-.3 0-.4l-.8-1.8c-.2-.5-.4-.4-.6-.4h-.5a1 1 0 0 0-.7.3 3 3 0 0 0-.9 2.2 5.2 5.2 0 0 0 1.1 2.7 11.8 11.8 0 0 0 4.5 4c1.7.7 2.3.8 3.2.6.5-.1 1.5-.6 1.7-1.2.2-.6.2-1.1.2-1.2-.1-.1-.3-.2-.5-.3Z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2Zm0 18.2a8.2 8.2 0 0 1-4.2-1.2l-.3-.2-3 .8.8-2.9-.2-.3A8.2 8.2 0 1 1 12 20.2Zm4.5-6.1c-.2-.1-1.5-.7-1.7-.8-.2-.1-.4-.1-.6.1l-.8 1c-.1.2-.3.2-.5.1a6.7 6.7 0 0 1-3.3-2.9c-.3-.4.3-.4.7-1.3.1-.2 0-.3 0-.4l-.8-1.8c-.2-.5-.4-.4-.6-.4h-.5a1 1 0 0 0-.7.3 3 3 0 0 0-.9 2.2 5.2 5.2 0 0 0 1.1 2.7 11.8 11.8 0 0 0 4.5 4c1.7.7 2.3.8 3.2.6.5-.1 1.5-.6 1.7-1.2.2-.6.2-1.1.2-1.2-.1-.1-.3-.2-.5-.3Z'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(12, 12, 15, .82); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .14em; text-decoration: none; font-size: 1.05rem; }
.brand__logo { position: relative; display: block; width: 136px; height: 40px; }
.brand__logo img { width: 100%; height: 100%; object-fit: contain; }
/* Cerahkan tulisan sahaja. Klip bermula di ruang antara lambang dan tulisan. */
.brand__logo:has(> img[src="assets/perodua-logo.png"])::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: currentColor;
  mask: url("../assets/perodua-logo.png") center / contain no-repeat;
  clip-path: inset(0 0 0 35%);
}
.brand--lg .brand__logo { width: 156px; height: 44px; }
.brand__mark { width: 30px; height: 30px; border-radius: 50%; border: 2px solid #fff; display: grid; place-items: center; font-size: .8rem; letter-spacing: 0; }
.brand--lg { font-size: 1.6rem; justify-content: center; }
.brand--lg .brand__mark { width: 42px; height: 42px; font-size: 1.1rem; }

/* ---------- Hero ---------- */
/* Hero berlapis.
   --p  = progress scroll 0→1 (diset oleh JS)
   --mx/--my = posisi tetikus -1→1 (desktop sahaja)
   Lapisan jauh bergerak sedikit, lapisan dekat bergerak lebih → rasa kedalaman. */
.hero { --p: 0; --mx: 0; --my: 0; --nav: 64px; position: relative; height: 175vh; background: var(--bg); }
.hero__stage {
  position: sticky; top: var(--nav); height: calc(100vh - var(--nav)); min-height: 560px;
  overflow: hidden; display: flex; align-items: center;
}
.hero__back { position: absolute; inset: -6%; will-change: transform;
  transform: translate3d(calc(var(--mx) * -6px), calc(var(--p) * -30px + var(--my) * -4px), 0) scale(calc(1.02 + var(--p) * .05)); }
.hero__bgimg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .55; }
.hero__back::before { content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(700px 480px at 72% 46%, rgba(212,17,30,.38), transparent 62%),
    radial-gradient(900px 500px at 20% 110%, rgba(40,60,120,.35), transparent 60%),
    linear-gradient(180deg, rgba(14,15,20,.4) 0%, var(--bg) 100%); }
.hero__lights { position: absolute; inset: 0; opacity: .5;
  background-image:
    radial-gradient(3px 3px at 12% 30%, #ffd9a0, transparent), radial-gradient(2px 2px at 28% 18%, #fff, transparent),
    radial-gradient(4px 4px at 44% 26%, #ff9a9a, transparent), radial-gradient(2px 2px at 58% 14%, #fff, transparent),
    radial-gradient(3px 3px at 86% 22%, #ffd9a0, transparent), radial-gradient(2px 2px at 92% 40%, #fff, transparent),
    radial-gradient(5px 5px at 66% 34%, rgba(255,255,255,.7), transparent), radial-gradient(3px 3px at 8% 52%, #ff9a9a, transparent);
  filter: blur(1px); }
.hero__word { position: absolute; left: 50%; top: 50%; transform: translate(-36%, -62%);
  font-weight: 800; font-size: clamp(5rem, 17vw, 15rem); letter-spacing: .04em; line-height: 1; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.09); user-select: none; }

.hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: 24px; width: min(1160px, 100% - 32px); }
.hero__text { position: relative; z-index: 6; will-change: transform, opacity;
  transform: translate3d(0, calc(var(--p) * -40px), 0); opacity: calc(1 - max(0, var(--p) - .62) * 2.2); }
.eyebrow { font-weight: 600; font-size: .9rem; color: #fff; opacity: .9; margin-bottom: 10px; }
.hero h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 700; }
.hero__sub { margin-top: 14px; color: var(--text-dim); max-width: 520px; font-size: .98rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.hero__scene { position: relative; height: min(640px, 84vh); }
.hero__floor { position: absolute; left: -10%; right: -10%; bottom: 6%; height: 30%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(255,255,255,.14), transparent 70%);
  transform: translate3d(calc(var(--mx) * -8px), 0, 0); }
.hero__subject { position: absolute; z-index: 2; left: 50%; bottom: 8%; height: 88%; width: auto; max-width: none;
  transform-origin: 50% 100%; will-change: transform;
  transform: translate3d(calc(-50% + var(--mx) * -14px), calc(var(--p) * -20px + var(--my) * -6px), 0) scale(calc(1 + var(--p) * .05));
  filter: drop-shadow(0 24px 40px rgba(0,0,0,.6));
  mask-image: linear-gradient(to bottom, #000 76%, rgba(0,0,0,.7) 86%, rgba(0,0,0,.25) 94%, transparent 100%); }
.signature { position: absolute; z-index: 3; right: 0; top: 10%; text-align: right; rotate: -6deg;
  transform: translate3d(calc(var(--mx) * -18px), calc(var(--p) * -50px), 0); }
.signature__name { display: block; font-family: var(--font-sign); font-size: clamp(2.6rem, 5vw, 3.6rem); line-height: 1; color: #fff; text-shadow: 0 4px 20px rgba(0,0,0,.6); }
.signature__sub { display: block; font-size: .72rem; font-weight: 600; color: #fff; opacity: .85; margin-top: 4px; }
/* Kereta: lapisan paling dekat. "Memandu masuk" dan mendekati kamera bila scroll */
.hero__car { position: absolute; z-index: 4; left: -20%; bottom: 0; width: 92%;
  transform-origin: 30% 100%; will-change: transform;
  transform: translate3d(calc((1 - var(--p)) * -16% + var(--mx) * -30px), calc(var(--my) * -8px), 0) scale(calc(.94 + var(--p) * .14)); }
.hero__car svg, .hero__car img { width: 100%; height: auto; filter: drop-shadow(0 18px 18px rgba(0,0,0,.6)); }
/* Beat kedua */
.hero__promo { position: absolute; z-index: 5; right: 2%; bottom: 30%; max-width: 230px;
  padding: 12px 16px; border-radius: 12px; background: var(--primary); box-shadow: var(--shadow);
  opacity: clamp(0, (var(--p) - .45) * 4, 1);
  transform: translate3d(0, calc((1 - clamp(0, (var(--p) - .45) * 4, 1)) * 24px), 0); }
.hero__promo small { display: block; font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
.hero__promo strong { font-size: 1rem; line-height: 1.25; }
.hero__mist { position: absolute; z-index: 5; left: -30%; right: -30%; bottom: -4%; height: 22%; pointer-events: none;
  background: linear-gradient(180deg, transparent, var(--bg) 85%);
  transform: translate3d(calc(var(--mx) * -40px), 0, 0); }

.hero__models { padding: 18px 0 26px; border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.03), transparent); }
.hero-model { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 150px; }
.hero-model span { font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.hero-model svg, .hero-model img { width: 120px; height: auto; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; position: relative; z-index: 1; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee__track { display: flex; gap: 18px; width: max-content; animation: marquee 32s linear infinite; }
.marquee--slow .marquee__track { animation-duration: 45s; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 1. Banner promo (slider poster) ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.banners { padding: 22px 0 10px; background: radial-gradient(900px 300px at 50% 0%, rgba(212,17,30,.25), transparent 70%), var(--bg); }
.banners__wrap { position: relative; }
.banners__track {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; padding: 4px 2px 8px; outline: none;
}
.banners__track::-webkit-scrollbar { display: none; }
.banner-card {
  flex: 0 0 calc((100% - 32px) / 3); scroll-snap-align: start; position: relative; display: block;
  aspect-ratio: var(--banner-ratio, 4 / 5); border-radius: var(--radius); overflow: hidden;
  background: var(--bg-3); border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: transform .25s ease;
}
.banner-card:hover { transform: translateY(-3px); }
.banner-card img { width: 100%; height: 100%; object-fit: cover; }
.banner-card__cta { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px; border-radius: var(--radius-sm); background: rgba(12,12,15,.72); backdrop-filter: blur(6px);
  font-size: .82rem; font-weight: 600; opacity: 0; transform: translateY(6px); transition: opacity .2s ease, transform .2s ease; }
.banner-card:hover .banner-card__cta, .banner-card:focus-visible .banner-card__cta { opacity: 1; transform: none; }
.banner-card--default { display: flex; flex-direction: column; justify-content: flex-end; padding: 22px;
  background: linear-gradient(160deg, var(--primary), var(--primary-dark)); }
.banner-card--default img { position: absolute; right: -10%; bottom: 0; height: 78%; width: auto; object-fit: contain; }
.banner-card--default strong { position: relative; font-size: 1.4rem; line-height: 1.2; max-width: 70%; }
.banner-card--default span { position: relative; font-size: .85rem; opacity: .9; margin-top: 6px; max-width: 70%; }
.banners__arrow { position: absolute; top: 50%; z-index: 2; width: 42px; height: 42px; margin-top: -21px; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(12,12,15,.8); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.banners__arrow--prev { left: -14px; }
.banners__arrow--next { right: -14px; }
.banners__arrow[hidden] { display: none; }
.banners__dots { display: flex; justify-content: center; gap: 8px; margin-top: 10px; min-height: 8px; }
.banners__dots button { width: 8px; height: 8px; padding: 0; border-radius: 99px; border: 0; background: rgba(255,255,255,.3); cursor: pointer; transition: width .25s ease, background .25s ease; }
.banners__dots button.is-active { width: 22px; background: var(--primary); }

.hero__badges { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hero__badges li { font-size: .76rem; font-weight: 600; padding: 6px 12px; border-radius: 99px; background: rgba(255,255,255,.07); border: 1px solid var(--line); }
.hero__badges li::before { content: "✓ "; color: var(--wa); }

/* ---------- Sebab pilih jenama ---------- */
.reasons { background: radial-gradient(700px 400px at 20% 50%, rgba(255,255,255,.06), transparent 70%), var(--bg); }
.reasons__panel {
  display: grid; grid-template-columns: .8fr 1.2fr; align-items: end; gap: 24px;
  border-radius: var(--radius); overflow: hidden; padding: 0 36px;
  background: linear-gradient(135deg, rgba(255,255,255,.12), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(6px);
}
.reasons__photo img { max-height: 380px; width: auto; margin-top: 30px; }
.reasons__body { padding: 40px 0; align-self: center; }
.reasons__body h2 { font-size: clamp(1.4rem, 2.8vw, 2rem); margin-bottom: 22px; }
.reasons__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.reasons__list li { display: flex; gap: 14px; align-items: flex-start; font-size: .92rem; }
.reasons__ico { flex: none; width: 34px; height: 34px; border-radius: 8px; background: var(--primary); display: grid; place-items: center; }
.reasons__ico svg { width: 18px; height: 18px; }

/* ---------- Bajet + model ---------- */
.models { background: linear-gradient(180deg, var(--bg), #121318 50%, var(--bg)); }
.budget { background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; margin-bottom: 26px; }
.budget__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.budget__label { font-weight: 600; }
.budget__value strong { color: var(--wa); font-size: 1.15rem; }
.budget input[type=range], .calc input[type=range] { width: 100%; accent-color: var(--primary); }
.budget__opts { display: flex; flex-wrap: wrap; align-items: end; gap: 14px; margin-top: 12px; }
.budget__opts label { display: grid; gap: 4px; font-size: .8rem; color: var(--text-dim); }
.budget__result { margin-top: 12px; font-size: .88rem; color: var(--text-dim); }
.budget__result strong { color: #fff; }

select, input[type=number], input[type=tel], input:not([type]), textarea {
  font: inherit; font-size: .92rem; color: var(--text); background: #0f1014;
  border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius-sm); padding: 11px 12px; width: 100%;
}
select:focus, input:focus, textarea:focus { outline: 2px solid var(--primary); outline-offset: 1px; }
.budget select { width: auto; min-width: 140px; }

.models__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.model-card { position: relative; overflow: hidden; border-radius: var(--radius-sm); background: #1b1c22; border: 1px solid var(--line); padding: 20px; transition: transform .25s ease, opacity .3s ease; }
.model-card:hover { transform: translateY(-4px); }
.model-card.is-out { display: none; }
.model-card__brush { position: absolute; left: -10%; top: -6%; width: 85%; height: 62%; background: var(--primary); transform: skewX(-18deg) rotate(-8deg); border-radius: 0 0 60px 0; opacity: .95; }
.model-card__brush::after { content: ""; position: absolute; right: -30px; top: 30%; width: 60px; height: 14px; background: var(--primary); transform: rotate(-20deg); border-radius: 10px; }
.model-card__top { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 12px; align-items: center; }
.model-card__car svg, .model-card__car img { width: 100%; height: auto; filter: drop-shadow(0 12px 14px rgba(0,0,0,.5)); }
.model-card__feat { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: .78rem; }
.model-card__feat li::before { content: "✔"; color: var(--wa); margin-right: 6px; }
.model-card h3 { position: relative; font-size: 1.05rem; margin-top: 8px; }
.model-card__tag { position: relative; font-size: .78rem; color: var(--text-dim); }
.model-card__price { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: 14px 0 12px; padding: 10px 14px; border-radius: 6px; background: linear-gradient(90deg, var(--primary), var(--primary-dark)); }
.model-card__price small { display: block; font-size: .66rem; opacity: .85; }
.model-card__price strong { font-size: .95rem; }
.model-card__price .right { text-align: right; }
.model-card__price .right strong { font-size: 1.15rem; }
.model-card__btns { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.model-card__btns .btn { padding: 10px; font-size: .82rem; }
.btn--light { background: #f1f1f1; color: #222; }
.models__empty { grid-column: 1 / -1; text-align: center; padding: 30px; color: var(--text-dim); border: 1px dashed var(--line); border-radius: var(--radius); }

/* ---------- Kalkulator ---------- */
.calc__card { display: grid; grid-template-columns: 1.1fr .9fr; gap: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--bg-3); }
.calc__inputs { padding: 28px; display: grid; gap: 16px; }
.calc__inputs label { display: grid; gap: 6px; font-size: .85rem; color: var(--text-dim); }
.calc__inputs strong { color: #fff; }
.calc__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: end; }
@media (max-width: 520px) { .calc__row { grid-template-columns: 1fr; } }
.calc__row label { display: grid; gap: 6px; font-size: .85rem; color: var(--text-dim); }
.calc__rebate { margin-top: -6px; font-size: .82rem; font-weight: 600; color: var(--wa); min-height: 1.2em; }
.calc__break dd.is-rebate { color: #b6ffbf; }
.model-card__rebate { position: absolute; z-index: 2; right: 14px; top: 14px; padding: 5px 10px; border-radius: 99px;
  background: var(--wa); color: var(--wa-text); font-size: .72rem; font-weight: 700; box-shadow: 0 6px 16px rgba(0,0,0,.35); }
.calc__tenure span { font-size: .85rem; color: var(--text-dim); }
.seg { display: flex; gap: 8px; margin-top: 6px; }
.seg button { flex: 1; padding: 10px; border-radius: var(--radius-sm); border: 1px solid rgba(255,255,255,.2); background: #0f1014; color: #fff; font: 600 .88rem var(--font); cursor: pointer; }
.seg button.is-active { background: var(--primary); border-color: var(--primary); }
.calc__result { padding: 28px; background: linear-gradient(160deg, var(--primary), var(--primary-dark)); display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.calc__label { font-size: .85rem; opacity: .9; }
.calc__monthly { font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 800; line-height: 1; }
.calc__monthly small { font-size: 1rem; font-weight: 500; opacity: .85; }
.calc__break { margin: 0; display: grid; gap: 6px; font-size: .85rem; }
.calc__break div { display: flex; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.2); padding-bottom: 6px; }
.calc__break dd { margin: 0; font-weight: 600; }
.note { font-size: .74rem; opacity: .75; margin-top: 4px; }

/* ---------- Langkah ---------- */
/* Langkah dipin: section tinggi, isi "melekat", langkah bertukar ikut scroll */
.steps { position: relative; height: 300vh; }
.steps__pin { position: sticky; top: 64px; height: calc(100vh - 64px); min-height: 520px; overflow: hidden;
  display: flex; align-items: center; }
.steps__pin > .container { position: relative; z-index: 1; }
.steps__bg { position: absolute; inset: 0; background: radial-gradient(700px 300px at 50% 0%, rgba(255,255,255,.08), transparent 70%), linear-gradient(180deg, #2a2c33, #111216 70%); }
.steps__bar { height: 4px; margin: 26px auto 0; max-width: 420px; border-radius: 4px; background: rgba(255,255,255,.12); overflow: hidden; }
.steps__bar span { display: block; height: 100%; width: 100%; background: var(--primary); transform-origin: 0 50%; transform: scaleX(var(--sp, 0)); }
.steps__grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.step { position: relative; overflow: hidden; min-height: 240px; padding: 22px 18px; border-radius: var(--radius-sm); background: linear-gradient(180deg, rgba(60,62,70,.85), rgba(25,26,31,.9)); border: 1px solid rgba(255,255,255,.12); cursor: pointer; transition: background .35s ease, transform .35s ease; }
.step h3 { font-size: .92rem; text-align: center; }
.step p { font-size: .8rem; text-align: center; margin-top: 8px; opacity: 0; max-height: 0; transition: opacity .35s ease, max-height .35s ease; }
.step__num { position: absolute; left: 0; right: 0; bottom: -18px; text-align: center; font-size: 6.5rem; font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.28); }
.step.is-active { background: linear-gradient(180deg, #e3141f, var(--primary-dark)); transform: translateY(-6px); }
.step.is-active p { opacity: 1; max-height: 120px; }
.step.is-active .step__num { -webkit-text-stroke-color: rgba(255,255,255,.45); }

/* ---------- Borang ---------- */
.form-sec { background: var(--bg); }
.form-card { max-width: 860px; margin: 0 auto; border-radius: var(--radius); background: var(--bg-3); border: 1px solid var(--line); overflow: hidden; }
.form-card__head { padding: 26px 28px; background: linear-gradient(100deg, var(--primary), var(--primary-dark)); text-align: center; }
.form-card__head h2 { font-size: clamp(1.25rem, 2.6vw, 1.7rem); }
.form-card__head p { font-size: .88rem; opacity: .9; margin-top: 6px; }
#leadForm { padding: 26px 28px 30px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid label { display: grid; gap: 6px; font-size: .84rem; color: var(--text-dim); }
.span-2 { grid-column: 1 / -1; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .8rem; color: var(--text-dim); margin: 16px 0 6px; }
.consent input { margin-top: 3px; accent-color: var(--primary); }
.form-error { color: #ff8a8a; font-size: .85rem; min-height: 1.2em; margin-bottom: 8px; }
.is-invalid { border-color: #ff6b6b !important; }

/* ---------- Testimoni ---------- */
.testi__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.testi-card { background: #fff; color: var(--text-dark); border-radius: var(--radius-sm); padding: 16px; box-shadow: var(--shadow); }
.testi-card img { border-radius: 6px; }
.testi-card__head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.testi-card__av { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), #ff7a7a); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .85rem; }
.testi-card__name { font-weight: 600; font-size: .85rem; }
.testi-card__stars { color: #f5b301; font-size: .75rem; letter-spacing: 2px; }
.testi-card p { font-size: .85rem; }
.testi-card__ph { margin-top: 10px; height: 110px; border-radius: 6px; background: linear-gradient(135deg, #e9e9ee, #d5d7de); display: grid; place-items: center; font-size: .72rem; color: #777; }

/* ---------- FAQ ---------- */
.faq__list { display: grid; gap: 10px; }
.faq details { background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 18px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 0; font-weight: 600; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--primary); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 16px; color: var(--text-dim); font-size: .9rem; }

/* ---------- CTA akhir ---------- */
.final {
  position: relative; display: grid; grid-template-columns: 1.3fr .7fr; align-items: end; gap: 10px;
  border-radius: var(--radius-sm); overflow: hidden; padding: 0 36px; margin-bottom: 40px;
  background: linear-gradient(110deg, var(--primary) 0%, #e01a26 55%, var(--primary-dark) 100%);
}
.final__text { padding: 44px 0; }
.final h2 { font-size: clamp(1.5rem, 3.4vw, 2.3rem); }
.final p { margin: 10px 0 22px; font-size: .9rem; opacity: .92; }
.final__photo { max-height: 300px; width: auto; justify-self: center; margin-top: 20px; }

/* ---------- Footer ---------- */
.footer { text-align: center; padding: 40px 0 90px; border-top: 1px solid var(--line); background: linear-gradient(180deg, #111216, #0a0a0c); }
.footer__tagline { font-style: italic; margin-top: 10px; font-weight: 500; }
.footer__meta { color: var(--text-dim); font-size: .85rem; margin-top: 6px; }
.footer__small { color: var(--text-dim); font-size: .72rem; margin-top: 18px; opacity: .8; }
.socials { display: flex; justify-content: center; gap: 10px; margin-top: 14px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-3); border: 1px solid var(--line); }
.socials svg { width: 18px; height: 18px; fill: #fff; }

/* ---------- WhatsApp terapung ---------- */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--wa); color: var(--wa-text); box-shadow: 0 10px 26px rgba(0,0,0,.45); }
.wa-float .ico-wa { width: 28px; height: 28px; }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee__track { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .banner-card, .model-card, .step { transition: none; }
  /* Tiada pin, tiada gerakan: komposisi statik yang lengkap */
  .hero { height: auto; }
  .hero__stage { position: relative; top: 0; height: auto; padding: 40px 0 10px; }
  .hero__promo { opacity: 1; transform: none; }
  .steps { height: auto; }
  .steps__pin { position: relative; top: 0; height: auto; padding: 80px 0; }
  .steps__bar { display: none; }
}

/* ---------- Responsif ---------- */
@media (max-width: 960px) {
  .banner-card { flex-basis: calc((100% - 16px) / 2); }
  .testi__grid { grid-template-columns: repeat(2, 1fr); }
  .steps__grid { grid-template-columns: repeat(2, 1fr); }
  .calc__card { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .banner-card { flex-basis: 84%; }
  .banners__arrow { display: none; }
  .banner-card__cta { opacity: 1; transform: none; }
  .section { padding: 60px 0; }
  /* Hero telefon: susunan berasingan. Scene di atas, teks di bawah, pin lebih pendek */
  .hero { height: 150vh; }
  .hero__stage { align-items: flex-start; min-height: 0; padding-top: 8px; }
  .hero__grid { grid-template-columns: 1fr; gap: 6px; }
  .hero__scene { order: -1; height: 40vh; min-height: 260px; max-height: 380px; }
  .hero__subject { height: 96%; bottom: 4%; }
  .hero__car { width: 74%; left: -6%; }
  .hero__promo { right: 0; bottom: 20%; max-width: 160px; padding: 8px 12px; }
  .hero__mist { bottom: -12%; height: 30%; background: linear-gradient(180deg, transparent, rgba(12,12,15,.75) 55%, transparent); }
  .hero__promo strong { font-size: .85rem; }
  .hero__word { font-size: 7rem; transform: translate(-50%, -110%); }
  .hero__text { text-align: center; }
  .hero__badges { justify-content: center; margin-top: 12px; }
  .hero h1 { font-size: 1.85rem; }
  .hero__sub { margin: 10px auto 0; font-size: .88rem; }
  .hero__ctas { justify-content: center; margin-top: 16px; gap: 10px; }
  .hero__ctas .btn { padding: 12px 16px; font-size: .88rem; }
  .signature { top: 4%; right: 0; }
  .signature__name { font-size: 2.3rem; }
  .steps { height: 260vh; }
  .steps__grid { gap: 10px; }
  .step { min-height: 150px; padding: 16px 12px; }
  .step__num { font-size: 4.6rem; bottom: -10px; }
  .steps .section__head { margin-bottom: 20px; }
  .nav .btn span:last-child { display: none; }
  .nav .btn { padding: 10px; }
  .reasons__panel { grid-template-columns: 1fr; padding: 0 20px; }
  .reasons__photo { order: 2; display: flex; justify-content: center; }
  .reasons__photo img { max-height: 260px; }
  .reasons__body { padding: 28px 0 0; }
  .models__grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .testi__grid { grid-template-columns: 1fr; }
  .final { grid-template-columns: 1fr; padding: 0 20px; text-align: center; }
  .final__text { padding: 32px 0 0; }
  .final__photo { max-height: 220px; }
}
@media (max-width: 420px) {
  .step h3 { font-size: .8rem; }
  .step p { font-size: .74rem; }
  .model-card__top { grid-template-columns: 1fr; }
}

/* Reduced-motion mesti menang ke atas ketinggian pin versi telefon */
@media (prefers-reduced-motion: reduce) {
  .hero, .steps { height: auto; }
}

/* Loader lawatan pertama semasa data Google Sheet dimuatkan */
.kp-loading main, .kp-loading footer, .kp-loading .wa-float { opacity: 0; }
.kp-loading body::after {
  content: ""; position: fixed; left: 50%; top: 50%; width: 38px; height: 38px; margin: -19px 0 0 -19px;
  border-radius: 50%; border: 3px solid rgba(255,255,255,.15); border-top-color: var(--primary);
  animation: kp-spin .8s linear infinite;
}
@keyframes kp-spin { to { transform: rotate(360deg); } }

/* ---------- DEMO (salinan demo KlikPro sahaja) ---------- */
.demo-ribbon { background: #ffd23f; color: #17181c; text-align: center; font-size: .78rem; font-weight: 600;
  line-height: 1.35; padding: 7px 16px; letter-spacing: .01em; }
.testi-card { position: relative; }
.testi-card__tag { position: absolute; top: 10px; right: 10px; z-index: 1; font-size: .66rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em; padding: 3px 8px; border-radius: 99px; background: #ffd23f; color: #17181c; }
.demo-ribbon__short { display: none; }
@media (max-width: 640px) { .demo-ribbon__full { display: none; } .demo-ribbon__short { display: inline; } }

/* Sasaran sentuh ≥44px di mobile */
@media (max-width: 640px) { #budgetReset { min-height: 44px; } }
