/* =========================================================
   LOMBOK BENHUR — style.css
   Warna mengikuti logo: navy #142C4F, teal #2E8C9A
   ========================================================= */

:root {
  --navy: #142C4F;
  --teal: #2E8C9A;
  --teal-dark: #1F6F7B;
  --teal-light: #5CC6D2;
  --wa: #0E7A3E;
  --motogp: #FFB627;
  --radius: 18px;
  --font-head: 'Sora', system-ui, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;

  /* tema terang (halaman Event) */
  --bg: #F5F8FA;
  --surface: #FFFFFF;
  --surface-2: #E8F1F4;
  --line: #E1E7EE;
  --text: #0F1E33;
  --muted: #4A5B6E;
  --accent: var(--teal-dark);
  --accent-ink: #FFFFFF;
  --btn: var(--navy);
  --btn-ink: #FFFFFF;
  --shadow: 0 10px 24px rgba(20, 44, 79, 0.08);
}

/* tema gelap (Beranda) */
body.theme-dark {
  --bg: #0A1628;
  --surface: #11223D;
  --surface-2: #172C4C;
  --line: #23395B;
  --text: #F2F5F9;
  --muted: #A9B6C8;
  --accent: var(--teal-light);
  --accent-ink: #0A1628;
  --btn: var(--teal-light);
  --btn-ink: #0A1628;
  --shadow: 0 18px 34px rgba(0, 0, 0, 0.45);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.section { padding: 56px 0 8px; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.2em; color: var(--accent); text-transform: uppercase; }
.section-head { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.section-head h2 { font-size: clamp(24px, 6vw, 36px); }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- tombol ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px; border-radius: 14px; border: 0;
  font: 700 16px/1 var(--font-body); cursor: pointer;
  background: var(--btn); color: var(--btn-ink);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn:hover { color: var(--btn-ink); }
/* micro interaction: naik saat hover (hanya perangkat dengan mouse), mengecil saat ditekan */
@media (hover: hover) { .btn:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(0, 0, 0, 0.28); } }
.btn:active, .round-btn:active, .tab:active, .social a:active, .wa-float:active { transform: scale(0.95); transition-duration: 0.08s; }
.btn-block { width: 100%; }
.btn-ghost { background: transparent; color: var(--text); border: 1.5px solid var(--line); }
.btn-ghost:hover { color: var(--text); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { color: #fff; }
.btn svg { width: 20px; height: 20px; flex: none; }
:focus-visible { outline: 3px solid var(--teal-light); outline-offset: 3px; border-radius: 8px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); }
.brand-mark { height: 36px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand b { font-family: var(--font-head); font-size: 17px; letter-spacing: 0.08em; }
.brand b span { color: var(--accent); }
body:not(.theme-dark) .brand b { color: var(--navy); }
.brand small { font-size: 10px; letter-spacing: 0.22em; color: var(--muted); margin-top: 4px; }
.menu-btn {
  width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--surface); color: var(--text); display: grid; place-items: center; cursor: pointer;
}
.menu-btn svg { width: 22px; height: 22px; }
.nav { display: none; }
.nav.open {
  display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 66px;
  background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 20px 18px;
}
.nav a { color: var(--text); font-weight: 600; padding: 12px 0; border-bottom: 1px solid var(--line); }
.nav a:last-child { border-bottom: 0; }
@media (min-width: 860px) {
  .menu-btn { display: none; }
  .nav, .nav.open { display: flex; flex-direction: row; gap: 26px; position: static; padding: 0; border: 0; background: none; }
  .nav a { border: 0; padding: 0; font-size: 15px; }
}

/* ---------- placeholder foto ---------- */
.ph { position: relative; overflow: hidden; background: var(--surface-2); border-radius: 14px; }
.ph::before {
  content: attr(data-label); position: absolute; inset: 0; display: grid; place-items: center;
  padding: 10px; text-align: center; font-size: 11px; color: var(--muted);
}
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- intro 3D (logo ditembus saat scroll) ---------- */
.intro3d { position: relative; height: 320vh; }
.intro3d-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.intro3d-fog { position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: radial-gradient(ellipse at 50% 45%, transparent 35%, rgba(10, 22, 40, 0.85) 80%); }
.intro3d-floor { left: -50%; right: -50%; height: 45%; opacity: 0.8; }
.intro3d-scene { position: absolute; inset: 0; perspective: 900px; perspective-origin: 50% 45%; transform-style: preserve-3d; }
.logo3d {
  position: absolute; left: 50%; top: 42%; width: min(78vw, 520px); aspect-ratio: 721 / 294;
  transform-style: preserve-3d; will-change: transform, opacity;
  transform: translate(-50%, -50%);
}
.logo3d img { position: absolute; inset: 0; width: 100%; height: 100%; transform: translateZ(calc(var(--d) * -1.8px)); }
.logo3d .l-back { filter: brightness(0.32) sepia(1) hue-rotate(160deg) saturate(2.2); }
.logo3d .l-mid { filter: brightness(0.7); }
.logo3d .l-front { filter: drop-shadow(0 0 18px rgba(92, 198, 210, 0.45)); }
.fly {
  position: absolute; left: 50%; top: 45%; width: min(34vw, 190px); aspect-ratio: 3 / 4;
  border-radius: 16px; overflow: hidden; opacity: 0; will-change: transform, opacity;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5); border: 1px solid rgba(92, 198, 210, 0.35);
}
.fly img { width: 100%; height: 100%; object-fit: cover; }
.fly-veh { background: #fff; }
.fly-veh img { object-fit: contain; }
.intro3d-text { position: absolute; left: 0; right: 0; top: 64%; z-index: 4; text-align: center; padding: 0 20px; will-change: opacity, transform; }
.intro3d-text h2 { font-size: clamp(30px, 9vw, 64px); font-weight: 800; letter-spacing: 0.06em; }
.intro3d-text h2 span { color: var(--teal-light); }
.intro3d-text p { margin-top: 8px; font-size: clamp(11px, 3vw, 14px); letter-spacing: 0.35em; text-transform: uppercase; color: var(--muted); }
.intro3d-top { position: absolute; left: 0; right: 0; top: calc(66px + 5vh); z-index: 4; display: flex; align-items: center; justify-content: center; gap: 8px;
  color: var(--teal-light); font-weight: 700; font-size: 14px; letter-spacing: 0.18em; text-transform: uppercase; will-change: opacity; }
.intro3d-top svg { width: 20px; height: 20px; animation: hintBounce 1.6s ease-in-out infinite; }
.intro3d-hint { position: absolute; left: 50%; bottom: 26px; z-index: 4; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 4px; color: var(--muted); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; }
.intro3d-hint svg { width: 22px; height: 22px; animation: hintBounce 1.6s ease-in-out infinite; }
@keyframes hintBounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) {
  .intro3d { height: auto; }
  .intro3d-sticky { position: relative; height: 70vh; }
  .fly, .intro3d-hint { display: none; }
}

/* ---------- hero beranda ---------- */
.hero { padding: 28px 0 0; }
.hero h1 { font-size: clamp(40px, 11vw, 72px); font-weight: 800; letter-spacing: -0.03em; margin: 12px 0 14px; }
.hero p { color: var(--muted); max-width: 520px; font-size: 16px; }

/* ---------- carousel 3D paket tour ---------- */
.stage { position: relative; height: 480px; margin: 10px -20px 0; overflow: hidden; }
.stage-floor { position: absolute; left: -40%; right: -40%; bottom: 0; height: 220px; perspective: 400px; overflow: hidden; pointer-events: none; }
.stage-floor::before {
  content: ''; position: absolute; inset: -100px 0 0 0; transform: rotateX(68deg); transform-origin: bottom;
  background-image:
    repeating-linear-gradient(0deg, rgba(92, 198, 210, 0.22) 0 1px, transparent 1px 40px),
    repeating-linear-gradient(90deg, rgba(92, 198, 210, 0.15) 0 1px, transparent 1px 40px);
  animation: gridMove 2.4s linear infinite;
}
@keyframes gridMove { to { background-position: 0 40px; } }
.stage-view { position: absolute; inset: 0; perspective: 900px; display: grid; place-items: center; touch-action: pan-y; }
.ring { position: relative; width: 220px; height: 330px; transform-style: preserve-3d; transition: transform 0.9s cubic-bezier(.2,.7,.2,1); }
.tour-card {
  position: absolute; inset: 0; border-radius: 20px; background: var(--surface); border: 1px solid var(--line);
  padding: 12px; display: flex; flex-direction: column; gap: 8px; backface-visibility: hidden; color: var(--text);
  box-shadow: var(--shadow);
}
.tour-card .ph { height: 150px; flex: none; }
.prices-box { margin-top: auto; display: flex; flex-direction: column; gap: 4px; }
.price-row { display: flex; flex-direction: column; gap: 1px; padding-top: 6px; border-top: 1px solid var(--line); }
.price-row small { font-size: 11px; color: var(--muted); }
.price-row b { font-size: 14px; color: var(--accent); white-space: nowrap; }
.tour-card strong { font-family: var(--font-head); font-size: 15px; line-height: 1.25; }
.tour-card .spots { font-size: 11px; color: var(--muted); line-height: 1.4; }
.tour-card .from { margin-top: auto; font-size: 12px; color: var(--muted); }
.tour-card .from b { color: var(--accent); font-size: 16px; }
.stage-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.round-btn {
  width: 48px; height: 48px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface);
  color: var(--text); display: grid; place-items: center; cursor: pointer; flex: none;
}
.round-btn svg { width: 20px; height: 20px; }
.stage-title { text-align: center; display: flex; flex-direction: column; gap: 2px; }
.stage-title b { font-family: var(--font-head); font-size: 16px; }
.stage-title small { font-size: 12px; color: var(--muted); }
.hero-actions { display: flex; flex-direction: column; gap: 10px; padding: 18px 0 0; }
#fleet-cta { margin-bottom: 14px; } /* jarak tombol utama dengan tombol di bawahnya */
@media (min-width: 640px) { .hero-actions { flex-direction: row; } #fleet-cta { margin-bottom: 0; margin-right: 14px; } }

/* foto kendaraan: latar putih seragam, tidak dipotong */
.tour-card .ph, .fleet-grid .ph { background: #fff; }
.tour-card .ph img, .fleet-grid .ph img { object-fit: contain; }

/* ---------- daftar paket + rincian harga ---------- */
.grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow); }
.card .ph { height: 190px; }
.card h3 { font-size: 18px; }
.card .meta { font-size: 13px; color: var(--muted); }
.price-line { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 8px; }
.price-line b { color: var(--accent); font-size: 20px; font-family: var(--font-head); }
.price-line small { color: var(--muted); font-size: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: 12px; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); color: var(--text); }
details { border: 1px solid var(--line); border-radius: 12px; padding: 0 12px; }
summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; font-weight: 700; font-size: 14px; }
table.prices { width: 100%; border-collapse: collapse; font-size: 14px; margin-bottom: 10px; }
table.prices td { padding: 8px 0; border-top: 1px solid var(--line); }
table.prices td:last-child { text-align: right; font-weight: 700; }
.incl { font-size: 13px; color: var(--muted); }

/* ---------- kenapa kami ---------- */
.reasons { display: grid; gap: 14px; perspective: 800px; }
@media (min-width: 640px) { .reasons { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .reasons { grid-template-columns: repeat(4, 1fr); } }
.reason { display: flex; gap: 14px; align-items: flex-start; }
.reason .num { font-family: var(--font-head); font-weight: 800; font-size: 22px; color: var(--accent); }
.reason strong { display: block; margin-bottom: 4px; }
.reason span { font-size: 14px; color: var(--muted); }

/* kartu bertumpuk saat scroll (Kenapa pilih kami) */
.reasons.stack { display: block; perspective: none; padding-bottom: 8vh; }
.reasons.stack .reason {
  position: sticky; top: calc(84px + var(--i) * 64px);
  margin: 0 auto 34vh; max-width: 640px; min-height: 170px; padding: 22px 20px;
  transform-origin: 50% 0; will-change: transform; transition: filter 0.2s;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.35);
}
.reasons.stack .reason:last-child { margin-bottom: 28vh; } /* ruang agar kartu 04 ikut menempel seperti kartu lain */
.reasons.stack .reason .num { font-size: 34px; line-height: 1; min-width: 52px; }
.reasons.stack .reason strong { font-size: 18px; font-family: var(--font-head); }
.reasons.stack .reason span:not(.num) { font-size: 15px; }
@media (min-width: 640px) { .reasons.stack { grid-template-columns: none; } }

/* ---------- snorkeling melayang ---------- */
.float-wrap { perspective: 900px; display: flex; justify-content: center; padding: 10px 0 34px; }
.float-card { width: min(320px, 100%); animation: floatCard 5s ease-in-out infinite; }
@keyframes floatCard {
  0%, 100% { transform: translateY(0) rotateX(8deg) rotateY(-9deg); }
  50% { transform: translateY(-8px) rotateX(8deg) rotateY(-3deg); }
}
.option-list { display: grid; gap: 8px; }
.option { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--surface-2); }
.option span { font-size: 13px; color: var(--muted); display: block; }
.option b { white-space: nowrap; color: var(--accent); }

/* ---------- showroom motor & mobil ---------- */
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); max-width: 420px; }
.tab { min-height: 44px; border: 0; border-radius: 10px; font: 700 14px var(--font-body); cursor: pointer; background: transparent; color: var(--muted); }
.tab[aria-selected="true"] { background: var(--btn); color: var(--btn-ink); }
.strip { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 14px 20px 26px; margin: 0 -20px; perspective: 900px; scrollbar-width: none; }
.strip::-webkit-scrollbar { display: none; }
.vehicle {
  flex: none; width: 160px; scroll-snap-align: start; border-radius: 18px; background: var(--surface); border: 1px solid var(--line);
  padding: 12px; display: flex; flex-direction: column; gap: 6px; text-align: left; color: var(--text); font: inherit; cursor: pointer;
  transform: rotateY(-12deg); box-shadow: var(--shadow);
  transition: transform 0.5s cubic-bezier(.2,.7,.2,1), border-color 0.3s;
}
.vehicle .ph { height: 92px; border-radius: 12px; }
.vehicle strong { font-size: 14px; }
.vehicle span { font-size: 12px; font-weight: 700; color: var(--accent); }
.vehicle[aria-pressed="true"] { transform: rotateY(0) translateY(-6px); border: 1.5px solid var(--accent); }
.vehicle-detail { display: flex; flex-direction: column; gap: 10px; }
.vehicle-detail .row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.vehicle-detail h3 { font-size: 20px; }
.vehicle-detail .price { color: var(--accent); font-weight: 800; white-space: nowrap; }

/* ---------- banner MotoGP ---------- */
.motogp { display: flex; flex-direction: column; gap: 10px; background: var(--motogp); color: #1F1400; border-radius: 22px; padding: 22px; }
.motogp:hover { color: #1F1400; }
.motogp small { font-weight: 800; letter-spacing: 0.14em; font-size: 12px; }
.motogp strong { font-family: var(--font-head); font-size: 22px; line-height: 1.2; }
.countdown { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.countdown div { background: #1F1400; color: var(--motogp); border-radius: 12px; padding: 10px 6px; text-align: center; }
.countdown b { display: block; font-size: 26px; font-family: var(--font-head); }
.countdown span { font-size: 11px; color: #FFE3A8; }
.motogp ul { margin: 0; padding-left: 18px; font-size: 14px; line-height: 1.7; }
.btn-dark { background: #1F1400; color: var(--motogp); }
.btn-dark:hover { color: var(--motogp); }
.motogp-btn { align-self: flex-start; margin-top: 8px; padding: 0 20px; }
.motogp:hover .motogp-btn { transform: translateY(-2px); }
.btn-arrow::after { content: '→'; display: inline-block; transition: transform 0.25s cubic-bezier(.2,.7,.2,1); }
.btn-arrow:hover::after, .btn-arrow:active::after, .motogp:hover .btn-arrow::after, .motogp:active .btn-arrow::after { transform: translateX(5px); }

/* ---------- halaman event ---------- */
.page-hero { background: var(--navy); color: #fff; padding: 34px 0 30px; }
.page-hero h1 { font-size: clamp(28px, 7vw, 46px); margin: 12px 0; }
.page-hero p { color: #D5E3EE; max-width: 560px; }
.page-hero .eyebrow { color: var(--teal-light); }
.page-hero .ph { height: 200px; margin: 18px 0; background: rgba(255,255,255,0.08); }
.page-hero .ph::before { color: #D5E3EE; }
.service { flex-direction: row; align-items: flex-start; gap: 14px; }
.service .icon { width: 46px; height: 46px; border-radius: 12px; background: var(--surface-2); color: var(--navy); display: grid; place-items: center; flex: none; }
.service .icon svg { width: 22px; height: 22px; }
.service .body { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.service .from { color: var(--teal-dark); font-weight: 700; font-size: 14px; }
.service.has-photo { flex-wrap: wrap; }
.service.has-photo .ph { flex: 1 0 100%; height: 190px; }
.page-hero .ph { height: auto; aspect-ratio: 16 / 9; max-height: 460px; }
.float-card .ph { height: auto; aspect-ratio: 720 / 808; }
.fleet-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.fleet-grid .card { padding: 10px; gap: 4px; }
.fleet-grid .ph { height: 90px; }
.steps { display: grid; gap: 10px; counter-reset: step; }
.step { display: flex; flex-direction: row; gap: 14px; align-items: flex-start; }
.step strong { display: block; margin-bottom: 2px; }
.step::before {
  counter-increment: step; content: counter(step); flex: none; width: 34px; height: 34px; border-radius: 999px;
  background: var(--navy); color: #fff; font-weight: 800; display: grid; place-items: center;
}
.terms ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 14px; line-height: 1.7; }

/* ---------- lokasi, ulasan, sosmed ---------- */
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface-2); height: 300px; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.map-actions .btn { flex: 1 1 220px; }
.review blockquote { margin: 0; font-size: 14px; line-height: 1.6; }
.review figcaption { font-size: 13px; color: var(--muted); font-weight: 700; }
.stars { color: #F5B301; letter-spacing: 2px; }
.stars span { color: var(--line); }
.social { display: flex; justify-content: center; gap: 12px; margin-top: 24px; }
.social a { width: 48px; height: 48px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); color: var(--text); display: grid; place-items: center; }
.social a:hover { color: var(--accent); }
.social svg { width: 22px; height: 22px; }
.social a[data-social] { color: #fff; border: 0; transition: transform 0.2s, box-shadow 0.2s; }
.social a[data-social]:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0,0,0,0.3); }
.social a[data-social="instagram"] { background: radial-gradient(circle at 30% 107%, #FDF497 0%, #FDF497 5%, #FD5949 45%, #D6249F 60%, #285AEB 90%); }
.social a[data-social="facebook"] { background: #1877F2; }
.social a[data-social="tiktok"] { background: #000; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.25), -2px -2px 0 #25F4EE, 2px 2px 0 #FE2C55; }

/* ---------- form pesan ---------- */
.requirements { gap: 8px; margin-top: 6px; }
.requirements h2 { font-size: 18px; }
.requirements p.muted { font-size: 14px; }
.requirements ol { margin: 0; padding-left: 20px; font-size: 14px; line-height: 1.65; }
@media (max-width: 420px) { .back-text { display: none; } .back-link { min-width: 44px; padding: 0 12px; font-size: 18px; } }
.form-container { max-width: 560px; }
.form-title { font-size: clamp(28px, 7vw, 40px); }
.back-link { min-height: 44px; padding: 0 14px; font-size: 14px; }
.booking-form { gap: 16px; padding: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field label, .field legend { font-weight: 700; font-size: 14px; padding: 0; }
.field-row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; }
.optional { font-weight: 400; color: var(--muted); }
.booking-form input[type=text], .booking-form input[type=date], .booking-form input[type=number], .booking-form select, .booking-form textarea {
  width: 100%; min-height: 48px; padding: 10px 12px; border-radius: 12px; border: 1.5px solid var(--line);
  background: var(--surface); color: var(--text); font: 16px var(--font-body);
}
.booking-form textarea { resize: vertical; }
.booking-form input:focus, .booking-form select:focus, .booking-form textarea:focus { outline: none; border-color: var(--teal); }
.tab-radio { position: relative; }
.tab-radio input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.tab-radio span { display: grid; place-items: center; min-height: 44px; border-radius: 10px; font-weight: 700; font-size: 14px; color: var(--muted); }
.tab-radio input:checked + span { background: var(--btn); color: var(--btn-ink); }
.tab-radio input:focus-visible + span { outline: 3px solid var(--teal-light); outline-offset: 2px; }
.form-error { color: #B42318; font-weight: 700; font-size: 14px; }

/* ---------- pilihan bahasa ---------- */
.brand-text { white-space: nowrap; }
/* header mengecil otomatis di HP sempit supaya tidak menabrak tombol menu */
.brand { min-width: 0; margin-right: 10px; }
.brand-mark { height: clamp(24px, 8vw, 36px); }
.brand b { font-size: clamp(12.5px, 4.1vw, 17px); }
.brand small { font-size: clamp(7.5px, 2.5vw, 10px); letter-spacing: clamp(0.1em, 0.5vw, 0.22em); }
.menu-btn, .back-link { flex: none; }
.back-link { white-space: nowrap; }
.lang-switch { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0 4px; }
.lang-switch .lang-label { font-weight: 600; color: var(--muted); font-size: 14px; }
.lang-switch .lang-btns { display: flex; gap: 2px; padding: 3px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); }
.lang-switch button { min-width: 44px; min-height: 40px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); font: 700 13px var(--font-body); cursor: pointer; }
.lang-switch button[aria-pressed="true"] { background: var(--btn); color: var(--btn-ink); }
@media (min-width: 860px) { .lang-switch { padding: 0; } .lang-switch .lang-label { display: none; } .lang-switch button { min-height: 34px; } }
.lang-modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(5, 12, 24, 0.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.lang-box { width: min(360px, 100%); background: #fff; color: #0F1E33; border-radius: 22px; padding: 26px 22px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; box-shadow: 0 30px 60px rgba(0,0,0,0.4); }
.lang-box h2 { font-size: 22px; margin: 6px 0 8px; }
.lang-box h2 span { display: block; font-size: 15px; font-weight: 600; color: #4A5B6E; margin-top: 4px; }
.lang-box .btn { background: #142C4F; color: #fff; }
.lang-box .btn-ghost { background: transparent; color: #142C4F; border: 1.5px solid #142C4F; }

/* ---------- CTA, footer, WA melayang ---------- */
.cta { background: var(--navy); color: #fff; border-radius: 22px; padding: 26px 20px; display: flex; flex-direction: column; gap: 12px; text-align: center; }
body.theme-dark .cta { background: var(--surface); border: 1px solid var(--line); }
.cta p { color: #D5E3EE; }
body.theme-dark .cta p { color: var(--muted); }
.site-footer { margin-top: 48px; padding: 20px 0 96px; border-top: 1px solid var(--line); text-align: center; font-size: 13px; color: var(--muted); }
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 60; width: 58px; height: 58px; border-radius: 999px;
  background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px rgba(0,0,0,0.3);
}
.wa-float svg { width: 28px; height: 28px; }

/* ---------- micro interaction: tombol WA berdenyut & kilau tombol utama ---------- */
.wa-float::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; background: var(--wa); z-index: -1;
  animation: waPulse 4s ease-out infinite;
}
@keyframes waPulse { 0%, 55% { transform: scale(1); opacity: 0.55; } 85%, 100% { transform: scale(1.6); opacity: 0; } }
.btn-shine { position: relative; overflow: hidden; isolation: isolate; }
.btn-shine::after {
  content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg); animation: btnShine 5s ease-in-out 2s infinite;
}
@keyframes btnShine { 0%, 70% { left: -60%; } 100% { left: 130%; } }

/* ---------- animasi muncul saat scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px) rotateX(8deg); transform-origin: top; transition: opacity 0.7s, transform 0.7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- landing page SEO (sewa mobil / sewa motor) ---------- */
.landing .crumbs { font-size: 13px; color: #D5E3EE; margin-bottom: 10px; }
.landing .crumbs a { color: #fff; }
.landing .page-hero .btn-ghost.on-dark { color: #fff; border-color: rgba(255,255,255,.55); }
.landing .page-hero .hero-actions { padding-top: 4px; }
.landing-fleet { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.landing-fleet .ph { height: 110px; }
.landing-fleet .unit { font-size: 15px; margin: 4px 0 0; }
.landing-fleet .unit-price { color: var(--accent); font-weight: 700; font-size: 14px; margin-top: auto; }
.landing .terms .h3 { font-size: 18px; margin: 0 0 8px; }
.landing .reasons { margin-top: 4px; }
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(22px, 5.5vw, 30px); margin-bottom: 10px; }
.prose p { line-height: 1.75; margin: 0 0 12px; }
.prose a:not(.btn) { color: var(--accent); font-weight: 600; }
.faq { display: grid; gap: 8px; max-width: 760px; }
.faq details p { margin: 0 0 12px; line-height: 1.7; color: var(--muted); font-size: 14px; }
.foot-links { display: inline-block; margin-bottom: 6px; line-height: 1.8; }
.foot-links a { white-space: nowrap; }
.hero-links { text-align: center; font-size: 14px; margin-top: 14px; color: var(--muted); }
.hero-links a { color: var(--accent); font-weight: 700; }

/* ---------- whale shark ---------- */
#whaleshark .option b small { font-size: 11px; font-weight: 600; color: var(--muted); }
#whaleshark .float-card { width: min(360px, 100%); }
.ws-more { margin-top: 2px; }
.ws-list { margin: 0 0 10px; padding-left: 18px; font-size: 13px; line-height: 1.65; color: var(--muted); }
.ws-list li { margin: 3px 0; }
.ws-sub { font-size: 12px; font-weight: 700; margin: 6px 0 2px; }
.ws-open { margin-top: 4px; }
.price-dialog { border: 0; padding: 0; background: transparent; width: min(400px, calc(100% - 32px)); max-height: calc(100dvh - 40px); }
.price-dialog::backdrop { background: rgba(5, 12, 24, 0.72); backdrop-filter: blur(3px); }
.price-dialog-box { position: relative; background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: 20px; padding: 22px 18px 18px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow); }
.price-dialog-box h3 { font-size: 20px; margin: 0; padding-right: 36px; }
.price-dialog-box .muted { margin: -4px 0 4px; font-size: 13px; }
.price-dialog .option b small { font-size: 11px; font-weight: 600; color: var(--muted); }
.dialog-close { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface-2); color: var(--text); font-size: 22px; line-height: 1; cursor: pointer; }
.price-dialog[open] .price-dialog-box { animation: dlgIn .22s ease-out; }
@keyframes dlgIn { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.ws-more summary { justify-content: center; text-align: center; font-size: 15px; min-height: 48px; list-style: none; }
.ws-more summary::-webkit-details-marker { display: none; }
.ws-more[open] summary { border-bottom: 1px solid var(--line); margin-bottom: 10px; }
