/* ============================================================
   Honda NTB — supplementary styles on top of the merged
   HondaPrime template stylesheet (public/css/app.css)
   ============================================================ */

/* ---------- Brand mark uses logo image ---------- */
.brand-mark img { width: 34px; height: 34px; border-radius: 8px; object-fit: contain; }

/* ---------- Desktop dropdown (Mobil / Area Layanan) ---------- */
.nav-links > li { position: relative; list-style: none; }
.nav-links > li > a { display: inline-flex; align-items: center; gap: 6px; }
/* Jembatan antar area hover: memastikan dropdown tidak hilang saat cursor
   berpindah dari item menu menuju panel dropdown (celah 0 gap). */
.nav-links > li::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 20px; }
/* Penanda panah pada menu yang punya submenu */
.nav-links > li:has(> .nav-drop) > a::after {
  content: ""; border-style: solid; border-width: 0 1.8px 1.8px 0; padding: 2.6px;
  transform: rotate(45deg) translateY(-2px); opacity: .85; transition: transform .2s ease;
}
.nav-links > li:hover > a::after,
.nav-links > li:focus-within > a::after,
.nav-links > li.open > a::after { transform: rotate(-135deg) translateY(-2px); }
.nav-drop {
  position: fixed; top: 80px; left: 50%; transform: translateX(-50%) translateY(10px);
  min-width: 400px; max-width: calc(100vw - 28px); background: #fff; border: 1px solid var(--line); border-radius: 18px;
  border-top: 3px solid var(--red);
  box-shadow: 0 30px 70px -20px rgba(15,23,42,.42), 0 6px 16px rgba(15,23,42,.08);
  padding: 10px; z-index: 120;
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .22s ease, transform .22s ease, visibility 0s linear .22s;
}
.nav-links > li:hover .nav-drop,
.nav-links > li:focus-within .nav-drop {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0);
  transition: opacity .22s ease, transform .22s ease, visibility 0s;
}
.nav-drop a {
  color: var(--text) !important; font-size: 13.5px; padding: 9px 12px !important;
  display: flex; align-items: center; min-height: 40px;
  border-radius: 10px; white-space: normal; line-height: 1.35; overflow-wrap: anywhere;
  transition: background .15s ease, color .15s ease;
}
.nav-drop a:hover { background: rgba(230,0,18,.07); color: var(--red) !important; box-shadow: none !important; }
.nav-drop .nav-drop-all {
  grid-column: 1 / -1; margin-top: 4px; border-top: 1px solid var(--line);
  padding-top: 10px !important; color: var(--red) !important; font-weight: 600;
}

/* ---------- Section spacing ---------- */
section { padding: 96px 0; }

/* ---------- Page hero (sub pages) ---------- */
.page-hero .crumb { display: flex; gap: 8px; font-size: 13px; color: rgba(255,255,255,.65); margin-bottom: 18px; }
.page-hero h1 { max-width: 940px; text-wrap: balance; }
.page-hero .crumb a { color: rgba(255,255,255,.85); }
.page-hero .crumb a:hover { color: #fff; text-decoration: underline; }
.page-hero .accent { color: #ffd34d; }

/* ---------- Promo cards (halaman Promo) ---------- */
.promo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.promo-card {
  position: relative; background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px; overflow: hidden; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.promo-card:hover { transform: translateY(-6px); border-color: rgba(230,0,18,.4); box-shadow: 0 30px 60px -30px rgba(15,23,42,.4); }
.promo-card .promo-badge {
  position: absolute; top: 20px; right: 20px; background: var(--red); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px;
}
.promo-card .promo-icon {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center;
  background: rgba(230,0,18,.1); color: var(--red); margin-bottom: 18px;
}
.promo-card h3 { font-family: var(--font-head); font-size: 22px; margin-bottom: 8px; }
.promo-card p { color: var(--muted); font-size: 14.5px; margin-bottom: 22px; }
.promo-card .promo-links { display: flex; gap: 10px; flex-wrap: wrap; }
.promo-strip {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: space-between;
  background: linear-gradient(150deg, var(--red), #b3000e); color: #fff; border-radius: 18px;
  padding: 26px 30px; margin-top: 40px;
}
.promo-strip h3 { font-family: var(--font-head); font-size: 20px; }
.promo-strip p { opacity: .9; font-size: 14px; }
.promo-strip .btn { background: #fff; color: var(--red); }
.promo-strip .btn:hover { background: #ffe9ec; }

/* ---------- Video grid ---------- */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.video-card {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .3s ease, box-shadow .3s ease;
}
.video-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(15,23,42,.4); }
.video-thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #0f172a; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.video-card:hover .video-thumb img { transform: scale(1.06); }
.video-thumb::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15,23,42,.65), rgba(15,23,42,.05));
}
.play-btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 58px; height: 58px; border-radius: 50%; background: var(--red); color: #fff;
  display: grid; place-items: center; z-index: 2; box-shadow: 0 12px 30px -8px rgba(230,0,18,.6);
  border: 3px solid rgba(255,255,255,.85); transition: transform .3s ease;
}
.video-card:hover .play-btn { transform: translate(-50%, -50%) scale(1.1); }
.video-info { padding: 18px 20px; }
.video-info h3 { font-family: var(--font-head); font-size: 16px; }
.video-info h3 a { color: var(--text); }
.video-info h3 a:hover { color: var(--red); }
.video-info .video-meta { color: var(--muted); font-size: 13px; margin-top: 6px; display: flex; align-items: center; gap: 8px; }
.video-modal {
  position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center;
  background: rgba(15,23,42,.85); backdrop-filter: blur(6px); padding: 24px;
}
.video-modal.open { display: flex; }
.video-modal .modal-box { position: relative; width: min(920px, 100%); }
.video-modal iframe { width: 100%; aspect-ratio: 16 / 9; border-radius: 16px; background: #000; border: none; }
.video-modal .modal-close {
  position: absolute; top: -46px; right: 0; background: rgba(255,255,255,.15); color: #fff;
  border: none; width: 38px; height: 38px; border-radius: 50%; font-size: 18px; cursor: pointer;
}
.video-modal .modal-close:hover { background: var(--red); }

/* ---------- Halaman detail mobil (cd-*) ---------- */
.cd-hero { position: relative; padding: 168px 0 92px; overflow: hidden; background: linear-gradient(160deg, #0b0f1a 0%, #131b2e 55%, #1a2438 100%); color: #f1f5f9; }
.cd-hero::before { content: ""; position: absolute; top: -200px; right: -140px; width: 620px; height: 620px; background: radial-gradient(circle, rgba(230,0,18,.28), transparent 65%); pointer-events: none; }
.cd-hero .container { position: relative; }
.cd-hero h1 { font-family: var(--font-head); font-size: clamp(34px, 4.6vw, 56px); line-height: 1.08; letter-spacing: -1.2px; margin: 6px 0 10px; }
.cd-hero .lead { color: rgba(241,245,249,.75); max-width: 640px; font-size: 16px; }
.cd-hero .crumb { display: flex; gap: 8px; font-size: 13px; color: rgba(255,255,255,.6); margin-bottom: 6px; }
.cd-hero .crumb a { color: rgba(255,255,255,.85); }
.cd-hero .crumb a:hover { color: #fff; text-decoration: underline; }
.cd-price-badge { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; }
.cd-price-badge .pill {
  display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(8px); border-radius: 999px;
  padding: 9px 18px; font-family: var(--font-head); font-weight: 700; color: #fff; font-size: 15px;
}
.cd-price-badge .pill b { color: #ffd34d; }

.cd-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: start; }
.cd-layout > * { min-width: 0; }
.cd-gallery { position: sticky; top: 110px; }
.cd-main {
  position: relative; border-radius: 20px; overflow: hidden; border: 1px solid var(--line);
  background: linear-gradient(140deg, #eef2f7, #dfe6ee);
}
.cd-main img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.cd-main .img-fallback { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(15,23,42,.25); }
.cd-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 12px; }
.cd-thumbs img, .cd-thumbs .thumb {
  width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 10px; cursor: pointer;
  border: 2px solid transparent; transition: border-color .2s ease, transform .2s ease;
  background: linear-gradient(140deg, #eef2f7, #dfe6ee);
}
.cd-thumbs img.on { border-color: var(--red); }
.cd-thumbs img:hover { transform: translateY(-2px); }

.cd-info h2 { font-family: var(--font-head); font-size: 26px; margin-bottom: 14px; }
.cd-info .cd-desc { color: var(--muted); line-height: 1.75; margin-bottom: 26px; }
.cd-price-card {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 28px; margin-bottom: 24px; box-shadow: 0 24px 50px -34px rgba(15,23,42,.35);
}
.cd-price-card .lbl { font-size: 12px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--muted); font-weight: 600; }
.cd-price-card .cd-price { font-family: var(--font-head); font-size: 30px; font-weight: 700; color: var(--red); margin: 4px 0 6px; }
.cd-price-card .cd-price small { font-size: 14px; color: var(--muted); font-weight: 500; }
.cd-price-card p { font-size: 13px; color: var(--muted); }
.cd-price-card .row { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.cd-price-card .row .btn { flex: 1; justify-content: center; min-width: 150px; }

.cd-types { margin-bottom: 28px; }
.cd-types h3 { font-family: var(--font-head); font-size: 18px; margin-bottom: 12px; }
.cd-types table { width: 100%; border-collapse: collapse; overflow: hidden; border-radius: 14px; border: 1px solid var(--line); background: var(--bg-card); }
.cd-types th, .cd-types td { padding: 13px 16px; text-align: left; font-size: 14px; border-bottom: 1px solid var(--line); }
.cd-types th { background: #0f172a; color: #e2e8f0; font-family: var(--font-head); font-size: 12px; text-transform: uppercase; letter-spacing: 1px; }
.cd-types tr:last-child td { border-bottom: none; }
.cd-types tbody tr:hover { background: rgba(230,0,18,.04); }
.cd-types .tp { font-weight: 600; }
.cd-types .pp { font-family: var(--font-head); font-weight: 700; white-space: nowrap; }
.cd-types .wa-link { color: var(--red); font-weight: 600; font-size: 13px; white-space: nowrap; }
.cd-types .wa-link:hover { text-decoration: underline; }

.cd-promos { margin-bottom: 28px; }
.cd-promos h3 { font-family: var(--font-head); font-size: 18px; margin-bottom: 12px; }
.promo-chip {
  display: flex; gap: 12px; align-items: flex-start; background: var(--bg-card);
  border: 1px solid var(--line); border-radius: 14px; padding: 16px; margin-bottom: 10px;
}
.promo-chip .pi { width: 42px; height: 42px; flex: none; border-radius: 12px; display: grid; place-items: center; background: rgba(230,0,18,.1); color: var(--red); }
.promo-chip b { font-size: 15px; }
.promo-chip p { font-size: 13.5px; color: var(--muted); margin-top: 2px; }

/* Sales card (kartu konsultan) */
.sales-card { border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: var(--bg-card); }
.sales-card .ban { height: 66px; background: linear-gradient(120deg, var(--red), #b3000e); }
.sales-card .body { padding: 0 26px 26px; text-align: center; margin-top: -46px; }
.sales-card .avatar {
  width: 92px; height: 92px; margin: 0 auto 12px; border-radius: 50%; overflow: hidden;
  border: 4px solid #fff; box-shadow: 0 10px 26px -10px rgba(15,23,42,.4); background: #eef2f7;
}
.sales-card .avatar img { width: 100%; height: 100%; object-fit: cover; }
.sales-card h3 { font-family: var(--font-head); font-size: 19px; }
.sales-card .role { color: var(--red); font-size: 13px; font-weight: 600; margin-bottom: 10px; }
.sales-card .bio { color: var(--muted); font-size: 13.5px; line-height: 1.7; margin-bottom: 16px; }
.sales-card .stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 18px; }
.sales-card .stats b { font-family: var(--font-head); color: var(--red); display: block; }
.sales-card .stats span { font-size: 11px; color: var(--muted); }
.sales-card .btns { display: grid; gap: 10px; }

/* Sales grid — satu konsultan, kartu di tengah */
.sales-grid { display: flex; justify-content: center; }
.sales-grid .sales-card { width: min(760px, 100%); }
.sales-card .avatar { position: relative; display: grid; place-items: center; }
.sales-card .avatar .avatar-fallback {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; font-size: 30px; color: var(--red);
}
.sales-card .avatar img { position: relative; z-index: 1; }

/* Sales card horizontal — foto kiri (penuh), keterangan kanan */
.sales-card--h { display: grid; grid-template-columns: .9fr 1.1fr; overflow: hidden; text-align: left; }
.sales-card--h .side { padding: 0; min-height: 360px; position: relative; display: block; }
.sales-card--h .side .avatar {
  width: 100%; height: 100%; margin: 0; border-radius: 0; border: none;
  box-shadow: none; position: relative; display: grid; place-items: center;
  background: linear-gradient(150deg, #8f0010, #e60012 60%, #ff3b4e);
}
.sales-card--h .side .avatar img { border-radius: 0; }
.sales-card--h .side .avatar .avatar-fallback { font-size: 80px; color: #fff; }
.sales-card--h .info {
  padding: 40px 38px; text-align: left; display: flex; flex-direction: column; gap: 12px;
}
.sales-card--h .info h3 { font-family: var(--font-head); font-size: 26px; letter-spacing: -.4px; }
.sales-card--h .info .role { color: var(--red); font-size: 14px; font-weight: 600; margin: 0; }
.sales-card--h .info .exp { color: var(--gold); font-weight: 600; font-size: 13px; }
.sales-card--h .info .bio { color: var(--muted); font-size: 14px; line-height: 1.7; }
.sales-card--h .info .note { color: var(--muted); font-size: 13.5px; line-height: 1.7; }
.sales-card--h .info .note b { color: var(--red); font-weight: 600; }
.sales-card--h .info .stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 4px 0; }
.sales-card--h .info .stats b { font-family: var(--font-head); color: var(--red); display: block; font-size: 17px; }
.sales-card--h .info .stats span { font-size: 11px; color: var(--muted); }
.sales-card--h .info .btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
@media (max-width: 640px) {
  .sales-card--h { grid-template-columns: 1fr; }
  .sales-card--h .side { min-height: 0; }
  .sales-card--h .side .avatar { width: 100%; height: 280px; }
  .sales-card--h .info { padding: 28px 22px; text-align: center; align-items: center; }
  .sales-card--h .info .btns { justify-content: center; }
  .sales-card--h .info .stats { width: 100%; }
}

.cd-cta { margin-top: 34px; padding: 26px; border-radius: 18px; background: linear-gradient(150deg, #ffffff, #f1f4f8); border: 1px solid var(--line); text-align: center; }
.cd-cta h3 { font-family: var(--font-head); font-size: 18px; margin-bottom: 6px; }
.cd-cta p { color: var(--muted); font-size: 13.5px; margin-bottom: 16px; }
.cd-cta .row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ---------- Daftar harga ---------- */
.price-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-card); }
.price-table-wrap table.cmp { min-width: 720px; }
.price-table-wrap .row-label { display: flex; align-items: center; gap: 10px; }
.price-table-wrap .row-label img { width: 44px; height: 32px; object-fit: cover; border-radius: 6px; background: #eef2f7; }

/* ---------- Form / alert extras ---------- */
.field .err { color: var(--red); font-size: 12px; margin-top: 6px; display: block; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--red); }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.alert-success {
  display: none; align-items: center; gap: 10px; background: rgba(22,163,74,.1);
  border: 1px solid rgba(22,163,74,.35); color: #166534; border-radius: 12px; padding: 14px 18px;
  font-size: 14px; font-weight: 600; margin-top: 16px;
}

/* ---------- About extras ---------- */
.facility-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.facility-card {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; text-align: center; transition: transform .3s ease, box-shadow .3s ease;
}
.facility-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(15,23,42,.35); }
.facility-card .fi { width: 54px; height: 54px; margin: 0 auto 14px; border-radius: 14px; display: grid; place-items: center; background: rgba(230,0,18,.1); color: var(--red); }
.facility-card h3 { font-family: var(--font-head); font-size: 16px; margin-bottom: 8px; }
.facility-card p { color: var(--muted); font-size: 13.5px; }

/* ---------- Model card tweaks ---------- */
.model-card .car-img { cursor: pointer; }
.model-card .car-img img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.model-card .badge { position: absolute; top: 14px; left: 14px; z-index: 3; }
.model-card .tagline { color: var(--muted); font-size: 13px; margin: 6px 0 10px; }

/* ---------- Contact map ---------- */
.map-wrap { margin-top: 40px; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 70px -40px rgba(15,23,42,.4); }
.map-wrap iframe { display: block; width: 100%; height: 420px; border: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .cd-layout { grid-template-columns: 1fr; }
  .cd-gallery { position: static; }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .promo-grid { grid-template-columns: 1fr; }
  .facility-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  section { padding: 72px 0; }
  .video-grid { grid-template-columns: 1fr; }
  .facility-grid { grid-template-columns: 1fr; }
  .cd-thumbs { grid-template-columns: repeat(4, 1fr); }
  .cd-hero { padding-top: 140px; }
}

/* ============================================================
   Marquee — animasi jalan halus & seamless
   ============================================================ */
.marquee { overflow: hidden; background: #000; }
.marquee-track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: marquee-scroll 30s linear infinite;
  will-change: transform;
}
.marquee span { color: #fff; }
.marquee-track > * {
  margin-right: 60px; /* jarak antar item — dipakai agar -50% tepat = 1 salinan */
  flex: none;
}
.marquee-track:hover { animation-play-state: paused; }
/* Keyframe eksplisit from→to: tanpa `from`, Safari/iOS tidak menjalankan animasi */
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
/* Marquee TETAP berjalan walau OS/browser mengurangi animasi — gerakan adalah
   bagian dari identitas band ini. Override blok reduksi di app.css (CSS ini dimuat belakangan). */
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: marquee-scroll 30s linear infinite !important; }
}

/* ============================================================
   Refinement layer — design pass (simple, premium, supervised)
   ============================================================ */

/* Header: Honda red yang lebih rapi, tanpa glow gradien terlalu terang */
header {
  background: linear-gradient(180deg, #c40221 0%, #e60012 100%);
  border-bottom: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 10px 30px -20px rgba(179,0,14,.55);
}
header.scrolled {
  background: rgba(214,18,33,.94);
  border-bottom-color: rgba(255,255,255,.18);
  box-shadow: 0 12px 34px -20px rgba(179,0,14,.6);
}
.brand { text-shadow: none; }
.nav-links a:hover { box-shadow: inset 0 0 0 1px rgba(255,255,255,.30); }

/* Dropdown area layanan (satu kolom) */
.nav-drop--regions { grid-template-columns: 1fr; min-width: 240px; }

/* Tombol: shadow yang wajar, hover tegas tanpa glow mencolok */
.btn-primary,
.btn-wa,
.btn-ghost,
.nav-cta .btn,
.filter-chip.on,
.hero-cf-cta,
.hero-cf-whatsapp,
.hero-cf-secondary { box-shadow: none !important; }
.btn-primary:hover { background: #cf000f; }
.btn-wa:hover { background: #1cb959; }
.btn-primary,
.btn-wa {
  box-shadow: 0 8px 22px -14px rgba(15,23,42,.35);
}
.btn-primary:hover,
.btn-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -16px rgba(15,23,42,.4);
}
.btn-ghost { border-color: var(--line); background: rgba(148,163,184,.06); }

/* Kartu: elevasi lebih lembut dan bernyali, minim blur besar */
.model-card,
.promo-card,
.video-card,
.facility-card,
.sales-card,
.region-tile,
.step,
.cd-price-card,
.map-wrap,
.price-table-wrap,
.table-wrap,
.detail-media {
  box-shadow: 0 1px 2px rgba(15,23,42,.05), 0 18px 40px -30px rgba(15,23,42,.28);
}
.model-card:hover,
.promo-card:hover,
.video-card:hover,
.facility-card:hover,
.sales-card:hover {
  transform: translateY(-5px);
  border-color: rgba(230,0,18,.4);
  box-shadow: 0 2px 4px rgba(15,23,42,.05), 0 26px 50px -30px rgba(15,23,42,.35);
}
.model-card:hover { transform: translateY(-5px); }

/* Hero utama: glow radial lebih halus, bayangan gambar lebih ringan */
.hero::before { background: radial-gradient(circle, rgba(230,0,18,.16), transparent 65%); }
.hero::after { background: radial-gradient(circle, rgba(56,189,248,.07), transparent 65%); }
.hero-visual .glow { background: radial-gradient(ellipse at 50% 50%, rgba(230,0,18,.14), transparent 70%); filter: blur(34px); }
.hero-visual .car-img img { box-shadow: 0 26px 60px -26px rgba(15,23,42,.55); }
.page-hero::before { background: radial-gradient(circle, rgba(230,0,18,.2), transparent 65%); }
.page-hero::after { background: radial-gradient(circle, rgba(56,189,248,.08), transparent 65%); }

/* Dihapus: blok statistik hero tidak lagi dipakai. */

/* Satu kicker per dua-tiga section juga pas dipisahkan garis tipis */
.kicker { display: inline-block; padding-bottom: 8px; border-bottom: 2px solid var(--red); }

/* Footer: sejajar & rapi */
.footer-bottom { justify-content: space-between; }
.footer-seo { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12.5px; line-height: 1.7; max-width: 820px; }

/* ============================================================
   Halaman area layanan (region)
   ============================================================ */

.region-intro {
  max-width: 820px;
  margin-inline: auto;
  display: grid;
  gap: 18px;
  text-align: center;
}
.region-head { margin-bottom: 4px; }
.region-lead { color: var(--muted); font-size: 16.5px; line-height: 1.8; }
.region-bullets { list-style: none; display: grid; gap: 12px; margin-top: 8px; text-align: left; max-width: 640px; margin-inline: auto; }
.region-bullets li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.6; }
.region-bullets svg { color: var(--red); flex: none; margin-top: 4px; }

.region-areas-label { font-size: 12px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; color: var(--muted); text-align: center; margin-bottom: 18px; }
.region-areas-grid { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.area-pill {
  padding: 10px 18px; background: var(--bg-card); border: 1px solid var(--line);
  border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--text); transition: border-color .2s ease;
}
.area-pill:hover { border-color: var(--red); color: var(--red); }

.region-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 46px; }
.step { display: flex; gap: 16px; padding: 26px 24px; background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); }
.step-num { width: 40px; height: 40px; flex: none; border-radius: 12px; background: var(--red); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 17px; }
.step h3 { font-size: 16px; letter-spacing: -.2px; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 13.5px; line-height: 1.65; }

.region-reco { padding: 26px; display: flex; flex-direction: column; }
.region-reco-icon { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: var(--bg-soft); color: var(--red); margin-bottom: 18px; }
.region-reco .model-body { padding: 0; }
.region-reco .model-body h3 { font-size: 19px; }
.region-reco .model-actions { margin-top: 14px; }

/* Kisi area layanan di beranda */
.region-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.region-tile { display: block; background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.region-tile:hover { transform: translateY(-4px); border-color: rgba(230,0,18,.4); box-shadow: 0 24px 48px -30px rgba(15,23,42,.35); }
.region-tile-head { display: flex; align-items: center; justify-content: space-between; color: var(--muted); margin-bottom: 12px; }
.region-tile-tag { font-size: 11px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; color: var(--red); }
.region-tile h3 { font-family: var(--font-head); font-size: 19px; letter-spacing: -.3px; }
.region-tile p { color: var(--muted); font-size: 13.5px; line-height: 1.6; margin-top: 6px; }

/* FAQ accordion (region) */
.faq-item .faq-a { overflow: hidden; max-height: 0; transition: max-height .35s ease; }
.faq-item.open .chev { transform: rotate(180deg); }
.faq-item .chev { transition: transform .3s ease; }

/* ============================================================
   Responsive tambahan
   ============================================================ */
@media (max-width: 1020px) {
  .region-grid,
  .region-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .region-grid,
  .region-steps { grid-template-columns: 1fr; }
  .region-intro { text-align: left; }
  .region-bullets { margin-inline: 0; }
  .region-lead { font-size: 15.5px; }
  .region-areas { padding: 48px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-float,
  .faq-item .chev,
  .model-card,
  .promo-card,
  .video-card,
  .facility-card { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   Latar hero dari gambar mobil (page-hero & cd-hero)
   ============================================================ */
.page-hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.page-hero-bg-slide {
  position: absolute; inset: -40px; background-size: cover; background-position: center;
  transform: scale(1.08); filter: blur(6px) saturate(1.15); opacity: 0;
  animation: hero-bg-cross 21s infinite;
}
.page-hero-bg-slide:nth-child(1) { animation-delay: 0s; }
.page-hero-bg-slide:nth-child(2) { animation-delay: 7s; }
.page-hero-bg-slide:nth-child(3) { animation-delay: 14s; }
.page-hero-bg-dim {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(11,15,26,.88) 0%, rgba(19,27,46,.58) 55%, rgba(26,36,56,.88) 100%);
}
.page-hero .container,
.cd-hero .container { position: relative; z-index: 1; }

@keyframes hero-bg-cross {
  0% { opacity: 0; }
  8% { opacity: .55; }
  30% { opacity: .55; }
  38% { opacity: 0; }
  100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .page-hero-bg-slide { animation: none; opacity: .55; }
}

/* ============================================================
   Navbar mobile: panel full-width + submenu kartu rapi
   ============================================================ */
.nav-cta-mobile { display: none; }
@media (max-width: 1180px) {
  /* Panel: selebar layar, putih bersih, turun dari bawah header */
  .nav-links {
    position: fixed; inset: 78px 0 auto 0; flex-direction: column; gap: 2px;
    background: #fff;
    border-top: 1px solid rgba(230,0,18,.14);
    border-bottom: 1px solid var(--line);
    border-radius: 0 0 18px 18px;
    box-shadow: 0 28px 60px -26px rgba(179,0,14,.45), 0 8px 18px rgba(15,23,42,.10);
    padding: 10px 14px 14px;
    transform: translateY(-10px); opacity: 0; pointer-events: none;
    transition: opacity .22s ease, transform .22s ease;
    max-height: calc(100dvh - 92px); overflow-y: auto;
    -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
    z-index: 115;
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }

  .nav-links > li { width: 100%; border-radius: 12px; }

  .nav-links > li > a {
    padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px;
    border-radius: 10px; background: none; box-shadow: none; color: #1e293b !important;
    font-weight: 600; font-size: 15px; line-height: 1.3; min-height: 48px;
    transition: background .15s ease, color .15s ease;
  }
  .nav-links > li > a:active { background: rgba(230,0,18,.06); }
  .nav-links > li.active { background: rgba(230,0,18,.07); }
  .nav-links > li.active > a { color: var(--red) !important; }
  .nav-links > li > a.active { background: rgba(230,0,18,.09); color: var(--red) !important; box-shadow: none !important; }
  .nav-links > li.open { background: rgba(230,0,18,.06); }
  .nav-links > li.open > a { color: var(--red) !important; }
  /* matikan jembatan hover desktop di layar sentuh */
  .nav-links > li::after { display: none; }

  /* panah submenu */
  .nav-links > li:has(> .nav-drop) > a { position: relative; }
  .nav-links > li:has(> .nav-drop) > a::after {
    content: ""; border-style: solid; border-width: 0 2px 2px 0; padding: 3.2px;
    transform: rotate(45deg); opacity: .6; transition: transform .2s ease;
  }
  .nav-links > li:has(> .nav-drop).open > a::after { transform: rotate(-135deg); opacity: 1; }

  /* Panel submenu: kartu abu muda, border aksen merah saat terbuka */
  .nav-drop {
    position: static; transform: none; min-width: 0;
    margin: 4px 6px 12px; padding: 12px;
    background: #f2f5f9; border: 1px solid var(--line); border-top-width: 1px;
    border-radius: 14px; box-shadow: none;
    grid-template-columns: 1fr; gap: 6px; align-content: start;
    max-height: 0; overflow: hidden; opacity: 0; visibility: hidden; pointer-events: none;
    transition: max-height .32s ease, opacity .22s ease;
  }
  .nav-links > li.open .nav-drop {
    max-height: 78vh; overflow-y: auto; opacity: 1; visibility: visible; pointer-events: auto;
    border-top: 3px solid var(--red);
  }
  /* Mobil: dua kolom di layar >=480px */
  @media (min-width: 480px) {
    .nav-drop { grid-template-columns: 1fr 1fr; }
  }
  /* Area Layanan selalu satu kolom agar subteks focus terbaca */
  .nav-drop--regions { grid-template-columns: 1fr !important; }

  .nav-drop a {
    display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 2px; min-height: 48px; padding: 9px 13px !important;
    background: #fff; border: 1px solid var(--line); border-radius: 11px;
    color: #334155 !important; font-size: 14px; font-weight: 500; line-height: 1.3;
    white-space: normal; overflow-wrap: anywhere; text-align: left;
    transition: border-color .15s ease, background .15s ease, color .15s ease;
  }
  .nav-drop a > small {
    font-size: 11px; font-weight: 500; color: #7b8694; letter-spacing: .2px;
  }
  .nav-drop a:hover,
  .nav-drop a:active { background: rgba(230,0,18,.05); border-color: rgba(230,0,18,.22); color: var(--red) !important; }
  .nav-drop a:hover > small { color: var(--red); }

  .nav-drop .nav-drop-all {
    grid-column: 1 / -1; flex-direction: row; justify-content: center; align-items: center;
    min-height: 46px; margin-top: 8px; padding: 10px 14px !important;
    background: none; border: 0; border-top: 1px solid var(--line); border-radius: 0;
    color: var(--red) !important; font-weight: 700; font-size: 14px;
  }
  .nav-drop .nav-drop-all:hover { background: rgba(230,0,18,.05); }

  /* CTA WhatsApp di dalam menu mobile */
  .nav-cta-mobile { display: block; margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--line); }
  .nav-cta-mobile a {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    background: #25d366; color: #022c16 !important; font-weight: 700; font-size: 14.5px;
    padding: 13px 16px !important; border-radius: 12px; box-shadow: 0 10px 24px -14px rgba(37,211,102,.9);
  }
  .nav-cta-mobile a:hover { background: #34e673; color: #022c16 !important; box-shadow: none !important; }
  .nav-cta .btn { display: none; }
  .hamburger { display: block; }
}

/* ============================================================
   HERO LANDING — polish (coverflow Honda)
   ============================================================ */
/* Latar lebih sinematik + vignette agar teks top selalu terbaca */
.hero-cf { height: clamp(640px, 86vh, 760px); background: radial-gradient(120% 130% at 50% 0%, #1a2232 0%, #0e1420 62%, #0a0e16 100%); }
.hero-cf::before {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(46% 60% at 16% 84%, rgba(230,0,18,.26), transparent 72%),
    linear-gradient(180deg, rgba(8,11,19,.68) 0%, rgba(8,11,19,0) 26%, rgba(8,11,19,0) 68%, rgba(10,14,22,.6) 100%);
}
.hero-cf-bg { filter: blur(6px) saturate(1.35) brightness(.92); }

/* Header: headline yang lebih tegas */
.hero-cf-header { padding: 84px 24px 0; }
.hero-cf-header h1 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); text-shadow: 0 2px 18px rgba(0,0,0,.45); margin-bottom: 10px; }
.hero-cf-header p { max-width: 560px; line-height: 1.6; font-size: .95rem; }

/* Card: terpusat horizontal secara pasti + kedalaman 3D proporsional ke viewport */
.hero-cf-track { perspective: 1800px; }
.hero-cf-slide { left: 50%; top: clamp(138px, calc(clamp(640px, 86vh, 760px) * 0.42 - 170px), 192px); transform-style: preserve-3d; will-change: transform; }
.hero-cf-slide.active::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(10,14,22,.66), rgba(10,14,22,0) 50%);
}
.hero-cf-slide.active { box-shadow: 0 28px 64px -20px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.1); }
.hero-cf-slide:not(.active) { filter: saturate(.62) brightness(.84); }
.hero-cf-link img { transition: transform .7s cubic-bezier(.16,1,.3,1); }
.hero-cf-slide:hover .hero-cf-link img { transform: scale(1.05); }

/* Info panel: aksen garis merah + chip harga */
.hero-cf-info::before {
  content: ''; display: block; width: 34px; height: 3px; border-radius: 2px;
  background: #ff4456; margin-bottom: 10px;
}
.hero-cf-slide:not(.active) .hero-cf-info::before { opacity: .35; }
.hero-cf-tag {
  position: absolute; top: 14px; right: 14px; z-index: 3;
  background: rgba(8,11,19,.58); border: 1px solid rgba(255,255,255,.24);
  backdrop-filter: blur(8px); color: #fff; font-size: 12px; font-weight: 700;
  letter-spacing: .02em; padding: 5px 12px; border-radius: 50px; white-space: nowrap;
}
.hero-cf-slide:not(.active) .hero-cf-tag { display: none; }

/* Navigasi: panah lebih besar area ketuk, bullets indikator */
.hero-cf-prev, .hero-cf-next {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(10px);
}
.hero-cf-prev:hover, .hero-cf-next:hover { background: var(--red); border-color: var(--red); transform: translateY(-50%) scale(1.12); }
.hero-cf-bullets {
  position: absolute; left: 0; right: 0; bottom: 122px; z-index: 30;
  display: flex; justify-content: center; gap: 8px; pointer-events: none;
}
.hero-cf-bullet {
  pointer-events: auto; width: 20px; height: 5px; padding: 0; border: none; cursor: pointer;
  border-radius: 3px; background: rgba(255,255,255,.28); transition: width .3s ease, background .3s ease;
}
.hero-cf-bullet:hover { background: rgba(255,255,255,.55); }
.hero-cf-bullet.on { width: 32px; background: #ff4456; }
.hero-cf-actions { bottom: 22px; }

@media (prefers-reduced-motion: reduce) {
  .hero-cf-slide, .hero-cf-link img, .hero-cf-bullet { transition: none; }
}

@media (max-width: 768px) {
  .hero-cf { height: 680px; }
  .hero-cf-slide { left: 50%; top: 160px; }
  .hero-cf-header { padding: 78px 16px 0; }
  .hero-cf-header h1 { font-size: 1.4rem; }
  .hero-cf-header p { font-size: .85rem; line-height: 1.6; }
  .hero-cf-bullets { bottom: 100px; }
  .hero-cf-actions { bottom: 24px; }
}

@media (max-width: 480px) {
  .hero-cf { height: 640px; }
  .hero-cf-slide { top: 152px; }
  .hero-cf-header { padding: 74px 16px 0; }
  .hero-cf-header h1 { font-size: 1.25rem; margin-bottom: 8px; }
  .hero-cf-header p { font-size: .8rem; }
  .hero-cf-bullets { bottom: 92px; gap: 6px; }
  .hero-cf-actions { bottom: 24px; gap: 8px; }
  .hero-cf-tag { top: 10px; right: 10px; font-size: 10.5px; padding: 4px 10px; }
}

/* =====================================================================
   MOBILE APP EXPERIENCE + PERBAIKAN DESAIN
   ===================================================================== */

/* Kontras: perbaiki teks #cbd5e1 yang nyaris tak terbaca di latar terang */
.testi-card blockquote { color: #334155; }
.field label { color: #475569; }
.footer-col h4 { color: #1e293b; }

/* Fallback konten bila JS mati (animasi reveal) */
html.no-js .reveal { opacity: 1; transform: none; }

/* Kunci scroll saat menu mobile terbuka */
body.menu-open { overflow: hidden; }

/* Hero: izinkan scroll vertikal, gesek horizontal untuk pindah slide */
.hero-cf { touch-action: pan-y; }

/* Bottom App Bar ala aplikasi mobile */
.app-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  display: none; align-items: center; justify-content: space-around;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  box-shadow: 0 -12px 32px -18px rgba(15,23,42,.22);
}
.app-bar a {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  min-width: 60px; min-height: 56px; justify-content: center;
  font-size: 10.5px; font-weight: 600; color: var(--muted);
  transition: color .2s ease;
}
.app-bar .bar-ic {
  display: grid; place-items: center; width: 42px; height: 28px; border-radius: 12px;
  transition: background .2s ease;
}
.app-bar a.active { color: var(--red); }
.app-bar a.active .bar-ic { background: rgba(230,0,18,.12); }
.app-bar a.bar-wa { color: #16a34a; }
.app-bar a.bar-wa .bar-ic { background: rgba(22,163,74,.10); }

@media (max-width: 760px) {
  body { padding-bottom: calc(58px + env(safe-area-inset-bottom, 0px)); }
  .app-bar { display: flex; }

  /* FAB WhatsApp jadi tombol bulat, di atas app bar */
  .floating-wa {
    right: 16px;
    bottom: calc(74px + env(safe-area-inset-bottom, 0px));
    width: 56px; height: 56px; border-radius: 50%;
    justify-content: center; padding: 0;
    box-shadow: 0 14px 34px -10px rgba(37,211,102,.65);
  }
  .floating-wa span { display: none; }
  .floating-wa .pulse-dot { position: static; }

  /* Hero lebih kompak agar pas di layar ponsel (seperti app) */
  .hero-cf { height: min(560px, 84svh); }
  .hero-cf-slide { width: 280px; height: 235px; }
  .hero-cf-bullet { width: 24px; height: 8px; }
  .hero-cf-bullet.on { width: 34px; }
  .hero-cf-bullets { gap: 9px; }

  /* Tombol aksi + indikator dikumpulkan tepat di bawah slider gambar */
  .hero-cf-bullets { top: 414px; bottom: auto; }
  .hero-cf-actions {
    top: 460px; bottom: auto;
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    width: 100%; padding-inline: 16px;
  }
  .hero-cf-actions a { width: auto; justify-content: center; }
  .hero-cf-actions .hero-cf-whatsapp { display: none; }
  .hero-cf-actions .hero-cf-cta { padding: 9px 16px; min-height: 40px; font-size: .74rem; }
  .hero-cf-actions .hero-cf-secondary { min-height: 40px; padding: 0 16px; font-size: .74rem; }

  /* Marquee sekaligus menu lebih ramah layar kecil */
  .marquee { padding: 16px 0; }
  .marquee-track { gap: 40px; }
  .marquee span { font-size: 15px; letter-spacing: 3px; }
}

@media (max-width: 480px) {
  .hero-cf { height: min(520px, 84svh); }
  .hero-cf-slide { width: 240px; height: 201px; }
  .hero-cf-bullets { top: 373px; }
  .hero-cf-actions { top: 412px; gap: 8px; }
  .hero-cf-actions .hero-cf-cta,
  .hero-cf-actions .hero-cf-secondary { min-height: 36px; font-size: .68rem; padding-inline: 8px; }
  .app-bar a { min-height: 54px; }
}
@supports not (height: 84svh) {
  @media (max-width: 760px) { .hero-cf { height: 560px; } }
  @media (max-width: 480px) { .hero-cf { height: 520px; } }
}

/* ---------- Simulasi Kredit ---------- */
.sim-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 44px; align-items: start; margin-top: 40px; }
.sim-form .form-row { margin-bottom: 0; }
.range-labels { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.range-labels b { color: var(--text); }
.sim-result { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.sim-hero { background: linear-gradient(135deg, #7a0c1d, var(--red)); border-radius: var(--radius); padding: 26px 26px 22px; color: #fff; margin-bottom: 22px; }
.sim-label { font-size: 13.5px; opacity: .9; }
.sim-label b { font-size: 14px; }
.sim-nominal { font-family: var(--font-head); font-size: clamp(28px, 4vw, 38px); font-weight: 700; line-height: 1.15; margin: 6px 0 8px; }
.sim-car { font-size: 13px; opacity: .85; }
.sim-breakdown { display: grid; gap: 10px; }
.sim-row { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 10px 14px; border-radius: 10px; background: var(--bg-soft); font-size: 14px; color: var(--muted); }
.sim-row b { color: var(--text); font-weight: 600; text-align: right; }
.sim-row.total { background: rgba(230,0,18,.08); border: 1px solid rgba(230,0,18,.2); }
.sim-row.total b { color: var(--red); }
.sim-table { min-width: 480px; }
.sim-table tr.sim-highlight { background: rgba(230,0,18,.07); }
.sim-table tr.sim-highlight td { font-weight: 700; }
.sim-empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.sim-empty-ic { width: 84px; height: 84px; margin: 0 auto 18px; border-radius: 24px; display: grid; place-items: center; background: rgba(230,0,18,.08); color: var(--red); }
.sim-empty h3 { font-family: var(--font-head); color: var(--text); margin-bottom: 8px; }
.sim-empty p { max-width: 380px; margin-inline: auto; font-size: 14.5px; line-height: 1.7; }
@media (max-width: 900px) {
  .sim-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ============================================================
   RESPONSIVE REFINEMENT — mobile-first polish (2026)
   ============================================================ */

/* Smooth scroll + jarak aman saat lompat ke anchor di bawah header fixed */
html { scroll-behavior: smooth; }
:where(#models, #why, #testimonials, #sales, #lokasi, #area-layanan, #katalog,
  #bandingkan, #harga, #video, #promo, #per-model, #kontak, #faq,
  #simulasi, #nilai, #perjalanan, #tim, #fasilitas) { scroll-margin-top: 92px; }

/* Tap target & interaksi sentuh */
a, button, select, input, textarea { -webkit-tap-highlight-color: rgba(230,0,18,.12); }
.btn, .filter-chip, .nav-links a, .faq-q, .area-pill, .hero-cf-cta,
.hero-cf-secondary, .hero-cf-whatsapp, .model-link, .hero-cf-bullet,
.modal-close, .hamburger, .app-bar a { touch-action: manipulation; }

/* Font input minimal 16px → cegah zoom otomatis iOS pada fokus */
.field input, .field select, .field textarea { font-size: 16px; }

/* Tabel: gulir mulus + scrollbar tipis */
.price-table-wrap, .table-wrap, .cd-types {
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(15,23,42,.25) transparent;
}

/* Menu mobile: scroll lebih nyaman */
.nav-links { -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }

/* Info panel slide hero: jangan sampai terpotong saat bool */
.hero-cf-info h3 { overflow-wrap: anywhere; }

/* Gambar cerita (Tentang) responsif aman */
.story-media img { width: 100%; height: auto; display: block; object-fit: cover; }

/* ============================================================
   HERO — slider gambar lebih kecil & rapi (semua layar)
   ============================================================ */
.hero-cf { height: clamp(660px, 86vh, 780px); }
.hero-cf-track { padding-top: 150px; padding-bottom: 84px; }
.hero-cf-slide { width: 470px; height: 310px; top: clamp(150px, 18vh, 172px); }
.hero-cf-info { padding: 18px; }
.hero-cf-header { padding-top: 76px; }
.hero-cf-actions { left: 0; right: 0; bottom: 28px; display: flex; justify-content: center; gap: 10px; }
.hero-cf-actions .btn-ghost { border-color: rgba(148,163,184,.35); color: #e2e8f0; background: rgba(148,163,184,.08); }
.hero-cf-actions .btn-ghost:hover { border-color: var(--red); color: #fff; }
@media (max-width: 900px) {
  .hero-cf { height: clamp(600px, 84vh, 680px); }
  .hero-cf-slide { width: 340px; height: 226px; top: 148px; }
}

/* ---------- Tablet / kecil ---------- */
@media (max-width: 760px) {
  /* HP & tablet kecil: hero jadi korsel satu gambar yang rapi & lega,
     dengan jarak aman di bawah navbar fixed (74px). */
  .hero-cf { height: max(min(520px, 84svh), 480px); }
  .hero-cf-header { padding-top: 86px; }
  .hero-cf-header h1 { font-size: 1.3rem; margin-bottom: 5px; }
  .hero-cf-header p { font-size: .82rem; }
  .hero-cf-slide { width: 290px; height: 204px; top: 180px; }
  .hero-cf-prev, .hero-cf-next { width: 32px; height: 32px; top: 266px; }
  .hero-cf-prev { left: 12px; } .hero-cf-next { right: 12px; }
  .hero-cf-actions { bottom: 24px; left: 16px; right: 16px; width: auto; margin: 0; display: flex; flex-direction: column; gap: 8px; }
  .hero-cf-actions .btn { width: 100%; min-height: 40px; padding: 6px 14px; font-size: .78rem; border-radius: 999px; }
  .hero-cf-prev, .hero-cf-next { width: 32px; height: 32px; top: 266px; }
  .hero-cf-prev { left: 12px; } .hero-cf-next { right: 12px; }
  .hero-cf-info { padding: 10px 12px; }
  .hero-cf-info h3 { font-size: .98rem; white-space: normal; line-height: 1.25; }
  .hero-cf-info p { font-size: .72rem; }
  .hero-cf-info::before { width: 18px; margin-bottom: 6px; }

  /* Tabel tipe di detail mobil: sembunyikan kolom nomor agar lega */
  .cd-types { overflow-x: auto; }
  .cd-types table { min-width: 520px; }
  .cd-types thead th:first-child,
  .cd-types tbody td:first-child { display: none; }

  /* CTA satu kolom penuh → rapi di layar sempit */
  .cta-band { padding: 34px 20px; }
  .cta-band .cta-row { flex-direction: column; align-items: stretch; }
  .cta-band .cta-row .btn { width: 100%; justify-content: center; }
  .promo-strip { padding: 22px 20px; }
  .promo-strip .btn { width: 100%; justify-content: center; }

  /* Tombol: tinggi sentuh nyaman */
  .btn { min-height: 44px; }
  .btn-sm { min-height: 38px; }
}

/* ---------- Ponsel ---------- */
@media (max-width: 480px) {
  .hero-cf { height: max(min(520px, 84svh), 470px); }
  .hero-cf-header { padding-top: 74px; }
  .hero-cf-header h1 { font-size: 1.18rem; margin-bottom: 4px; }
  .hero-cf-header p { font-size: .78rem; }
  .hero-cf-slide { width: 250px; height: 180px; top: 176px; }
  .cd-main img { aspect-ratio: 1 / 1; }
  .hero-cf-prev, .hero-cf-next { width: 30px; height: 30px; top: 264px; }
  .hero-cf-prev { left: 8px; } .hero-cf-next { right: 8px; }
  .hero-cf-actions { bottom: 24px; left: 16px; right: 16px; width: auto; margin: 0; gap: 8px; }
  .hero-cf-actions .btn { width: 100%; min-height: 38px; padding: 5px 10px; font-size: .76rem; }
  .hero-cf-prev, .hero-cf-next { width: 30px; height: 30px; top: 264px; }
  .hero-cf-prev { left: 8px; } .hero-cf-next { right: 8px; }
  .hero-cf-info h3 { font-size: .9rem; }
  .hero-cf-info p { font-size: .68rem; }
}
@media (max-width: 640px) {
  .filter-bar {
    flex-wrap: nowrap; justify-content: flex-start;
    overflow-x: auto; padding-bottom: 8px;
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .filter-bar::-webkit-scrollbar { display: none; }
  .filter-chip { flex: none; scroll-snap-align: start; }

  section { padding: 64px 0; }

  .cd-main { border-radius: 16px; }
  .cd-main img { aspect-ratio: 4 / 3; height: auto; max-width: 100%; }
  .cd-thumbs img { max-width: 100%; }
  .cd-thumbs { grid-template-columns: repeat(4, 1fr); }

  .section-head h2 { font-size: 1.62rem; letter-spacing: -.6px; }
  .page-hero h1 { font-size: clamp(1.7rem, 7vw, 2.1rem); letter-spacing: -.8px; }
  .page-hero .lead { font-size: 15px; }
  .page-hero .crumb { font-size: 12.5px; }

  .footer-bottom { flex-direction: column; gap: 6px; text-align: center; }

  .video-modal { align-items: flex-start; overflow-y: auto; padding: 16px 12px; }
  .video-modal .modal-close { top: -44px; right: 0; }

  .promo-card { padding: 26px 22px; }
  .sim-result { padding: 22px; }
  .sim-hero { padding: 22px 20px; }
  .map-wrap iframe { height: 320px; }
}

/* ---------- Tablet: footer menjadi 2 kolom agar tidak sesak ---------- */
@media (min-width: 761px) and (max-width: 1020px) {
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-bottom { justify-content: space-between; }
}

/* ---------- Ponsel sangat sempit ---------- */
@media (max-width: 340px) {
  .hero-cf { height: max(min(500px, 84svh), 460px); }
  .hero-cf-slide { width: 182px; height: 134px; top: 168px; }
  .hero-cf-prev, .hero-cf-next { top: 232px; }
  .hero-cf-actions { bottom: 20px; left: 16px; right: 16px; gap: 8px; }
  .hero-cf-actions .btn { width: 100%; min-height: 36px; padding-inline: 8px; font-size: .74rem; }
}

/* ---------- Landscape ponsel (layar pendek) ---------- */
@media (max-width: 820px) and (orientation: landscape) and (max-height: 560px) {
  .hero-cf { height: 410px; }
  .hero-cf-header { padding-top: 80px; }
  .hero-cf-header h1 { font-size: 1.05rem; margin-bottom: 4px; }
  .hero-cf-header p { display: none; }
  .hero-cf-prev, .hero-cf-next { width: 30px; height: 30px; top: 184px; }
  .hero-cf-prev { left: 10px; } .hero-cf-next { right: 10px; }
  .hero-cf-slide { top: 112px; width: 176px; height: 142px; }
  .hero-cf-actions { bottom: 16px; left: 16px; right: 16px; gap: 8px; }
  .hero-cf-actions .btn { width: 100%; min-height: 32px; padding-inline: 10px; font-size: .72rem; }
}

@supports not (height: 84svh) {
  @media (max-width: 760px) { .hero-cf { height: 540px; } }
  @media (max-width: 480px) { .hero-cf { height: 520px; } }
  @media (max-width: 340px) { .hero-cf { height: 500px; } }
}

/* ============================================================
   Hero halaman lain (page-hero & cd-hero): pelapis warna merah
   fokus ke teks di kiri, gambar di kanan tampil jelas
   ============================================================ */
.page-hero-bg-slide {
  filter: saturate(1.08) contrast(1.02);
  animation-name: hero-bg-cross-clear;
}
.page-hero-bg-dim {
  background:
    linear-gradient(180deg, rgba(8,11,19,.32) 0%, rgba(8,11,19,0) 28%, rgba(8,11,19,0) 74%, rgba(8,11,19,.34) 100%),
    linear-gradient(90deg,
      rgba(143,0,16,.95) 0%,
      rgba(230,0,18,.84) 52%,
      rgba(230,0,18,.30) 76%,
      rgba(255,59,78,.04) 100%);
}
.page-hero h1 .accent,
.cd-hero h1 .accent {
  background: none;
  color: #ffd34d;
  background-clip: border-box;
  -webkit-background-clip: border-box;
  -webkit-text-fill-color: #ffd34d;
}
.page-hero h1,
.page-hero p.lead,
.page-hero .crumb {
  text-shadow: 0 2px 14px rgba(0,0,0,.6);
}
@keyframes hero-bg-cross-clear {
  0% { opacity: 0; }
  8% { opacity: .95; }
  34% { opacity: .95; }
  42% { opacity: 0; }
  100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .page-hero-bg-slide { animation: none; opacity: .95; }
}
@media (max-width: 640px) {
  .page-hero-bg-dim {
    background:
      linear-gradient(180deg, rgba(8,11,19,.30) 0%, rgba(8,11,19,0) 26%, rgba(8,11,19,0) 72%, rgba(8,11,19,.32) 100%),
      linear-gradient(180deg,
        rgba(143,0,16,.95) 0%,
        rgba(230,0,18,.82) 40%,
        rgba(230,0,18,.26) 76%,
        rgba(255,59,78,.04) 100%);
  }
}

/* ============================================================
   Footer: versi premium (gelap navy + aksen merah)
   ============================================================ */
footer {
  border-top: 3px solid var(--red);
  background: linear-gradient(180deg, #111827 0%, #0b1120 100%);
  color: #94a3b8;
  position: relative;
}
footer::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(44% 48% at 10% 0%, rgba(230,0,18,.16), transparent 70%),
    radial-gradient(32% 40% at 94% 100%, rgba(56,189,248,.07), transparent 70%);
}
footer .container { position: relative; }

.footer-grid { margin-bottom: 44px; }
.footer-brand .brand { color: #fff; }
.footer-brand p { color: #9aa7bd; }
.footer-brand p[style] span { color: #cbd5e1; }
.footer-brand p[style] svg { color: var(--red); }

.footer-col h4 {
  color: #fff; position: relative; padding-bottom: 13px;
}
.footer-col h4::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 30px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--red), rgba(230,0,18,0));
}
.footer-col a {
  color: #9aa7bd; transition: color .2s ease, padding-left .2s ease;
}
.footer-col a:hover { color: #fff; padding-left: 4px; }

.footer-bottom {
  border-top: 1px solid rgba(148,163,184,.16);
  padding-top: 26px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  color: #94a3b8; font-size: 13px;
}
.footer-bottom span:last-child {
  background: rgba(230,0,18,.1); border: 1px solid rgba(230,0,18,.28);
  color: #ff8490; padding: 6px 16px; border-radius: 999px;
  font-weight: 600; font-size: 12px; letter-spacing: .5px; white-space: nowrap;
}

.footer-seo {
  border-top-color: rgba(148,163,184,.12);
  color: #70809a;
}

@media (max-width: 640px) {
  footer { padding: 56px 0 30px; }
  .footer-bottom { justify-content: center; }
}

/* ============================================================
   Sosial Media: ikon bulat (footer gelap & halaman kontak terang)
   ============================================================ */
.social-links { display: flex; gap: 10px; flex-wrap: wrap; }
.social-links a {
  width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(148,163,184,.12);
  border: 1px solid rgba(148,163,184,.22);
  color: #cbd5e1;
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}
.social-links a:hover {
  background: var(--red); border-color: var(--red); color: #fff;
  transform: translateY(-2px);
}
footer .social-links { margin-top: 18px; }
.contact-info .social-links { margin-top: 4px; }
.contact-info .social-links a {
  background: var(--bg-soft); border-color: var(--line); color: var(--muted);
}
.social-title { display: block; margin-top: 22px; font-size: 13.5px; font-weight: 600; color: var(--muted); }

/* ============================================================
   Halaman Video: CTA channel YouTube (jika youtube_url terisi)
   ============================================================ */
.channel-cta {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  flex-wrap: wrap; text-align: center;
  margin: 22px auto 0; max-width: 640px; padding: 14px 18px;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px;
  color: var(--muted); font-size: 14px;
}
.channel-cta .btn { white-space: nowrap; }

/* ============================================================
   Galeri Pengalaman (home)
   ============================================================ */
.gal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.gal-item {
  position: relative;
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: linear-gradient(140deg, #eef2f7, #dfe6ee);
  box-shadow: 0 22px 46px -30px rgba(15,23,42,.45);
  transition: opacity .7s ease, transform .35s ease, box-shadow .35s ease;
}
.gal-item img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .6s cubic-bezier(.16, 1, .3, 1);
}
.gal-item::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(11,15,26,0) 45%, rgba(11,15,26,.62));
  opacity: 0; transition: opacity .35s ease;
}
.gal-item figcaption {
  position: absolute; left: 16px; right: 16px; bottom: 12px; z-index: 1;
  color: #fff; font-size: .95rem; font-weight: 600;
  text-shadow: 0 2px 10px rgba(0,0,0,.5);
  transform: translateY(8px); opacity: 0;
  transition: transform .35s ease, opacity .35s ease;
}
.gal-item:hover { transform: translateY(-4px); box-shadow: 0 30px 54px -32px rgba(15,23,42,.55); }
.gal-item:hover img { transform: scale(1.05); }
.gal-item:hover::after { opacity: 1; }
.gal-item:hover figcaption { transform: none; opacity: 1; }

@media (hover: none) {
  .gal-item::after {
    opacity: 1;
    background: linear-gradient(180deg, rgba(11,15,26,0) 40%, rgba(11,15,26,.6));
  }
  .gal-item figcaption { opacity: 1; transform: none; }
}

@media (max-width: 900px) {
  .gal-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
@media (max-width: 560px) {
  .gal-grid { grid-template-columns: 1fr; }
  .gal-item { aspect-ratio: 5 / 4; }
}
@media (prefers-reduced-motion: reduce) {
  .gal-item, .gal-item img { transition: none; }
}