/* Hallo Wuling Makassar — token desain di satu tempat */
:root {
  --bg: #f4f4f1;
  --surface: #fbfbfa;
  --plate: #ebebe7;
  --ink: #0f1113;
  --ink-2: #2b2e33;
  --muted: #676b72;
  --line: #deded9;
  --red: #cf111b;
  --ev: #0d7a66;
  --dark: #0f1113;
  --dark-2: #1a1d21;

  --f-sans: "Geist", "Segoe UI", sans-serif;
  --f-serif: "Instrument Serif", Georgia, serif;
  --f-mono: "Geist Mono", ui-monospace, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1280px;
  --r: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.6 var(--f-sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.eyebrow { font: 500 12.5px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--red); }
.serif { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.muted { color: var(--muted); }

h1, h2, h3 { font-family: var(--f-sans); letter-spacing: -.035em; margin: 0; }
h2 { font-size: clamp(34px, 4.6vw, 60px); line-height: 1.02; font-weight: 600; }

/* ---------- tombol ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: 999px;
  font: 500 15.5px/1 var(--f-sans); text-decoration: none; white-space: nowrap;
  border: 1px solid var(--ink); background: var(--ink); color: #fff;
  cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { background: var(--red); border-color: var(--red); }
.btn:active { transform: scale(.98); }
.btn--ghost { background: transparent; color: var(--ink); border-color: color-mix(in srgb, var(--ink) 30%, transparent); }
.btn--ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); border-color: #fff; }
.btn--light:hover { background: var(--red); color: #fff; border-color: var(--red); }
.btn--glass { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.35); backdrop-filter: blur(8px); }
.btn--glass:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- navigasi ---------- */
.top { position: fixed; inset: 0 0 auto; z-index: 40; transition: background .3s, border-color .3s, color .3s; color: #fff; border-bottom: 1px solid transparent; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 72px; }
.top.solid, .top.terang { background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(14px); color: var(--ink); border-color: var(--line); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand b { display: block; font: 600 16px/1.1 var(--f-sans); letter-spacing: -.01em; }
.brand small { display: block; font: 400 12.5px/1.3 var(--f-sans); opacity: .7; }
.nav { display: flex; gap: 30px; }
.nav a { text-decoration: none; font-size: 15px; opacity: .78; transition: opacity .2s; }
.nav a:hover { opacity: 1; }
.top .btn { min-height: 42px; padding: 0 18px; font-size: 14.5px; }
.top:not(.solid):not(.terang) .btn { background: #fff; color: var(--ink); border-color: #fff; }
.top:not(.solid):not(.terang) .btn:hover { background: var(--red); color: #fff; border-color: var(--red); }
@media (max-width: 900px) { .nav { display: none; } }
@media (max-width: 460px) { .brand small { display: none; } .top .btn span { display: none; } }

/* ---------- hero foto penuh ---------- */
.hero { position: relative; min-height: min(100svh, 920px); display: grid; align-items: end; color: #fff; background: var(--dark); overflow: hidden; isolation: isolate; }
.hero-foto { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; transform: scale(1.04); animation: masuk 1.6s ease-out forwards; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(10,11,13,.55) 0%, rgba(10,11,13,0) 26%, rgba(10,11,13,0) 45%, rgba(10,11,13,.82) 100%),
              linear-gradient(90deg, rgba(10,11,13,.55) 0%, rgba(10,11,13,0) 60%); }
@keyframes masuk { to { transform: scale(1); } }
.hero .wrap { padding: 140px 0 clamp(28px, 4vw, 48px); }
.hero h1 { font-size: clamp(46px, 7.4vw, 108px); line-height: .96; font-weight: 600; max-width: 13ch; }
.hero h1 .serif { font-size: 1.08em; }
.hero .lede { max-width: 46ch; font-size: clamp(17px, 1.5vw, 20px); color: rgba(255,255,255,.82); margin: 22px 0 30px; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-facts { margin-top: clamp(40px, 6vw, 80px); display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.22); }
.hero-facts div { padding: 18px 20px 0 0; }
.hero-facts div + div { padding-left: 20px; border-left: 1px solid rgba(255,255,255,.22); }
.hero-facts b { display: block; font: 600 clamp(20px, 2vw, 26px)/1.1 var(--f-sans); letter-spacing: -.02em; }
.hero-facts span { font-size: 14px; color: rgba(255,255,255,.7); }
@media (max-width: 640px) {
  .hero-facts { grid-template-columns: 1fr; }
  .hero-facts div, .hero-facts div + div { padding: 14px 0; border-left: 0; border-bottom: 1px solid rgba(255,255,255,.18); display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
  .hero .cta .btn { flex: 1 1 100%; }
}

/* ---------- section ---------- */
section { padding: clamp(72px, 10vw, 136px) 0; }
.head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px 40px; margin-bottom: clamp(32px, 4vw, 52px); }
.head h2 { margin-top: 16px; max-width: 16ch; }
.head p { max-width: 40ch; margin: 0; color: var(--muted); }

/* ---------- filter ---------- */
.tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--plate); }
.tabs button { font: 500 14.5px/1 var(--f-sans); padding: 11px 18px; border-radius: 999px; border: 0; background: transparent; color: var(--ink-2); cursor: pointer; transition: background .2s, color .2s; }
.tabs button[aria-pressed="true"] { background: var(--ink); color: #fff; }

/* ---------- kartu unit ---------- */
.units { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.unit { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); display: flex; flex-direction: column; overflow: hidden; transition: border-color .25s, transform .25s; }
.unit:hover { border-color: #c4c4be; transform: translateY(-3px); }
.unit[hidden] { display: none; }
.unit .pic { position: relative; aspect-ratio: 16 / 10; display: grid; place-items: end center; padding: 44px 14px 8px;
  background: radial-gradient(120% 70% at 50% 100%, #e3e3de 0%, var(--plate) 45%, #f1f1ee 100%); }
.unit .pic img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; transition: transform .5s cubic-bezier(.2,.7,.2,1), opacity .25s; filter: drop-shadow(0 14px 12px rgba(15,17,19,.16)); }
.unit:hover .pic img { transform: scale(1.03); }
.unit .chip { position: absolute; top: 14px; left: 14px; font: 500 11.5px/1 var(--f-mono); letter-spacing: .05em; text-transform: uppercase; padding: 7px 10px; border-radius: 999px; background: #fff; color: var(--ink-2); }
.unit .chip.ev { background: var(--ev); color: #fff; }
.unit .body { padding: 20px 20px 6px; flex: 1; }
.unit h3 { font-size: 26px; font-weight: 600; letter-spacing: -.03em; }
.unit .logo-tipe { position: relative; height: 30px; max-width: 220px; background: var(--ink); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: left center; mask-position: left center; -webkit-mask-size: contain; mask-size: contain; }
.unit .logo-tipe span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.unit .logo-teks { font: italic 800 30px/30px var(--f-sans); letter-spacing: .02em; text-transform: uppercase; transform: skewX(-6deg); }

/* pilihan warna */
.unit .warna { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 20px; border-bottom: 1px solid var(--line); }
.unit .sws { display: flex; flex-wrap: wrap; gap: 8px; }
.unit .sw { width: 22px; height: 22px; border-radius: 50%; padding: 0; cursor: pointer; background: var(--c); border: 0;
  box-shadow: inset 0 0 0 1px rgba(15,17,19,.18); outline-offset: 2px; transition: transform .15s, box-shadow .15s; }
.unit .sw:hover { transform: scale(1.12); }
.unit .sw[aria-pressed="true"] { box-shadow: inset 0 0 0 1px rgba(15,17,19,.18), 0 0 0 2px var(--surface), 0 0 0 3.5px var(--ink); }
.unit .nama-warna { font-size: 13.5px; color: var(--muted); white-space: nowrap; }
.unit .sub { color: var(--muted); font-size: 15px; margin: 2px 0 14px; }
.unit dl { margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.unit dl div { padding: 12px 8px 12px 0; }
.unit dl div + div { padding-left: 12px; border-left: 1px solid var(--line); }
.unit dt { font: 500 11px/1.4 var(--f-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.unit dd { margin: 3px 0 0; font-size: 14.5px; font-weight: 500; line-height: 1.3; }
.unit .ask { margin: 8px 20px 20px; display: flex; justify-content: space-between; align-items: center; padding: 13px 16px; border-radius: 10px; background: var(--plate); text-decoration: none; font-weight: 500; font-size: 15px; transition: background .2s, color .2s; }
.unit .ask:hover { background: var(--ink); color: #fff; }
.unit .ask svg { width: 18px; transition: transform .2s; }
.unit .ask:hover svg { transform: translateX(4px); }
.unit-cta { grid-column: span 2; border-radius: var(--r); background: var(--dark); color: #fff; padding: clamp(26px, 3.4vw, 44px); display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; position: relative; overflow: hidden; isolation: isolate; }
.unit-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("../foto/suasana/kabin-depan.jpg") center / cover; opacity: .3; }
.unit-cta .eyebrow { color: rgba(255,255,255,.7); }
.unit-cta h3 { font-size: clamp(26px, 2.8vw, 38px); font-weight: 600; line-height: 1.08; max-width: 20ch; }
.unit-cta p { margin: 0 0 6px; color: rgba(255,255,255,.72); max-width: 46ch; }
.unit-cta .btn { align-self: flex-start; }
.units:has(.unit[hidden]) .unit-cta { display: none; }
@media (max-width: 1020px) { .units { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .units { grid-template-columns: 1fr; } .unit-cta { grid-column: auto; } }
.note { margin-top: 22px; color: var(--muted); font-size: 13.5px; max-width: 76ch; }

/* ---------- pita foto EV ---------- */
.feature { display: grid; grid-template-columns: 1.15fr 1fr; gap: 18px; }
.feature .big { position: relative; border-radius: var(--r); overflow: hidden; min-height: 520px; color: #fff; display: flex; align-items: end; isolation: isolate; }
.feature .big img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.feature .big::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,11,13,0) 35%, rgba(10,11,13,.85)); }
.feature .big div { padding: clamp(22px, 3vw, 40px); }
.feature .big h3 { font-size: clamp(30px, 3.4vw, 46px); font-weight: 600; line-height: 1.04; margin: 14px 0 12px; max-width: 14ch; }
.feature .big p { color: rgba(255,255,255,.8); max-width: 42ch; margin: 0 0 22px; }
.feature .big .eyebrow { color: rgba(255,255,255,.75); }
.feature .side { display: grid; grid-template-rows: 1fr auto; gap: 18px; }
.feature .side figure { margin: 0; border-radius: var(--r); overflow: hidden; position: relative; min-height: 260px; }
.feature .side figure img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.feature .side figcaption { position: absolute; left: 14px; bottom: 14px; background: rgba(255,255,255,.92); border-radius: 999px; padding: 8px 14px; font-size: 13.5px; font-weight: 500; }
.points { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 8px 24px; }
.points div { display: grid; grid-template-columns: 52px 1fr; padding: 16px 0; }
.points div + div { border-top: 1px solid var(--line); }
.points b { font: 500 13px/1.7 var(--f-mono); color: var(--ev); }
.points strong { font-weight: 600; display: block; letter-spacing: -.01em; }
.points span { color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .feature { grid-template-columns: 1fr; } .feature .big { min-height: 440px; } }

/* ---------- alur beli (gelap) ---------- */
.dark { background: var(--dark); color: #fff; }
.dark .eyebrow { color: rgba(255,255,255,.6); }
.dark .head p { color: rgba(255,255,255,.62); }
.alur { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.alur-head { position: sticky; top: 110px; }
.alur-head h2 { margin: 16px 0 18px; }
.alur-head p { color: rgba(255,255,255,.62); max-width: 36ch; margin: 0 0 34px; }
.steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.14); }
.step { display: grid; grid-template-columns: clamp(76px, 9vw, 128px) 1fr; gap: 20px; padding: clamp(24px, 3vw, 36px) 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.step .n { font: 600 clamp(48px, 6vw, 84px)/.9 var(--f-sans); letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.45); transition: color .3s, -webkit-text-stroke-color .3s; }
.step:hover .n { color: var(--red); -webkit-text-stroke-color: var(--red); }
.step h3 { font-size: clamp(22px, 2.2vw, 28px); font-weight: 600; margin: 4px 0 8px; letter-spacing: -.025em; }
.step p { margin: 0; color: rgba(255,255,255,.62); max-width: 44ch; }
@media (max-width: 900px) { .alur { grid-template-columns: 1fr; } .alur-head { position: static; } }

/* ---------- plat nomor DD Makassar (elemen khas) ---------- */
.plate {
  display: inline-block; text-align: center; white-space: nowrap;
  padding: 9px 18px 6px; border-radius: 5px;
  background: #f7f7f4; color: var(--ink);
  box-shadow: inset 0 0 0 2px #f7f7f4, inset 0 0 0 3.5px var(--ink);
  font: 700 clamp(26px, 3vw, 38px)/1 var(--f-sans); letter-spacing: .02em; font-feature-settings: "tnum";
}
.plate span { margin: 0 .18em; }
.plate small { display: block; margin-top: 3px; font: 500 9.5px/1.4 var(--f-mono); letter-spacing: .32em; }
.plate--sm { font-size: 15px; padding: 5px 10px 3px; box-shadow: inset 0 0 0 1.5px #f7f7f4, inset 0 0 0 2.5px var(--ink); }
.plate--sm small { display: none; }
.plate--dark { transform: rotate(-3deg); }

/* ---------- simulasi & form ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(22px, 3.2vw, 40px); }
.panel h3 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 600; margin: 14px 0 24px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field label { font-size: 13.5px; font-weight: 500; color: var(--ink-2); }
.field input, .field select, .field textarea {
  font: 400 16.5px/1.3 var(--f-sans); color: var(--ink); width: 100%;
  padding: 13px 14px; background: #fff; border: 1px solid var(--line); border-radius: 10px;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px rgba(15,17,19,.08); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 420px) { .row2 { grid-template-columns: 1fr; } }

.result { margin-top: 8px; border-radius: 12px; background: var(--dark); color: #fff; padding: 22px; }
.result .lbl { font-size: 13.5px; color: rgba(255,255,255,.65); }
.result .big { font: 600 clamp(32px, 4vw, 46px)/1.1 var(--f-sans); letter-spacing: -.035em; margin: 4px 0 14px; }
.result .rows { font-size: 14.5px; display: grid; }
.result .rows div { display: flex; justify-content: space-between; padding: 8px 0; border-top: 1px solid rgba(255,255,255,.12); }
.result .fine { font-size: 13px; color: rgba(255,255,255,.55); margin: 10px 0 16px; }

/* ---------- konsultan + lokasi ---------- */
.contact { display: grid; grid-template-columns: .8fr 1.2fr; gap: 18px; }
.person { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; }
.person .photo { aspect-ratio: 4 / 3.4; background: var(--plate); position: relative; overflow: hidden; }
.person .photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.person .photo .ph { position: absolute; inset: 0; display: grid; place-items: center; font: 500 12px/1.5 var(--f-mono); color: var(--muted); text-align: center; }
.person .meta { padding: 22px 24px 24px; display: grid; gap: 4px; }
.person .meta b { font-size: 26px; font-weight: 600; letter-spacing: -.03em; }
.person .meta .btn { margin-top: 14px; }
.loc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: grid; grid-template-rows: 1fr auto; }
.loc iframe { width: 100%; height: 100%; min-height: 300px; border: 0; filter: grayscale(.85) contrast(1.05); }
.loc .facts { display: grid; grid-template-columns: repeat(2, 1fr); }
.loc .facts div { padding: 18px 22px; border-top: 1px solid var(--line); }
.loc .facts div:nth-child(even) { border-left: 1px solid var(--line); }
.loc .facts span { display: block; font-size: 13px; color: var(--muted); }
.loc .facts a { text-decoration: none; font-weight: 500; }
.loc .facts a:hover { color: var(--red); }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .loc .facts { grid-template-columns: 1fr; } .loc .facts div:nth-child(even) { border-left: 0; } }

/* ---------- footer ---------- */
footer { background: var(--dark); color: rgba(255,255,255,.62); padding: 40px 0 110px; font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; }
footer b { color: #fff; font-weight: 600; }
footer a { color: #fff; }

/* ---------- WA mengambang ---------- */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 50;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink); color: #fff; text-decoration: none;
  min-height: 52px; padding: 0 20px; border-radius: 999px; font-weight: 500;
  box-shadow: 0 10px 30px rgba(15,17,19,.25); transition: background .2s, transform .2s;
}
.wa-float:hover { background: var(--red); transform: translateY(-2px); }
.wa-float svg { width: 20px; height: 20px; }

/* ---------- muncul saat scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-foto img { animation: none; transform: none; }
  html { scroll-behavior: auto; }
}

/* label plat di hero */
.hero-tag { display: flex; align-items: center; gap: 14px; }
.hero-tag .eyebrow::before { display: none; }

/* ---------- logo Wuling + nama di header ---------- */
.logo-wuling {
  display: block; width: 118px; height: 24px; background: currentColor;
  -webkit-mask: url("../foto/logo/wuling.svg") no-repeat left center / contain;
          mask: url("../foto/logo/wuling.svg") no-repeat left center / contain;
}
.brand-sep { width: 1px; height: 28px; background: currentColor; opacity: .25; }
@media (max-width: 460px) { .logo-wuling { width: 96px; height: 20px; } .brand-sep, .brand .brand-sep + span { display: none; } }

/* ---------- kartu Rahmat di hero ---------- */
.hero-grid { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; }
.agent {
  width: 300px; text-decoration: none; color: #fff;
  display: grid; grid-template-columns: 64px 1fr; gap: 6px 14px; align-items: center;
  padding: 16px; border-radius: 12px;
  background: rgba(15,17,19,.55); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(12px);
  transition: background .25s, border-color .25s;
}
.agent:hover { background: rgba(15,17,19,.75); border-color: rgba(255,255,255,.35); }
.agent img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; box-shadow: 0 0 0 2px #fff; }
.agent-txt b { display: block; font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.agent-txt small { display: block; font-size: 12.5px; color: rgba(255,255,255,.65); }
.agent-txt em { display: block; margin-top: 6px; font: italic 400 17px/1.25 var(--f-serif); color: rgba(255,255,255,.92); }
.agent-go { grid-column: 1 / -1; margin-top: 8px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.16); font-size: 14.5px; font-weight: 500; }
.agent:hover .agent-go { color: #fff; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 24px; } .agent { width: 100%; } }

/* ---------- galeri dari Instagram ---------- */
.ig-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 34px; }
.ig-head h2 { margin-top: 16px; max-width: 15ch; }
.ig-strip {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(200px, 19vw, 260px); gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--gutter) 10px;
  padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2));
  scroll-padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2));
  scrollbar-width: thin;
}
.ig-strip figure { margin: 0; position: relative; aspect-ratio: 9 / 16; border-radius: var(--r); overflow: hidden; scroll-snap-align: start; background: var(--plate); }
.ig-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.ig-strip figure:hover img { transform: scale(1.04); }
.ig-strip figcaption { position: absolute; left: 10px; right: 10px; bottom: 10px; padding: 8px 12px; border-radius: 999px; background: rgba(15,17,19,.7); color: #fff; font-size: 13px; backdrop-filter: blur(6px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- foto Rahmat di kartu kontak ---------- */
.person .meta { position: relative; padding-top: 52px; }
.person .face { position: absolute; top: -44px; left: 22px; width: 88px; height: 88px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; box-shadow: 0 0 0 4px var(--surface); }
.person .meta b { font-size: clamp(24px, 2.4vw, 30px); }

/* ---------- tombol chat dengan foto ---------- */
.wa-float { padding: 0 20px 0 6px; gap: 12px; min-height: 60px; }
.wa-float .ava { position: relative; width: 48px; height: 48px; flex: none; }
.wa-float .ava img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.wa-float .ava::after { content: ""; position: absolute; right: 1px; bottom: 1px; width: 12px; height: 12px; border-radius: 50%; background: #25d366; box-shadow: 0 0 0 2px var(--ink); }
.wa-float b { display: block; font-size: 15px; font-weight: 600; line-height: 1.2; }
.wa-float small { display: block; font-size: 12px; opacity: .7; line-height: 1.3; }

/* judul hero: nama besar, jabatan lebih kecil */
.hero h1.nama { font-size: clamp(52px, 7vw, 104px); }
.hero h1.nama .serif { display: block; font-size: .5em; line-height: 1.1; margin-top: 8px; color: rgba(255,255,255,.88); }
.unit .logo-tipe[data-tipe="darion"], .unit .logo-tipe[data-tipe="eksion"] { height: 22px; margin: 4px 0 4px; }

/* ---------- scrollbar tipis senada (desktop; di HP memang overlay) ---------- */
html { scrollbar-width: thin; scrollbar-color: #a3a39c transparent; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #a3a39c; border-radius: 99px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--ink); }
::-webkit-scrollbar-button { display: none; }
.ig-strip { scrollbar-width: none; }
.ig-strip::-webkit-scrollbar { display: none; }

/* ---------- keterbacaan teks hero ---------- */
.hero::before {
  background:
    linear-gradient(180deg, rgba(10,11,13,.55) 0%, rgba(10,11,13,0) 22%, rgba(10,11,13,.25) 42%, rgba(10,11,13,.88) 78%, rgba(10,11,13,.95) 100%),
    linear-gradient(90deg, rgba(10,11,13,.78) 0%, rgba(10,11,13,.45) 40%, rgba(10,11,13,0) 68%);
}
.hero h1, .hero .lede, .hero .eyebrow { text-shadow: 0 2px 20px rgba(0,0,0,.45); }
.hero h1.nama .serif { color: #fff; }
.hero .lede { color: rgba(255,255,255,.94); font-weight: 500; }
.hero .eyebrow { color: #fff !important; }
.hero-facts span { color: rgba(255,255,255,.82); }
/* HP: foto mobil di atas (turun sedikit dari header), teks menimpa bagian bawah foto yang sudah gelap */
@media (max-width: 700px) {
  .hero { display: block; min-height: 0; }
  .hero-foto { position: relative; inset: auto; z-index: 0; }
  .hero-foto img { display: block; width: min(150%, 900px); max-width: none; height: auto; object-fit: initial;
    margin: 58px 0 0 calc((100% - min(150%, 900px)) / 2); animation: none; transform: none; }
  .hero-foto::after { content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, var(--dark) 0%, rgba(10,11,13,.35) 16%, rgba(10,11,13,0) 30%, rgba(10,11,13,0) 52%, rgba(10,11,13,.85) 80%, var(--dark) 100%); }
  .hero::before { display: none; }
  .hero .wrap { position: relative; z-index: 1; margin-top: clamp(-150px, -24vw, -90px); padding-top: 0; }
}

/* label promo di kartu unit (diisi dari Pusat) */
.unit .promo { position: absolute; top: 14px; right: 14px; max-width: 60%; font: 600 12px/1.2 var(--f-sans); padding: 7px 11px; border-radius: 999px; background: var(--red); color: #fff; text-align: right; }
