/*
  SKA Autohub — reka bentuk "virtual showroom".
  Dua versi warna (skin), dipilih dengan atribut pada <html>:
    <html data-skin="gelap">   showroom waktu malam: hitam, emas logo
    <html data-skin="terang">  showroom siang: putih hangat, emas gelap
  Semua warna ialah token di bawah. Komponen guna token sahaja, jadi menukar skin
  hanya menukar nilai token, bukan susun atur.
  Prinsip: gambar kereta, harga dan butang WhatsApp paling menonjol. Animasi ringan
  sahaja (transform dan opacity), sesuai untuk telefon.
  Layout: satu lajur 1200px, kandungan rata kiri.
*/

/* ---------- Token: TERANG (asal) ---------- */
:root {
  --bg: #f5f4f1;            /* latar halaman */
  --bg-alt: #ffffff;        /* bahagian selang-seli */
  --bg-band: #ebe8e1;       /* jalur bahagian khas (serahan, kenapa, hubungi) */
  --surface: #ffffff;       /* kad, input, dialog */
  --surface-2: #f2f0eb;     /* isian lembut: jubin, langkah */
  --text: #16171b;
  --text-2: #5a5c63;
  --text-3: #8a8c93;
  --line: #e3e0d9;
  --line-2: #cfcbc2;        /* sempadan input dan butang ghost */
  --accent: #b88a2e;        /* emas hiasan */
  --accent-text: #8a6620;   /* emas untuk teks (kontras cukup atas putih) */
  --accent-soft: #f6efdc;
  --metal-text: linear-gradient(180deg, #c99d40 0%, #9c7629 55%, #b88a2e 100%);  /* nombor besar dan nama */
  --primary: #16171b;       /* butang utama gelap */
  --on-primary: #ffffff;
  --primary-hover: #2b2d33;
  --chip-on-bg: #16171b;
  --chip-on-fg: #f5e2a0;
  --feature-bg: #16171b;    /* blok aksen: jumlah stok, keputusan kalkulator, bar promo */
  --feature-fg: #ffffff;
  --feature-fg-2: #a7a7ad;
  --pill-bg: rgba(255, 255, 255, .94);  /* label di atas foto */
  --pill-fg: #16171b;
  --header-bg: #f5f4f1;
  --header-fg: #16171b;
  --footer-bg: #16171b;
  --footer-fg: #a7a7ad;
  --footer-strong: #ffffff;
  --footer-line: #2a2b30;
  --ph-bg: #e7e4dd;
  --ph-fg: #8a8c93;
  --note-bg: #fff6e0; --note-line: #f0d99a; --note-fg: #6b4a00;
  --shadow: rgba(20, 24, 32, .12);
  --backdrop: rgba(10, 12, 16, .6);
  --hero-shade: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.18) 100%);
  --st-ready: #8a6620;    --st-ready-soft: #f6efdc;
  --st-incoming: #1f5fbf; --st-incoming-soft: #e6eefa;
  --st-booked: #a86400;   --st-booked-soft: #f8ecd9;
  --st-sold: #59636f;     --st-sold-soft: #eceef1;
  --card-glow: none;
  color-scheme: light;

  /* tetap untuk kedua-dua skin */
  --gold: #d4ae55;
  --gold-hi: #f5e2a0;
  --gold-metal: linear-gradient(180deg, #f7e7a8 0%, #d9b45c 38%, #b88a2e 55%, #f0d88e 78%, #c79b3f 100%);
  --stamp: #c62828;
  --wa: #1c9e4f;
  --wa-deep: #157a3c;

  --f-display: "Syncopate", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --r-card: 10px;
  --r-ctl: 10px;
}

/* ---------- Token: GELAP ---------- */
:root[data-skin="gelap"] {
  --bg: #0b0b0d;
  --bg-alt: #111114;
  --bg-band: #060607;
  --surface: #16161a;
  --surface-2: #1e1e23;
  --text: #f3f2ee;
  --text-2: #a9a9b0;
  --text-3: #74747c;
  --line: #26262c;
  --line-2: #3a3a42;
  --accent: #d4ae55;
  --accent-text: #e2c06f;
  --accent-soft: rgba(212, 174, 85, .14);
  --metal-text: var(--gold-metal);
  --primary: #f3f2ee;
  --on-primary: #16171b;
  --primary-hover: #ffffff;
  --chip-on-bg: #d4ae55;
  --chip-on-fg: #16171b;
  --feature-bg: #16161a;
  --feature-fg: #ffffff;
  --feature-fg-2: #a9a9b0;
  --pill-bg: rgba(14, 14, 17, .88);
  --pill-fg: #ffffff;
  --header-bg: #0b0b0d;
  --header-fg: #ffffff;
  --footer-bg: #050506;
  --footer-fg: #8d8d94;
  --footer-strong: #ffffff;
  --footer-line: #1c1c21;
  --ph-bg: #1a1a1f;
  --ph-fg: #6c6c74;
  --note-bg: rgba(255, 246, 224, .08); --note-line: rgba(240, 217, 154, .35); --note-fg: #f0d99a;
  --shadow: rgba(0, 0, 0, .5);
  --backdrop: rgba(0, 0, 0, .72);
  --hero-shade: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.45) 100%);
  --st-ready: #e2c06f;    --st-ready-soft: rgba(212, 174, 85, .15);
  --st-incoming: #86aefc; --st-incoming-soft: rgba(110, 155, 255, .15);
  --st-booked: #f2a854;   --st-booked-soft: rgba(242, 168, 84, .15);
  --st-sold: #9aa3ad;     --st-sold-soft: rgba(154, 163, 173, .15);
  --card-glow: 0 0 12px 2px rgba(212, 174, 85, .45);
  color-scheme: dark;
}

/* ---------- Asas ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
html.modal-open { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; text-wrap: balance; }
h2 { font: 800 clamp(1.6rem, 1.1rem + 2vw, 2.6rem)/1.1 var(--f-body); letter-spacing: -.025em; }
h3, h4 { font-family: var(--f-body); font-weight: 800; }
p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}

/* ---------- Butang ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 0 1.3rem;
  border: 1.5px solid transparent; border-radius: var(--r-ctl);
  font: 700 .95rem/1 var(--f-body); text-decoration: none; cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, filter .2s ease, transform .12s var(--ease-out);
}
.btn:active { transform: scale(.97); }
.btn-sm { min-height: 44px; padding: 0 1rem; font-size: .875rem; }
.btn-lg { min-height: 54px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn-ink { background: var(--primary); color: var(--on-primary); }
.btn-ink:hover { background: var(--primary-hover); }
.btn-gold { background: var(--gold-metal); color: #16171b; }
.btn-gold:hover { filter: brightness(1.06); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-deep); }
.btn-outline { background: transparent; border-color: var(--text); color: var(--text); }
.btn-outline:hover { background: var(--text); color: var(--bg); }
.btn-ghost { background: transparent; border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { border-color: var(--text); }

/* ---------- Header ---------- */
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 60; background: var(--header-bg);
}
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--header-bg); color: var(--header-fg);
  box-shadow: 0 1px 0 var(--line);
}
.header-inner { display: flex; align-items: center; gap: 1.5rem; height: 64px; }
.logo { display: flex; align-items: center; gap: .6rem; text-decoration: none; margin-right: auto; }
.logo-mark { width: 34px; height: auto; }
/* logo emas asal dibuat untuk latar gelap: dalam skin terang, letak atas jubin gelap kecil */
:root:not([data-skin="gelap"]) .logo-mark { background: #0b0b0d; border-radius: 8px; padding: 3px; }
.logo-name { font: 700 1rem/1 var(--f-display); letter-spacing: .01em; color: var(--accent-text); }
.logo-name span { color: var(--header-fg); }
.nav { display: flex; gap: 1.6rem; }
.nav a { text-decoration: none; font-weight: 600; font-size: .92rem; opacity: .75; transition: opacity .2s ease; }
.nav a:hover { opacity: 1; }
.nav-toggle { display: none; }

@media (max-width: 860px) {
  .header-inner { gap: .6rem; }
  .nav-toggle {
    display: grid; place-content: center; gap: 6px;
    width: 44px; height: 44px; border-radius: var(--r-ctl); cursor: pointer;
    border: 1px solid var(--line-2); background: transparent; color: inherit;
  }
  .nav-toggle span { display: block; width: 18px; height: 2px; background: currentColor; transition: transform .2s var(--ease-out); }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; display: none;
    background: var(--header-bg); border-bottom: 1px solid var(--line);
    padding: .5rem max(16px, env(safe-area-inset-right, 0px)) 1rem max(16px, env(safe-area-inset-left, 0px));
  }
  .nav.is-open { display: flex; }
  .nav a { padding: .9rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; opacity: 1; }
  .nav a:last-child { border-bottom: 0; }
}
@media (max-width: 400px) { .logo-name { font-size: .85rem; } }
@media (max-width: 350px) { .logo-name { display: none; } }

/* ---------- Hero: intro pendek ----------
   Foto kereta sebenar + nama emas + CTA. Masuk sekali dalam < 1 saat (opacity dan
   transform sahaja). Butang CTA boleh ditekan serta-merta. */
.intro { background: var(--bg); padding-block: clamp(1rem, 3vw, 2.5rem) clamp(1.5rem, 4vw, 3rem); }
.intro-inner {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(1.25rem, 4vw, 3.5rem); align-items: center;
}
.intro-copy { display: grid; gap: 1rem; justify-items: start; min-width: 0; }
.intro-kicker { font-weight: 700; color: var(--accent-text); letter-spacing: .02em; }
.wordmark {
  position: relative; display: block;
  /* "AUTOHUB" mesti muat dalam lajur teks pada semua lebar skrin */
  font: 700 clamp(2.3rem, calc(6.6vw - 8px), 4.6rem)/.95 var(--f-display); letter-spacing: -.03em;
}
.wm-tilt { position: relative; display: block; }
.wm-dim { color: var(--text); opacity: .14; }
.wm-lit {
  position: absolute; inset: 0;
  background: var(--metal-text); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.intro-lede { max-width: 32rem; color: var(--text-2); font-size: 1.05rem; }
.intro-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .25rem; }
.intro-media {
  position: relative; aspect-ratio: 4 / 3; max-width: 100%; border-radius: 16px; overflow: hidden;
  background: var(--ph-bg); box-shadow: 0 24px 60px var(--shadow);
}
.intro-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.intro-media::after { content: ""; position: absolute; inset: 0; background: var(--hero-shade); pointer-events: none; }
/* masuk: teks naik sikit, foto pudar masuk, nama emas "menyala" */
.intro-kicker, .wordmark, .intro-lede, .intro-cta { animation: rise .45s var(--ease-out) both; }
.wordmark { animation-delay: .05s; }
.intro-lede { animation-delay: .11s; }
.intro-cta { animation-delay: .16s; }
.wm-lit { animation: lit .7s ease .2s both; }
.intro-media img { opacity: 0; transition: opacity .5s ease; }
.intro-media img.is-loaded { opacity: 1; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
@keyframes lit { from { opacity: .25; } }
@media (max-width: 760px) {
  .intro { padding-top: 0; }
  .intro-inner { grid-template-columns: minmax(0, 1fr); }
  /* foto penuh dari tepi ke tepi di telefon */
  .intro-media { order: -1; max-width: none; margin-inline: calc(-1 * max(16px, env(safe-area-inset-left, 0px))) calc(-1 * max(16px, env(safe-area-inset-right, 0px))); border-radius: 0 0 16px 16px; box-shadow: none; }
}

/* ---------- Cari kereta ---------- */
.finder-band { background: var(--bg); padding-block: 0 clamp(2rem, 5vw, 3rem); }
.finder {
  display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr) auto; gap: .9rem; align-items: end;
  background: var(--surface); border-radius: 14px; padding: clamp(1rem, 3vw, 1.5rem);
  box-shadow: 0 0 0 1px var(--line), 0 16px 40px var(--shadow);
}
.finder-go { min-width: 120px; }
.suggest { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; font-size: .85rem; color: var(--text-2); }
.suggest-chip {
  min-height: 44px; padding: 0 .9rem; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--surface-2); color: var(--text);
  font: 600 .85rem var(--f-body); cursor: pointer;
  transition: border-color .2s ease;
}
.suggest-chip:hover { border-color: var(--text); }
.finder-alt { grid-column: 1 / -1; font-size: .9rem; color: var(--text-2); }
.finder-alt a { color: var(--text); font-weight: 700; }
@media (max-width: 760px) {
  .finder { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .finder-q { grid-column: 1 / -1; }
}
.facts {
  list-style: none; margin: clamp(1.75rem, 4vw, 2.5rem) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem 2rem;
}
.facts li { display: grid; gap: .15rem; }
.facts strong { font-size: 1rem; }
.facts span { font-size: .88rem; color: var(--text-2); line-height: 1.45; }
@media (max-width: 900px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Status stok ---------- */
.stockboard-band { background: var(--bg); padding-block: 0 clamp(2rem, 5vw, 3rem); }
.stockboard { display: grid; gap: .9rem; }
.sb-total {
  display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem;
  padding: clamp(1.1rem, 3vw, 1.6rem) clamp(1.1rem, 3vw, 1.75rem);
  border-radius: 14px; background: var(--feature-bg); color: var(--feature-fg);
  box-shadow: inset 0 0 0 1px rgba(212, 174, 85, .3);
}
.sb-total-mark { width: 48px; height: auto; flex: none; }
.sb-total-count { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .9rem; }
.sb-total-num {
  font: 700 clamp(2.6rem, 1.6rem + 4.5vw, 4.2rem)/1 var(--f-display); letter-spacing: -.03em; font-variant-numeric: tabular-nums;
  background: var(--gold-metal); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sb-total-label { font-weight: 800; font-size: .88rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-hi); }
.sb-total-link { flex-basis: 100%; font-weight: 700; text-decoration: none; color: var(--feature-fg); opacity: .85; }
.sb-total-link:hover { opacity: 1; }
.sb-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .9rem; }
.sb-card {
  --sb: var(--text); --sb-soft: var(--surface-2);
  display: grid; align-content: start; gap: .3rem; min-width: 0;
  padding: clamp(.95rem, 2.5vw, 1.3rem); border-radius: 14px;
  background: var(--surface); box-shadow: 0 0 0 1px var(--line);
}
.sb-ready { --sb: var(--st-ready); --sb-soft: var(--st-ready-soft); }
.sb-incoming { --sb: var(--st-incoming); --sb-soft: var(--st-incoming-soft); }
.sb-booked { --sb: var(--st-booked); --sb-soft: var(--st-booked-soft); }
.sb-sold { --sb: var(--st-sold); --sb-soft: var(--st-sold-soft); }
.sb-top { display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin-bottom: .55rem; }
.sb-icon { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; flex: none; background: var(--sb-soft); color: var(--sb); }
.sb-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sb-pct { padding: .25rem .65rem; border-radius: 999px; background: var(--sb-soft); color: var(--sb); font-weight: 800; font-size: .84rem; font-variant-numeric: tabular-nums; }
.sb-num { font: 700 clamp(2rem, 1.4rem + 2.6vw, 2.9rem)/1.05 var(--f-display); letter-spacing: -.03em; color: var(--sb); font-variant-numeric: tabular-nums; }
.sb-label { font-weight: 800; font-size: .82rem; letter-spacing: .07em; text-transform: uppercase; color: var(--text); line-height: 1.3; }
.sb-bar { height: 5px; border-radius: 5px; background: var(--surface-2); margin-block: .65rem .45rem; overflow: hidden; }
.sb-bar span { display: block; height: 100%; border-radius: inherit; background: var(--sb); }
.sb-sub { font-size: .9rem; color: var(--text-2); }
.sb-split { display: grid; gap: .35rem; margin: 0; }
.sb-split > div { display: flex; align-items: center; justify-content: space-between; gap: .5rem; min-width: 0; padding: .4rem .65rem; border-radius: 8px; background: var(--surface-2); }
.sb-split dt { font-size: .8rem; font-weight: 700; color: var(--text-2); min-width: 0; }
.sb-split dd { margin: 0; font: 700 1.05rem/1.2 var(--f-display); color: var(--sb); font-variant-numeric: tabular-nums; }
.sb-live {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .35rem .75rem;
  padding: .85rem 1.1rem; border-radius: 999px; background: var(--surface); box-shadow: 0 0 0 1px var(--line);
  font-size: .95rem; text-align: center;
}
.sb-live strong { font-variant-numeric: tabular-nums; }
.sb-live-pill { display: inline-flex; align-items: center; gap: .4rem; padding: .22rem .7rem; border-radius: 999px; background: rgba(28, 158, 79, .14); color: var(--wa); font-weight: 800; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; }
:root:not([data-skin="gelap"]) .sb-live-pill { color: var(--wa-deep); }
.sb-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--wa); }
@media (max-width: 900px) {
  .sb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sb-label { min-height: 2.6em; }
}
@media (max-width: 380px) { .sb-card { padding: .85rem; } .sb-split > div { padding: .4rem .5rem; } }

/* ---------- Medan borang ---------- */
.field { display: grid; gap: .4rem; min-width: 0; }
.field > span { font-size: .84rem; font-weight: 700; color: var(--text-2); display: flex; justify-content: space-between; gap: .5rem; }
.field output { color: var(--text); font-variant-numeric: tabular-nums; }
.field input[type="number"], .field input[type="search"], .field input[type="text"], .field input[type="email"], .field input[type="password"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; min-height: 48px; padding: .7rem .95rem;
  font: 400 1rem var(--f-body); color: var(--text);
  background: var(--surface); border: 1.5px solid var(--line-2); border-radius: var(--r-ctl);
  transition: border-color .2s ease;
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-3); }
.field textarea { resize: vertical; }
.field select {
  appearance: none; padding-right: 2.25rem;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-2) 50%), linear-gradient(135deg, var(--text-2) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
  background-size: 5px 5px; background-repeat: no-repeat;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); outline: none; }
.field input[type="range"] { width: 100%; accent-color: var(--accent); height: 28px; }

/* ---------- Bahagian ---------- */
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section-alt { background: var(--bg-alt); }
.section-night { background: var(--bg-band); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: .75rem 1.5rem; flex-wrap: wrap; }
.section-lede { color: var(--text-2); max-width: 36rem; }
.result-count { color: var(--text-2); font-weight: 600; font-variant-numeric: tabular-nums; }
.demo-note {
  margin-top: 1.25rem; padding: .75rem 1rem;
  background: var(--note-bg); border: 1px solid var(--note-line); border-radius: var(--r-ctl);
  color: var(--note-fg); font-size: .9rem;
}

/* ---------- Penapis ---------- */
.filters { display: grid; gap: .8rem; margin: 1.5rem 0 1.75rem; }
.filter-row { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: .75rem; margin-top: .3rem; }
/* tab Ready stock / Dalam perjalanan */
.stage-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: .25rem; padding: .3rem; border-radius: 14px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); max-width: 560px; }
.stage-tab {
  display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: 0 .8rem;
  border: 0; border-radius: 11px; background: transparent; color: var(--text-2); cursor: pointer;
  font: 800 .95rem var(--f-body); transition: background-color .2s ease, color .2s ease;
}
.stage-tab.is-on { background: var(--surface); color: var(--text); box-shadow: 0 1px 4px var(--shadow), inset 0 -2px 0 var(--accent); }
.stage-n { padding: .1rem .5rem; border-radius: 999px; background: var(--surface-2); font-size: .8rem; font-variant-numeric: tabular-nums; }
.stage-tab.is-on .stage-n { background: var(--accent-soft); color: var(--accent-text); }
.grid-more { margin-top: 1.25rem; min-height: 52px; }
.search-tip { font-size: .82rem; color: var(--text-2); }
.search-tip b { color: var(--text); font-weight: 700; }
.understood { grid-column: 1 / -1; order: 99; display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; font-size: .82rem; }
.und-label { color: var(--text-2); font-weight: 700; }
.und-chip { padding: .2rem .6rem; border-radius: 999px; background: var(--accent-soft); color: var(--accent-text); font-weight: 700; }
.card.is-booked .price { color: var(--st-booked); }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.chip {
  min-height: 44px; padding: 0 1.05rem; border-radius: 999px;
  border: 1.5px solid var(--line-2); background: transparent; color: var(--text);
  font: 700 .88rem var(--f-body); cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.chip:hover { border-color: var(--text); }
.chip.is-on { background: var(--chip-on-bg); border-color: var(--chip-on-bg); color: var(--chip-on-fg); }
@media (max-width: 760px) {
  .filter-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field-search { grid-column: 1 / -1; }
  .stage-tab { font-size: .88rem; padding: 0 .5rem; }
}

/* ---------- Kad kereta ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 272px), 1fr)); gap: 1.25rem; }
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border-radius: var(--r-card);
  box-shadow: 0 0 0 1px var(--line);
  transition: transform .25s var(--ease-out);
}
.card::after {
  /* bayang hover: pudar dengan opacity, bukan animasi box-shadow */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: 0 18px 40px var(--shadow);
  opacity: 0; transition: opacity .25s ease;
}
.card::before {
  /* garis emas di atas kad bila kursor lalu */
  content: ""; position: absolute; left: 12px; right: 12px; top: -1px; height: 3px; z-index: 2;
  border-radius: 3px; background: var(--accent); box-shadow: var(--card-glow);
  transform: scaleX(0); transition: transform .25s var(--ease-out);
}
.card-top { position: relative; }
.card-media {
  position: relative; display: block; aspect-ratio: 4 / 3; max-width: 100%;
  overflow: hidden; border-radius: var(--r-card) var(--r-card) 0 0;
  background: var(--ph-bg); text-decoration: none; color: inherit;
}
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .card:hover { transform: translateY(-3px); }
  .card:hover::after { opacity: 1; }
  .card:hover::before { transform: scaleX(1); }
  .card:hover .card-media img { transform: scale(1.03); }
}
.ph {
  width: 100%; height: 100%; display: grid; place-content: center; justify-items: center; gap: .5rem;
  background: var(--ph-bg); color: var(--ph-fg); font-size: .8rem; font-weight: 600;
}
.ph svg { width: 32px; height: 32px; }
.tag {
  display: inline-flex; align-items: center; padding: .32rem .6rem; border-radius: 5px;
  font: 800 .72rem/1 var(--f-body); letter-spacing: .02em;
  background: var(--pill-bg); color: var(--pill-fg);
}
.card-media .tag { position: absolute; left: .7rem; top: .7rem; }
.s-ready { background: var(--chip-on-bg); color: var(--chip-on-fg); }
.s-booked { background: #a86400; color: #fff; }
.s-incoming { background: #1f5fbf; color: #fff; }
.s-sold { background: #59636f; color: #fff; }
.stamp {
  /* cop gred, macam hanko pada auction sheet */
  position: absolute; right: .8rem; bottom: -26px; z-index: 3;
  width: 62px; height: 62px; border-radius: 50%;
  display: grid; place-content: center; text-align: center;
  background: #fff; color: var(--stamp);
  border: 2.5px solid var(--stamp);
  box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 4px rgba(198,40,40,.55);
  transform: rotate(-8deg);
  font: 700 1.25rem/1 var(--f-display);
}
.stamp small { display: block; font: 800 .6rem/1 var(--f-body); margin-bottom: 2px; }
.badge-360 {
  position: absolute; left: .7rem; bottom: .7rem;
  padding: .3rem .55rem; border-radius: 5px; background: var(--pill-bg); color: var(--pill-fg);
  font: 800 .72rem/1 var(--f-body);
}
.card-body { display: flex; flex-direction: column; gap: .55rem; padding: 1.05rem 1.1rem 1.1rem; flex: 1; }
.card-no { font-size: .78rem; font-weight: 700; color: var(--text-2); font-variant-numeric: tabular-nums; }
.card-title { font: 800 1.2rem/1.2 var(--f-body); padding-right: 64px; }
.card-title a { text-decoration: none; }
.card-variant { display: block; font-weight: 600; font-size: .95rem; color: var(--text-2); margin-top: .1rem; }
.sheet {
  margin: .2rem 0 0; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, .9fr) minmax(0, 1.3fr);
  border: 1px solid var(--line); border-radius: 6px;
}
.sheet > div { padding: .45rem .5rem; min-width: 0; }
.sheet > div + div { border-left: 1px solid var(--line); }
.sheet dt { font-size: .7rem; font-weight: 700; color: var(--text-2); }
.sheet dd { margin: 0; font-weight: 800; font-size: .86rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.card-price { display: grid; gap: .05rem; margin-top: auto; padding-top: .35rem; }
.price { font: 800 1.45rem/1.15 var(--f-body); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.monthly { font-size: .85rem; color: var(--text-2); }
.monthly a { color: var(--text); font-weight: 700; }
.card-trip { font-size: .85rem; color: var(--st-incoming); font-weight: 700; }
.card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-top: .3rem; }
.card.is-sold .card-media > :first-child { filter: grayscale(1); opacity: .7; }
.card.is-sold .price { color: var(--text-2); }
.empty {
  display: grid; gap: 1rem; justify-items: start; max-width: 40rem;
  padding: 1.5rem; background: var(--surface); border: 1px dashed var(--line-2); border-radius: var(--r-card);
}
.stock-more {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
  margin-top: 1.5rem; padding: 1.1rem 1.25rem; border-radius: var(--r-ctl);
  background: var(--surface); box-shadow: 0 0 0 1px var(--line);
}
.stock-more p { color: var(--text-2); max-width: 40rem; }
.stock-more strong { color: var(--text); }

/* ---------- Perjalanan dari Jepun ---------- */
.journey { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .4rem; }
.journey li { position: relative; display: grid; gap: .45rem; font-size: .76rem; font-weight: 700; color: var(--text-2); line-height: 1.3; }
.journey li::before { content: ""; display: block; height: 4px; border-radius: 4px; background: var(--line); }
.journey li.done::before { background: var(--accent-text); }
.journey li.now { color: var(--text); }
.journey li.now::before { background: var(--accent); }
.journey-lg li { font-size: .88rem; }
.journey-lg li::before { height: 6px; }
.track-note { margin-top: 1rem; font-size: .92rem; color: var(--text-2); }

/* ---------- Serahan: galeri ---------- */
.glass-sec { position: relative; overflow: hidden; }
.glass {
  position: relative; margin-top: 1.75rem;
  padding: clamp(.75rem, 2vw, 1.25rem);
  border-radius: clamp(16px, 3vw, 24px);
  background: var(--surface); box-shadow: 0 0 0 1px var(--line);
}
.glass-bar { display: flex; align-items: center; gap: .4rem; margin-bottom: .8rem; }
.glass-pill { padding: .3rem .75rem; border-radius: 999px; font-size: .75rem; font-weight: 700; color: var(--text-2); background: var(--surface-2); }
.glass-pill.is-on { background: var(--chip-on-bg); color: var(--chip-on-fg); }
.glass-search { margin-left: auto; padding: .3rem .9rem; border-radius: 999px; font-size: .75rem; color: var(--text-3); background: var(--surface-2); min-width: 30%; }
/* foto serahan menegak (3:4): petak sama saiz supaya muka dan kereta tak terpotong */
.glass-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.5rem, 1.2vw, .9rem); }
.glass .tile-more { display: none; }
.glass.show-all .tile-more { display: block; }
.glass-more { margin-top: .9rem; }
.tile {
  position: relative; margin: 0; overflow: hidden; border-radius: clamp(10px, 1.4vw, 14px);
  aspect-ratio: 3 / 4; max-width: 100%; background: var(--ph-bg);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.tile img, .tile .ph-photo { width: 100%; height: 100%; object-fit: cover; }
.tile figcaption {
  position: absolute; left: .6rem; bottom: .6rem; right: .6rem; display: grid; gap: 0;
  padding: .4rem .6rem; border-radius: 10px; background: var(--pill-bg); color: var(--pill-fg);
}
.tile figcaption strong { font-size: .82rem; }
.tile figcaption span { font-size: .75rem; opacity: .75; }
@media (max-width: 640px) { .glass-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* sebelum masuk skrin (hanya bila JavaScript jalan): tile naik sekali */
.glass-sec.pre .tile { opacity: 0; transform: translateY(16px) scale(.97); }
.glass-sec.pre.is-on .tile { opacity: 1; transform: none; }

/* ---------- Kenapa SKA: karusel bingkai serong ---------- */
.reasons { overflow: hidden; }
.slant-stage {
  position: relative; margin-top: clamp(1.5rem, 4vw, 2.5rem);
  height: calc(clamp(220px, 28vw, 340px) * 1.18 + 2rem);
  cursor: pointer; outline-offset: -6px;
}
.slant-frame {
  position: absolute; left: 50%; top: 50%;
  width: clamp(220px, 28vw, 340px); aspect-ratio: 1 / 1.18;
  transform: translate(-50%, -50%);
  clip-path: polygon(24% 0, 100% 0, 76% 100%, 0 100%);
  background: var(--ph-bg);
}
/* satu foto setiap slaid, tukar dengan crossfade (ringan untuk telefon) */
.slant-layer { position: absolute; inset: 0; opacity: 0; transition: opacity .35s ease; }
.slant-layer.in { opacity: 1; }
.slant-layer img, .slant-layer .ph-photo { width: 100%; height: 100%; object-fit: cover; }
.slant-words {
  position: absolute; left: 0; top: 50%; z-index: 2;
  display: flex; gap: clamp(2.5rem, 7vw, 6rem); white-space: nowrap;
  transform: translate3d(0, -50%, 0);
  transition: transform .45s var(--ease-in-out);
  pointer-events: none;
}
.slant-words.auto { transition-duration: .8s; }
.slant-words.snap, .slant-words.snap .sw { transition: none; }
.sw { font: 600 clamp(1rem, .8rem + 1vw, 1.5rem)/1 var(--f-body); color: var(--text-3); transition: color .4s ease; }
.sw.on { color: #fff; font-weight: 800; text-shadow: 0 2px 18px rgba(0,0,0,.75); }
.slant-foot { display: grid; justify-items: center; gap: .4rem; text-align: center; margin-top: .5rem; }
.slant-text { max-width: 34rem; color: var(--text-2); min-height: 3.2em; }
.slant-hint { font-size: .8rem; color: var(--text-3); }
.slant-frame .ph-photo span { display: none; }

/* ---------- Waranti ---------- */
.warranty {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--surface); border-radius: 14px; box-shadow: 0 0 0 1px var(--line);
  scroll-margin-top: 80px;
}
.warranty-copy { display: grid; gap: .9rem; justify-items: start; }
.warranty-copy p { color: var(--text-2); }
.warranty-title { font: 800 clamp(1.3rem, 1.1rem + .9vw, 1.75rem)/1.2 var(--f-body); letter-spacing: -.015em; }
.warranty-items { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; }
.warranty-items li {
  display: flex; align-items: center; gap: .6rem;
  padding: .8rem .9rem; border-radius: var(--r-ctl); background: var(--surface-2);
  font-weight: 700; font-size: .92rem;
}
.warranty-items li::before {
  content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E") center / 14px no-repeat;
}
@media (max-width: 900px) { .warranty { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) { .warranty-items { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Unit pilihan: kad kereta besar ---------- */
.feat {
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: stretch;
  border-radius: 18px; overflow: hidden; text-decoration: none; color: inherit;
  background: var(--surface); box-shadow: 0 0 0 1px var(--line), 0 24px 60px var(--shadow);
}
.fly-media { position: relative; min-height: 280px; aspect-ratio: 16 / 10; max-width: 100%; overflow: hidden; background: var(--ph-bg); }
.fly-media img, .fly-media .ph-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .3s var(--ease-out); }
.fly-copy { display: grid; gap: .9rem; align-content: center; justify-items: start; padding: clamp(1.25rem, 4vw, 2.5rem); min-width: 0; }
.fly-kicker { color: var(--accent-text); font-weight: 800; }
.fly-title { font: 700 clamp(1.7rem, 1rem + 2.8vw, 3rem)/1.05 var(--f-display); letter-spacing: -.03em; overflow-wrap: anywhere; text-transform: uppercase; }
.fly-meta { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.fly-meta li { padding: .35rem .7rem; border-radius: 999px; background: var(--surface-2); font-size: .85rem; font-weight: 700; }
.fly-meta li:last-child { background: var(--gold-metal); color: #16171b; }
@media (hover: hover) and (pointer: fine) { .feat:hover .fly-media img { transform: scale(1.03); } }
@media (max-width: 820px) { .feat { grid-template-columns: minmax(0, 1fr); } .fly-media { min-height: 0; } }

/* ---------- Ulasan ---------- */
.reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 1.25rem; margin-top: 1.75rem; }
.review { margin: 0; display: grid; gap: 1rem; align-content: space-between; padding: 1.5rem; border-radius: var(--r-card); background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.review footer { display: grid; gap: .1rem; padding-top: .75rem; border-top: 1px solid var(--line); }
.review footer span { font-size: .85rem; color: var(--text-2); }

/* ---------- Cara beli ---------- */
.tracks { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); margin-top: 2rem; }
.track { display: grid; gap: 1rem; align-content: start; }
.track-title { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; font-size: 1.1rem; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: .55rem; }
.steps li {
  counter-increment: s; position: relative;
  display: grid; gap: .2rem; padding: 1rem 1.1rem 1rem 3.4rem;
  border-radius: var(--r-ctl); background: var(--surface-2);
}
.steps li::before {
  content: counter(s); position: absolute; left: 1.1rem; top: 1rem;
  font: 700 1.2rem/1 var(--f-display); color: var(--accent-text);
}
.steps strong { font-size: 1rem; }
.steps span { font-size: .9rem; color: var(--text-2); }
.prep-title { margin-top: clamp(2.25rem, 5vw, 3.25rem); font-size: 1.1rem; }
.prep {
  list-style: none; margin: 1rem 0 0; padding: 0; counter-reset: p;
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .55rem;
}
.prep li { counter-increment: p; display: grid; gap: .2rem; align-content: start; padding: .9rem; border-radius: var(--r-ctl); background: var(--surface-2); }
.prep li::before { content: counter(p); font: 700 .95rem/1 var(--f-display); color: var(--accent-text); margin-bottom: .2rem; }
.prep strong { font-size: .95rem; line-height: 1.25; }
.prep span { font-size: .8rem; color: var(--text-2); line-height: 1.4; }
.fineprint { margin-top: 1.25rem; font-size: .85rem; color: var(--text-2); }
@media (max-width: 900px) {
  .tracks { grid-template-columns: minmax(0, 1fr); }
  .prep { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .prep { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .journey-lg { grid-template-columns: minmax(0, 1fr); gap: .6rem; }
  .journey-lg li { grid-template-columns: 40px 1fr; align-items: center; gap: .75rem; }
}

/* ---------- Kalkulator ansuran ---------- */
.calc-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.calc-intro { display: grid; gap: 1rem; justify-items: start; }
.calc-intro p { color: var(--text-2); max-width: 30rem; }
.calc {
  display: grid; gap: 1.1rem; padding: clamp(1.25rem, 3vw, 1.75rem);
  background: var(--surface); border-radius: 14px; box-shadow: 0 0 0 1px var(--line), 0 18px 40px var(--shadow);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.calc-result { display: grid; gap: .25rem; padding: 1.25rem; border-radius: var(--r-ctl); background: var(--feature-bg); color: var(--feature-fg); box-shadow: inset 0 0 0 1px rgba(212, 174, 85, .3); }
.calc-result > span { font-size: .85rem; color: var(--feature-fg-2); }
.calc-result strong { color: var(--gold-hi); font: 700 clamp(1.7rem, 1.3rem + 2vw, 2.4rem)/1.1 var(--f-display); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.calc-result dl { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: .75rem 0 0; padding-top: .75rem; border-top: 1px solid rgba(255,255,255,.14); }
.calc-result dt { font-size: .78rem; color: var(--feature-fg-2); }
.calc-result dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
@media (max-width: 820px) { .calc-wrap { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) { .field-row { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Soalan lazim ---------- */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 1.1rem 2.25rem 1.1rem 0; position: relative; font-weight: 800; font-size: 1.02rem; line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .25rem; top: 50%; transform: translateY(-50%); font: 400 1.5rem/1 var(--f-body); color: var(--text-2); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 0 1.1rem; color: var(--text-2); max-width: 62ch; }
@media (max-width: 820px) { .faq-wrap { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Hubungi ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-form { display: grid; gap: 1rem; }
.contact-lede { color: var(--text-2); max-width: 32rem; }
.contact-card { display: grid; gap: .75rem; padding: clamp(1.25rem, 3vw, 2rem); background: var(--surface); border-radius: 14px; box-shadow: 0 0 0 1px var(--line); }
.contact-area { color: var(--accent-text); font: 800 clamp(1.3rem, 1.1rem + 1vw, 1.75rem)/1.2 var(--f-body); }
.contact-list { margin: 0; display: grid; }
.contact-list > div { padding: .85rem 0; border-bottom: 1px solid var(--line); }
.contact-list dt { font-size: .8rem; color: var(--text-2); margin-bottom: .15rem; font-weight: 700; }
.contact-list dd { margin: 0; font-weight: 600; white-space: pre-line; }
.map-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .5rem; }
@media (max-width: 820px) { .contact { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer-bg); color: var(--footer-fg); font-size: .9rem; padding-block: 2.5rem calc(1.25rem + env(safe-area-inset-bottom, 0px)); }
.footer-inner { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 2rem; }
.footer-brand { display: grid; gap: .3rem; align-content: start; }
.footer-mark { width: 64px; height: auto; margin-bottom: .4rem; }
.footer-brand p:first-of-type { color: var(--footer-strong); font-weight: 700; }
.footer-links { display: grid; gap: .55rem; align-content: start; }
.footer-links a { color: var(--footer-fg); text-decoration: none; }
.footer-links a:hover { color: var(--footer-strong); }
.footer-contact { display: grid; gap: .75rem; align-content: start; justify-items: start; }
.footer-contact p:first-child { color: var(--footer-strong); font-weight: 600; }
.site-footer a { color: var(--footer-strong); }
.footer-base { display: grid; gap: .4rem; margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--footer-line); }
@media (max-width: 720px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ---------- Bar promosi ---------- */
.promo {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  background: var(--feature-bg); color: var(--feature-fg); box-shadow: 0 -1px 0 rgba(212, 174, 85, .3);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.promo-inner {
  max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: .75rem; padding-block: .7rem;
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.promo-text { display: grid; gap: .1rem; min-width: 0; margin-right: auto; }
.promo-text strong { font-size: .95rem; color: var(--gold-hi); }
.promo-text span { font-size: .8rem; color: var(--feature-fg-2); }
.promo .btn-ink { background: #fff; color: #16171b; }
.promo-close { flex: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: var(--feature-fg); font: 400 1.5rem/1 var(--f-body); cursor: pointer; }
.promo-close:hover { background: rgba(255,255,255,.08); }
body.has-promo { padding-bottom: 76px; }
body.has-promo .wa-float { bottom: calc(92px + env(safe-area-inset-bottom, 0px)); }

/* ---------- WhatsApp terapung ---------- */
.wa-float {
  position: fixed; z-index: 40;
  right: calc(18px + env(safe-area-inset-right, 0px));
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--wa); color: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.25);
  /* dua kali sahaja (pada 3s dan 12s), kemudian diam */
  animation: wa-nudge 9s var(--ease-out) 3s 2;
}
.wa-float::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 50%;
  background: var(--wa); opacity: 0; pointer-events: none;
  animation: wa-ring 9s var(--ease-out) 3s 2;
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover, .wa-float:hover::after { animation-play-state: paused; }
@keyframes wa-nudge {
  0%, 100% { transform: none; }
  3% { transform: scale(1.08) rotate(-6deg); }
  6% { transform: scale(1.04) rotate(5deg); }
  9% { transform: none; }
}
@keyframes wa-ring {
  0% { transform: scale(1); opacity: .5; }
  12%, 100% { transform: scale(1.55); opacity: 0; }
}

/* ---------- Halaman kereta (dialog) ---------- */
.detail {
  width: min(1120px, calc(100% - 32px)); max-height: calc(100% - 48px);
  margin: auto; padding: 0; border: 0; border-radius: 16px;
  background: var(--bg); color: var(--text);
  box-shadow: 0 30px 80px rgba(0,0,0,.4);
  overflow: auto; overscroll-behavior: contain;
}
.detail[open] { animation: sheet-in .3s var(--ease-out); }
@keyframes sheet-in { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.detail::backdrop { background: var(--backdrop); }
.detail-inner { position: relative; padding: clamp(1rem, 3vw, 2rem); }
.detail-close {
  position: sticky; top: 0; z-index: 3; display: block;
  width: 44px; height: 44px; margin: 0 0 -44px auto; border-radius: 50%;
  border: 1px solid var(--line-2); background: var(--surface); color: var(--text);
  font: 400 1.6rem/1 var(--f-body); cursor: pointer; box-shadow: 0 4px 14px var(--shadow);
}
.detail-close:hover { border-color: var(--text); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; min-height: 44px; margin: 0 52px .5rem 0; font-size: .92rem; color: var(--text-2); }
.crumbs a { color: var(--text-2); text-decoration: none; }
.crumbs a:hover { color: var(--text); text-decoration: underline; }
.crumbs [aria-current] { color: var(--text); font-weight: 700; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(1.25rem, 3vw, 2.25rem); }
.gallery { display: grid; gap: .6rem; align-content: start; }
.view-tabs { display: inline-flex; gap: .25rem; padding: .25rem; border-radius: 999px; background: var(--surface-2); justify-self: start; }
.view-tab {
  min-height: 44px; padding: 0 1.1rem; border: 0; border-radius: 999px; background: transparent;
  font: 700 .85rem var(--f-body); color: var(--text-2); cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}
.view-tab[aria-selected="true"] { background: var(--surface); color: var(--text); box-shadow: 0 1px 3px var(--shadow); }
.gallery-main { position: relative; aspect-ratio: 4 / 3; max-width: 100%; border-radius: 14px; overflow: hidden; background: var(--ph-bg); }
.gallery-main > .ph { position: absolute; inset: 0; }
/* trek foto: leret asli dengan scroll-snap, satu foto setiap kali */
.g-track {
  position: absolute; inset: 0; display: flex; overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none;
}
.g-track::-webkit-scrollbar { display: none; }
.g-track:focus-visible { outline-offset: -3px; }
.g-slide { flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; }
.g-slide img { width: 100%; height: 100%; object-fit: cover; }
.g-status {
  position: absolute; left: .75rem; top: .75rem; z-index: 1; display: inline-flex; align-items: center; gap: .45rem;
  padding: .4rem .8rem; border-radius: 999px; background: var(--pill-bg); color: var(--pill-fg);
  font: 800 .78rem/1 var(--f-body); letter-spacing: .04em; text-transform: uppercase; box-shadow: 0 2px 10px rgba(0,0,0,.15);
}
.g-status > span { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.g-incoming > span { background: #4f86e8; }
.g-booked > span { background: #e08a2a; }
.g-sold > span { background: #8a939d; }
.g-nav {
  position: absolute; top: 50%; z-index: 1; width: 44px; height: 44px; margin-top: -22px; border: 0; border-radius: 50%;
  display: grid; place-items: center; background: var(--pill-bg); color: var(--pill-fg);
  font: 400 1.7rem/1 var(--f-body); cursor: pointer; box-shadow: 0 2px 12px rgba(0,0,0,.18);
  transition: transform .16s var(--ease-out), opacity .2s ease;
}
.g-nav:active { transform: scale(.94); }
.g-nav:disabled { opacity: 0; pointer-events: none; }
.g-prev { left: .75rem; }
.g-next { right: .75rem; }
.g-count {
  position: absolute; right: .75rem; bottom: .75rem; z-index: 1; padding: .35rem .75rem; border-radius: 999px;
  background: var(--pill-bg); color: var(--pill-fg); font-size: .85rem; font-weight: 700; font-variant-numeric: tabular-nums;
}
.thumbs { display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: thin; padding-bottom: .25rem; }
.thumb { flex: 0 0 auto; width: clamp(76px, 22%, 120px); padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; aspect-ratio: 4 / 3; background: none; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.is-on { border-color: var(--accent); }
.drive-link {
  justify-self: start; display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: 0 1rem;
  border-radius: 999px; background: var(--accent-soft); color: var(--accent-text); font-weight: 800; font-size: .92rem; text-decoration: none;
}
.drive-link:hover { filter: brightness(.97); }
/* Pandangan 360° (hanya kereta yang ada foto 360) */
.spin {
  position: relative; aspect-ratio: 4 / 3; max-width: 100%; border-radius: 14px; overflow: hidden;
  background: var(--surface-2); cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none;
}
.spin.is-dragging { cursor: grabbing; }
.spin img { width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.spin-ph { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: .6rem; color: var(--text-2); text-align: center; padding: 1rem; }
.dial { position: relative; width: 120px; height: 120px; border-radius: 50%; border: 2px dashed var(--line-2); }
.dial-tick { position: absolute; left: 50%; top: -7px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--accent); }
.dial-deg { position: absolute; inset: 0; display: grid; place-content: center; font: 700 1.4rem/1 var(--f-display); color: var(--text); font-variant-numeric: tabular-nums; }
.spin-ph small { font-size: .82rem; max-width: 22rem; }
.spin-hint {
  position: absolute; left: 50%; bottom: .75rem; transform: translateX(-50%);
  padding: .35rem .75rem; border-radius: 999px; background: var(--pill-bg); color: var(--pill-fg);
  font-size: .78rem; font-weight: 700; white-space: nowrap; pointer-events: none;
  transition: opacity .3s ease;
}
.spin.was-used .spin-hint { opacity: 0; }

.detail-info { display: grid; gap: .75rem; align-content: start; }
.d-year { color: var(--accent-text); font-weight: 800; letter-spacing: .12em; font-variant-numeric: tabular-nums; }
.detail-title { font: 800 clamp(1.8rem, 1.3rem + 2vw, 2.6rem)/1.1 var(--f-body); letter-spacing: -.02em; }
.d-variant { font-size: 1.15rem; color: var(--text-2); margin-top: -.35rem; }
.price-box {
  display: grid; gap: .2rem; margin-top: .25rem; padding: clamp(1rem, 3vw, 1.35rem);
  border-radius: 14px; border: 1.5px solid var(--accent); background: var(--surface);
}
.price-label { font-size: .9rem; font-weight: 700; color: var(--text-2); }
.detail-price { font: 700 clamp(1.9rem, 1.4rem + 2.2vw, 2.6rem)/1.1 var(--f-display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.d-otr { color: var(--text-2); }
.d-otr strong { color: var(--text); font-variant-numeric: tabular-nums; }
.price-box .monthly { margin-top: .35rem; padding-top: .55rem; border-top: 1px solid var(--line); }
.d-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; margin: 0; }
.d-tiles > div { min-width: 0; padding: .75rem .9rem; border-radius: 12px; background: var(--surface-2); }
.d-tiles dt { font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); }
.d-tiles dd { margin: .15rem 0 0; font-weight: 800; font-size: 1.02rem; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.detail-cta { display: grid; gap: .55rem; margin: .25rem 0 0; }
.cta-pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: .55rem; }
.d-note { font-size: .92rem; color: var(--text-2); }
.detail-grade { display: flex; align-items: center; gap: .9rem; }
.detail-grade .stamp { position: static; flex: none; }
.detail-grade p { font-size: .88rem; color: var(--text-2); }
.detail-journey { display: grid; gap: .6rem; padding: 1rem; border-radius: var(--r-ctl); background: var(--surface-2); }
.detail-journey p { font-size: .9rem; font-weight: 700; }
.detail-more { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1rem, 3vw, 1.75rem); align-items: start; margin-top: clamp(1.5rem, 4vw, 2.25rem); }
.d-card { display: grid; gap: .9rem; min-width: 0; padding: clamp(1.1rem, 3vw, 1.6rem); border-radius: 14px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); scroll-margin-top: 60px; }
.d-card-title { display: flex; align-items: center; gap: .6rem; font-size: clamp(1.2rem, 1.05rem + .7vw, 1.5rem); }
.d-card-title::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--accent); flex: none; }
.spec-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.spec-table th, .spec-table td { padding: .55rem 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.spec-table th { font-weight: 600; color: var(--text-2); width: 45%; }
.spec-table td { font-weight: 700; font-variant-numeric: tabular-nums; }
.detail-sub { font-size: 1.05rem; margin-top: .5rem; }
.features { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.features li { padding: .35rem .75rem; border: 1px solid var(--line-2); border-radius: 999px; font-size: .85rem; font-weight: 600; }
.copy-link { justify-self: start; }
/* Kalkulator OTR */
.otr { border-top: 3px solid var(--accent); }
.otr-for { color: var(--text-2); margin-top: -.4rem; }
.otr-for strong { color: var(--text); }
.otr-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.otr-check { display: flex; align-items: center; gap: .65rem; min-height: 44px; cursor: pointer; }
.otr-check input { width: 20px; height: 20px; accent-color: var(--accent); flex: none; }
.otr-check strong { margin-left: auto; color: var(--accent-text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.otr-rows { margin: 0; display: grid; }
.otr-rows > div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .8rem 0; border-bottom: 1px dashed var(--line-2); }
.otr-rows dt { color: var(--text-2); display: grid; }
.otr-rows dt small { font-size: .8rem; }
.otr-rows dd { margin: 0; font-weight: 800; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.otr-total { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.otr-total span { font-weight: 800; font-size: 1.15rem; }
.otr-total strong { font: 700 clamp(1.5rem, 1.2rem + 1.6vw, 2.1rem)/1.1 var(--f-display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.otr-note { font-size: .9rem; color: var(--st-booked); }
.otr-how { border-top: 1px solid var(--line); padding-top: .75rem; }
.otr-how summary { cursor: pointer; font-weight: 800; color: var(--accent-text); min-height: 32px; }
.otr-how p { margin-top: .5rem; font-size: .9rem; color: var(--text-2); }
.otr-fine { font-size: .82rem; color: var(--text-2); }
/* ringkasan di atas kalkulator */
.otr-sum { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem 1rem; padding: .9rem 1rem; border-radius: 12px; background: var(--accent-soft); }
.otr-sum span { display: block; font-size: .8rem; font-weight: 700; color: var(--text-2); }
.otr-sum strong { font: 700 clamp(1.05rem, .9rem + .8vw, 1.35rem)/1.2 var(--f-body); font-variant-numeric: tabular-nums; color: var(--text); }
.otr-sum p { grid-column: 1 / -1; font-size: .78rem; color: var(--text-2); }
.otr-sub { font-size: 1rem; margin-top: .4rem; }
.otr-rows dt b { color: var(--text); }
/* sebut harga: rupa dokumen kertas dalam kedua-dua skin */
.quote-wrap { display: grid; gap: .8rem; scroll-margin-top: 60px; }
.quote { display: grid; gap: .6rem; padding: clamp(1rem, 3vw, 1.4rem); border-radius: 12px; background: #fff; color: #16171b; box-shadow: 0 0 0 1px #e3e0d9, 0 12px 30px rgba(0,0,0,.18); }
.q-head { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: .7rem; border-bottom: 2px solid #b88a2e; }
.q-brand { display: flex; align-items: center; gap: .6rem; }
.q-brand img { width: 40px; height: auto; background: #0b0b0d; border-radius: 8px; padding: 3px; }
.q-brand strong { display: block; font-size: 1rem; }
.q-brand span, .q-ref span { display: block; font-size: .75rem; color: #5a5c63; }
.q-ref { text-align: right; }
.q-ref strong { display: block; color: #8a6620; font-size: .85rem; letter-spacing: .06em; }
.q-title { font-size: 1.15rem; line-height: 1.25; }
.q-spec, .q-for { font-size: .82rem; color: #5a5c63; }
.q-for strong { color: #16171b; }
.q-sum { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.q-sum div { padding: .6rem .75rem; border-radius: 10px; background: #f6efdc; }
.q-sum span { display: block; font-size: .74rem; color: #5a5c63; font-weight: 700; }
.q-sum strong { font-size: clamp(.9rem, .78rem + .9vw, 1.1rem); font-variant-numeric: tabular-nums; white-space: nowrap; }
.q-photo { width: 100%; aspect-ratio: 16 / 9; max-width: 100%; object-fit: cover; border-radius: 8px; }
.q-table { width: 100%; border-collapse: collapse; font-size: .84rem; }
.q-table th, .q-table td { padding: .42rem 0; border-bottom: 1px solid #ebe8e1; text-align: left; font-weight: 500; color: #5a5c63; vertical-align: top; }
.q-table td { text-align: right; color: #16171b; font-weight: 700; white-space: nowrap; padding-left: .75rem; font-variant-numeric: tabular-nums; }
.q-table .q-total th, .q-table .q-total td { color: #16171b; font-weight: 800; background: #f2f0eb; padding-inline: .4rem; }
.q-fine { font-size: .72rem; color: #5a5c63; }
.q-contact { font-size: .78rem; font-weight: 700; color: #16171b; }
.quote-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.quote-msg { font-size: .85rem; color: var(--accent-text); min-height: 1.2em; }
.share-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.similar { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: grid; gap: 1rem; }
.grid-sm { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
@media (max-width: 900px) { .detail-more { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 820px) {
  .detail { width: 100%; max-width: 100%; max-height: 100%; height: 100%; border-radius: 0; }
  .detail-inner { padding-top: calc(1rem + env(safe-area-inset-top, 0px)); padding-bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px)); }
  .detail-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 420px) { .otr-fields { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Tempat foto (sebelum foto sebenar dimasukkan) ---------- */
.ph-photo {
  width: 100%; height: 100%; display: grid; place-content: center; justify-items: center; gap: .5rem;
  color: rgba(245, 226, 160, .55); font-size: .82rem; font-weight: 700; text-align: center; padding: 1rem;
}
.ph-photo svg { width: 30px; height: 30px; }

/* ---------- Telefon ---------- */
a, button, .card, .chip, .slant-stage { -webkit-tap-highlight-color: transparent; }
.btn, .chip, .suggest-chip, .view-tab { touch-action: manipulation; }

/* ---------- Kurang gerakan ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .intro-kicker, .wordmark, .intro-lede, .intro-cta, .wm-lit { animation: fade .2s ease both; }
  .wa-float, .wa-float::after { animation: none; }
  .detail[open] { animation: fade .2s ease; }
  .card, .card::before, .card-media img, .btn, .fly-media img { transition-property: opacity, background-color, border-color, color, filter; }
  .card:hover, .card:hover .card-media img, .feat:hover .fly-media img { transform: none !important; }
  .glass-sec.pre .tile { transform: none; }
  .slant-words { transition: none; }
}
@keyframes fade { from { opacity: 0; } }

/* ---------- Harga promosi ---------- */
.promo-line { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; font-size: .84rem; color: var(--text-3); }
.promo-line s { font-variant-numeric: tabular-nums; }
.promo-chip {
  display: inline-block; padding: .12rem .5rem; border-radius: 999px;
  background: var(--stamp); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .02em;
}

/* ---------- Mod staf (hanya bila staf log masuk) ---------- */
.staff-pill {
  position: fixed; left: max(12px, env(safe-area-inset-left)); bottom: max(12px, env(safe-area-inset-bottom)); z-index: 60;
  display: flex; align-items: center; gap: .6rem; max-width: calc(100vw - 110px);
  padding: .45rem .55rem .45rem .8rem; border-radius: 999px;
  background: var(--feature-bg); color: var(--feature-fg); font-size: .8rem;
  box-shadow: 0 0 0 1px var(--line-2), 0 10px 30px var(--shadow);
}
.staff-pill strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.staff-pill a, .staff-pill button {
  flex: none; min-height: 32px; padding: 0 .7rem; border-radius: 999px; border: 1px solid var(--footer-line);
  background: transparent; color: var(--chip-on-fg); font: inherit; font-weight: 700; cursor: pointer;
  display: inline-flex; align-items: center;
}
.staff-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--wa); flex: none; }
.staff-box {
  margin-top: 1rem; padding: 1rem; border-radius: var(--r-card);
  border: 1px dashed var(--accent); background: var(--accent-soft);
}
.staff-box h3 { margin: 0 0 .6rem; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-text); }
.staff-box dl { display: grid; grid-template-columns: auto 1fr; gap: .35rem .9rem; margin: 0 0 .8rem; font-size: .88rem; }
.staff-box dt { color: var(--text-2); }
.staff-box dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.staff-box .btn { margin-right: .4rem; margin-top: .3rem; }

/* ---------- Pilihan bahasa & pintasan Panel Staf (kepala) ---------- */
.lang-switch { display: inline-flex; flex: none; border: 1px solid var(--line-2); border-radius: 999px; padding: 2px; }
.lang-switch button {
  min-width: 36px; min-height: 34px; padding: 0 .55rem; border: 0; border-radius: 999px; cursor: pointer;
  background: transparent; color: var(--header-fg); font: 800 .76rem/1 var(--f-body); letter-spacing: .04em; opacity: .7;
}
.lang-switch button[aria-pressed="true"] { background: var(--chip-on-bg); color: var(--chip-on-fg); opacity: 1; }
.lang-switch button:hover { opacity: 1; }
.header-cta { gap: .4rem; }
.wa-ico { width: 18px; height: 18px; flex: none; }
.header-staff { flex: none; border-color: var(--accent); color: var(--accent-text); }
.nav-staff { color: var(--accent-text); font-weight: 800 !important; opacity: 1 !important; }
@media (min-width: 861px) { .nav-staff { display: none !important; } }
@media (max-width: 860px) { .header-staff { display: none !important; } }
@media (max-width: 520px) {
  .header-cta { padding: 0; width: 44px; justify-content: center; }
  .header-cta .wa-txt { display: none; }
}

/* ---------- Mini-site staf: "Jurujual anda" ---------- */
.ref-bar { background: var(--surface); border-bottom: 1px solid var(--line); }
.ref-inner { display: flex; align-items: center; gap: .8rem; padding-block: .7rem; }
.ref-photo { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 2px var(--accent); }
.ref-init { display: grid; place-items: center; background: var(--chip-on-bg); color: var(--chip-on-fg); font: 800 1.2rem/1 var(--f-body); }
.ref-text { display: grid; gap: .1rem; min-width: 0; margin-right: auto; }
.ref-label { font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-text); }
.ref-text strong { font-size: 1rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ref-text small { color: var(--text-2); font-size: .82rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ref-wa { flex: none; }
.ref-line { display: flex; align-items: center; gap: .5rem; margin: 0 0 .6rem; font-size: .88rem; color: var(--text-2); }
.ref-line img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.ref-line strong { color: var(--text); }
@media (max-width: 520px) { .ref-wa { padding: 0 .8rem; } .ref-text small { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; } }

/* Bar profil staf yang log masuk */
.ref-own .ref-text small a { color: var(--accent-text); font-weight: 700; text-decoration: none; }
.ref-own-actions { display: flex; gap: .5rem; flex: none; }
@media (max-width: 520px) {
  .ref-own .ref-inner { flex-wrap: wrap; }
  .ref-own-actions { width: 100%; }
  .ref-own-actions .btn { flex: 1; }
}
