:root {
  --ink: #1A1A1A;
  --ink-soft: #3D3D3D;
  --ink-line: #2E2E2E;
  --paper: #F8F6F1;
  --surface: #FFFFFF;
  --line: #E5E1D8;
  --muted: #6B7280;
  --accent: #FFC20E;
  --accent-dark: #E9AE00;
  --accent-tint: #FFF4CC;
  --on-accent: #1A1A1A;
  --success: #1B8A5A;
  --danger: #D93025;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 18px;
  --header-h: 72px;
  --shadow-sm: 0 1px 2px rgba(26,26,26,0.06);
  --shadow-md: 0 8px 24px rgba(26,26,26,0.10);
  --font-head: 'Lexend', system-ui, sans-serif;
  --font-body: 'Source Sans 3', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 0.5em; color: var(--ink); }
p { margin: 0 0 1em; color: var(--ink-soft); }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 12px 20px;
  z-index: 200;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 2.5px solid var(--ink);
  outline-offset: 2px;
}
.site-header :focus-visible,
.section-cta :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--accent);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);
  padding: 13px 24px;
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-lg { padding: 16px 30px; font-size: 1rem; }
.btn-sm { padding: 9px 18px; font-size: 0.85rem; }
.btn-block { width: 100%; }
.wa-icon { width: 20px; height: 20px; flex: none; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--ink);
  border-bottom: 1px solid var(--ink-line);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: #fff;
  white-space: nowrap;
}
.logo span { color: var(--accent); }
.logo-img { height: 42px; width: auto; display: block; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a {
  text-decoration: none;
  color: #D4D4D4;
  font-weight: 500;
  font-size: 0.92rem;
  transition: color 160ms ease;
}
.main-nav a:hover { color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: 1.5px solid #3A3A3A;
  border-radius: var(--radius-sm);
  background: transparent;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: #fff;
  transition: transform 200ms ease, opacity 200ms ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--ink);
    border-bottom: 1px solid var(--ink-line);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 260ms ease;
  }
  .main-nav.is-open { max-height: 400px; }
  .main-nav a {
    width: 100%;
    padding: 16px 24px;
    border-bottom: 1px solid var(--ink-line);
  }
  .header-actions .btn-sm { display: none; }
}

/* Hero */
.hero { padding: 64px 0 56px; }
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.7;
  margin: 0 0 14px;
}
.eyebrow span {
  padding-bottom: 3px;
  border-bottom: 2.5px solid var(--accent);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.eyebrow-center { text-align: center; }
h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  letter-spacing: -0.02em;
}
.hero-sub { font-size: 1.05rem; max-width: 46ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 28px; }
.hero-points { display: flex; flex-direction: column; gap: 10px; }
.hero-points li {
  position: relative;
  padding-left: 26px;
  font-weight: 500;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  border: 1.5px solid var(--ink);
}
.hero-media {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero-media { order: -1; }
}

/* Trust bar */
.trust-bar { padding: 8px 0 64px; }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.trust-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px 20px;
}
.trust-icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink);
  margin-bottom: 14px;
}
.trust-icon svg { width: 22px; height: 22px; }
.trust-item h3 { font-size: 1rem; margin-bottom: 6px; }
.trust-item p { font-size: 0.88rem; margin: 0; }

@media (max-width: 860px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .trust-grid { grid-template-columns: 1fr; }
}

/* Sections */
.section { padding: 72px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-title { font-size: clamp(1.6rem, 3vw, 2.1rem); letter-spacing: -0.01em; }
.section-title-center { text-align: center; margin-left: auto; margin-right: auto; max-width: 32ch; }
.section-lead { text-align: center; max-width: 56ch; margin: 0 auto 40px; }

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 44px;
  counter-reset: step;
}
.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px 22px;
}
.step-num {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--ink);
  background: var(--accent);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
}
.step h3 { font-size: 1.02rem; margin-bottom: 6px; }
.step p { font-size: 0.9rem; margin: 0; }

@media (max-width: 860px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
}

/* Fleet */
.fleet-card {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.fleet-media { background: var(--paper); overflow: hidden; }
.fleet-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fleet-body { padding: 34px; }
.fleet-body h3 { font-size: 1.3rem; }
.fleet-desc { max-width: 60ch; }
.fleet-list { margin: 18px 0 26px; display: flex; flex-direction: column; gap: 10px; }
.fleet-list li {
  position: relative;
  padding-left: 24px;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.fleet-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--ink);
  font-weight: 700;
}

@media (max-width: 780px) {
  .fleet-card { grid-template-columns: 1fr; }
  .fleet-media { aspect-ratio: 4 / 3; }
}

/* Booking form */
.booking-form {
  max-width: 760px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 20px;
  margin-bottom: 26px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field-full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 0.9rem; }
.req { color: var(--danger); }
.field input, .field textarea {
  font-family: var(--font-body);
  font-size: 0.96rem;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  color: var(--ink);
}
.field input:focus, .field textarea:focus {
  border-color: var(--ink);
  background: var(--surface);
}
.field textarea { resize: vertical; min-height: 88px; }

.field-map-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 8px; }
.map-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  background: var(--accent-tint);
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 7px 12px;
  cursor: pointer;
  transition: background-color 160ms ease;
}
.map-action-btn svg { width: 15px; height: 15px; flex: none; }
.map-action-btn:hover { background: var(--accent); }
.map-action-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.map-action-link { font-size: 0.82rem; font-weight: 600; color: var(--ink-soft); text-decoration: underline; }
.map-action-link:hover { color: var(--ink); }
.field-map-status { font-size: 0.82rem; margin: 8px 0 0; }
.field-map-status.is-ok { color: var(--success); }
.field-map-status.is-error { color: var(--danger); }
.field-map-status a { color: inherit; text-decoration: underline; font-weight: 600; }

.field-autocomplete { position: relative; }
.autocomplete-list {
  position: absolute;
  z-index: 30;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  max-height: 260px;
  overflow-y: auto;
}
.autocomplete-list li {
  padding: 11px 14px;
  font-size: 0.9rem;
  color: var(--ink-soft);
  cursor: pointer;
  border-bottom: 1px solid var(--line);
}
.autocomplete-list li:last-child { border-bottom: none; }
.autocomplete-list li:hover,
.autocomplete-list li.is-active {
  background: var(--accent-tint);
  color: var(--ink);
}
.autocomplete-list li.is-empty,
.autocomplete-list li.is-loading {
  cursor: default;
  color: var(--muted);
  font-style: italic;
}
.autocomplete-list li.is-empty:hover,
.autocomplete-list li.is-loading:hover { background: transparent; }
.field.has-error input, .field.has-error textarea { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: 0.82rem; margin: 0; }
.form-hint { text-align: center; font-size: 0.84rem; color: var(--muted); margin: 14px 0 0; }

.form-status {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  margin-bottom: 22px;
}
.form-status:focus { outline: 2.5px solid currentColor; outline-offset: 2px; }
.form-status.is-error { background: #FDECEA; color: var(--danger); border: 1px solid #F5C6C2; }
.form-status.is-success { background: #E9F7EF; color: var(--success); border: 1px solid #BEE6CE; }
.form-status-title { font-weight: 700; margin: 0 0 8px; }
.form-status-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.form-status-list a { color: var(--danger); text-decoration: underline; font-weight: 600; }
.form-status-list a:hover { text-decoration: none; }

@media (max-width: 620px) {
  .booking-form { padding: 24px; }
  .form-grid { grid-template-columns: 1fr; }
}

/* Area layanan */
.area-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.area-media {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.area-map-link { display: block; }
.area-media img { width: 100%; height: auto; display: block; }
.area-media figcaption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.area-media figcaption a { color: var(--ink); font-weight: 600; text-decoration: none; }
.area-media figcaption a:hover { color: var(--accent-dark); text-decoration: underline; }
.map-credit { font-size: 0.72rem; color: var(--muted); }
.map-credit a { font-weight: 500; color: var(--muted); text-decoration: underline; }
@media (max-width: 780px) {
  .area-inner { grid-template-columns: 1fr; }
  .area-media { order: -1; }
}

/* FAQ */
.faq-list { max-width: 760px; margin: 40px auto 0; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 4px 20px;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 28px 18px 0;
  font-weight: 600;
  font-size: 0.98rem;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 15px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 26px;
  text-align: center;
  transition: transform 200ms ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding-bottom: 18px; margin: 0; font-size: 0.92rem; }

/* CTA band */
.section-cta { background: var(--ink); color: #fff; padding: 72px 0; }
.section-cta-inner { text-align: center; }
.section-cta h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.section-cta p { color: #C9C9C9; max-width: 48ch; margin: 0 auto 28px; }

/* Footer */
.site-footer { background: var(--ink); color: #C9C9C9; padding: 56px 0 0; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--ink-line);
}
.footer-brand .logo-img { height: 54px; }
.footer-tagline { color: var(--accent); font-style: italic; font-weight: 600; margin: 10px 0 0; }
.footer-brand p { color: #A8A8A8; font-size: 0.9rem; margin-top: 12px; max-width: 34ch; }
.footer-col h3 { color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 14px; }
.footer-col p { margin: 0 0 10px; font-size: 0.9rem; color: #C9C9C9; }
.footer-col a { text-decoration: none; color: #C9C9C9; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { padding: 20px 0; text-align: center; font-size: 0.82rem; }
.footer-bottom p { color: #8A8A8A; margin: 0; }

@media (max-width: 700px) {
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
}

/* Floating WhatsApp button */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 90;
  transition: transform 180ms ease;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; }

/* Map picker modal */
.map-picker-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(20, 20, 20, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.map-picker-overlay[hidden] { display: none; }
.map-picker-modal {
  background: var(--surface);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 520px;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: var(--shadow-md);
}
.map-picker-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px 12px;
}
.map-picker-header h2 { font-size: 1.1rem; margin: 0; }
.map-picker-close {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: 1.3rem;
  line-height: 1;
  color: var(--ink);
  cursor: pointer;
}
.map-picker-close:hover { background: var(--accent-tint); }
.map-picker-search-wrap { padding: 0 20px; margin-bottom: 14px; }
.map-picker-search {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 11px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  color: var(--ink);
}
.map-picker-search:focus { border-color: var(--ink); background: var(--surface); }
.map-picker-map-wrap {
  position: relative;
  isolation: isolate;
  height: 320px;
  margin: 0 20px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
}
#map-picker-map { width: 100%; height: 100%; background: var(--paper); isolation: isolate; }
.map-picker-pin {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -100%);
  width: 34px;
  height: 34px;
  pointer-events: none;
  z-index: 10;
  filter: drop-shadow(0 3px 3px rgba(0, 0, 0, 0.35));
}
.map-picker-pin svg {
  display: block;
  width: 100%;
  height: 100%;
}
.map-picker-coords {
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
  margin: 10px 20px 0;
}
.map-picker-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 16px 20px 20px;
}

@media (max-width: 560px) {
  .map-picker-map-wrap { margin: 0 16px; height: 280px; }
  .map-picker-search-wrap { padding: 0 16px; }
  .map-picker-coords { margin: 10px 16px 0; }
  .map-picker-actions { padding: 14px 16px 16px; flex-direction: column-reverse; }
  .map-picker-actions .btn { width: 100%; }
}

/* Page loader */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  background: var(--ink);
  opacity: 1;
  visibility: visible;
  transition: opacity 420ms ease, visibility 420ms ease;
}
.page-loader--hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.page-loader-logo {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
  color: #FFFFFF;
}
.page-loader-logo span { color: var(--accent); }
.page-loader-dots {
  display: flex;
  gap: 9px;
}
.page-loader-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  animation: pageLoaderPulse 1000ms ease-in-out infinite;
}
.page-loader-dots span:nth-child(2) { animation-delay: 150ms; }
.page-loader-dots span:nth-child(3) { animation-delay: 300ms; }
@keyframes pageLoaderPulse {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40% { transform: scale(1); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .page-loader-dots span { animation: none; opacity: 0.85; }
}
