/* ===== VARIABLES ===== */
:root {
  --ink: #17140f;
  --ink-soft: #2a251c;
  --paper: #faf7f0;
  --paper-dim: #f1ece0;
  --gold: #c9a227;
  --gold-light: #e3c25c;
  --gold-deep: #967916;
  --line: rgba(23, 20, 15, .14);
  --line-dark: rgba(250, 247, 240, .16);
  --gray: #6f6a5e;
  --radius: 2px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 15.5px;
}

h1, h2, h3, .logo, .stat-num, .car-price, .testi-quote blockquote {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.01em;
}
em { font-style: italic; }

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 14.5px;
  border: 1px solid transparent;
  transition: opacity .2s ease, border-color .2s ease, background .2s ease;
}

.btn-primary {
  background: var(--ink);
  color: var(--paper);
}
.btn-primary:hover { opacity: .82; }

.btn-outline {
  border-color: currentColor;
  color: inherit;
}
.btn-outline:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--gold);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo { display: flex; align-items: center; gap: 12px; line-height: 1.1; }
.logo-img {
  height: 60px;
  width: auto;
  display: block;
}
.logo-text { display: flex; flex-direction: column; }
.logo-mark {
  font-family: 'Fraunces', serif;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--ink);
}
.logo-sub {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 1px;
}
.footer-col .logo { align-items: center; }
.footer-col .logo-mark { color: var(--gold-deep); }

.nav { display: flex; gap: 32px; }
.nav-link {
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  font-weight: 500;
  font-size: 14px;
  position: relative;
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, color .2s ease;
}
.nav-link:hover, .nav-link.active { border-color: var(--ink); color: var(--ink); }

.header-wa {
  padding: 9px 18px;
  font-size: 13.5px;
  border-color: var(--ink);
  color: var(--ink);
}
.header-wa:hover { background: var(--ink); color: var(--gold); border-color: var(--ink); }

.burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.burger span {
  width: 22px;
  height: 1px;
  background: var(--ink);
}

/* ===== HERO ===== */
.hero {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.4fr .8fr;
  gap: 60px;
  padding: 96px 24px 0;
  align-items: end;
}
.hero-eyebrow {
  font-size: 13px;
  font-weight: 600;
  color: var(--gold-deep);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-eyebrow::after {
  content: "";
  height: 1px;
  width: 40px;
  background: var(--gold-deep);
  display: inline-block;
}
.hero-eyebrow .dot, .footer-tagline .dot { color: var(--gold); font-size: 10px; }
.hero h1 {
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1.08;
  margin-bottom: 26px;
}
.hero-desc {
  color: var(--gray);
  font-size: 16px;
  max-width: 480px;
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 96px;
}
.hero-tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--gold-deep);
  border: 1px solid var(--line);
  border-radius: 50px;
  padding: 7px 14px;
  background: var(--paper-dim);
}

.hero-stats {
  display: flex;
  flex-direction: column;
  gap: 26px;
  border-left: 1px solid var(--line);
  padding: 4px 0 40px 36px;
}
.stat { display: flex; flex-direction: column; }
.stat-num { font-size: 30px; }
.stat-num small { font-size: 14px; font-family: 'Inter', sans-serif; font-weight: 400; color: var(--gray); }
.stat-label { font-size: 12.5px; color: var(--gray); text-transform: uppercase; letter-spacing: .06em; margin-top: 2px; }
.stat-highlight .stat-num { color: var(--gold-deep); }

/* ===== FEATURES ===== */
.features { padding: 70px 0; border-bottom: 1px solid var(--line); }
.features-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.feature-row {
  padding: 0 22px;
  border-left: 1px solid var(--line);
}
.feature-row:first-child { padding-left: 0; border-left: none; }
.feature-index {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 13px;
  color: var(--gold-deep);
  margin-bottom: 18px;
}
.feature-icon { width: 26px; height: 26px; color: var(--ink); margin-bottom: 16px; }
.feature-row h3 { font-size: 15.5px; font-weight: 600; font-family: 'Inter', sans-serif; margin-bottom: 6px; letter-spacing: 0; }
.feature-row p { font-size: 13.5px; color: var(--gray); line-height: 1.55; }

/* ===== SECTION TITLE ===== */
.section-title { max-width: 560px; margin: 0 0 44px; }
.eyebrow {
  color: var(--gold-deep);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-title h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 500; }

/* ===== KATEGORI ===== */
.kategori { padding: 84px 0; border-bottom: 1px solid var(--line); }
.kategori-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.kategori-card {
  background: var(--paper);
  padding: 34px 20px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.kategori-card:hover {
  background: var(--ink);
  color: var(--paper);
}
.kategori-card .k-name { font-family: 'Fraunces', serif; font-size: 18px; margin-bottom: 4px; }
.kategori-card .k-count { font-size: 12px; color: var(--gray); text-transform: uppercase; letter-spacing: .05em; }
.kategori-card:hover .k-count { color: #c9beac; }

/* ===== ARMADA ===== */
.armada { padding: 84px 0; border-bottom: 1px solid var(--line); }

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 28px;
}
.filter-btn {
  padding: 8px 18px;
  border-radius: 50px;
  background: transparent;
  border: 1px solid var(--line);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all .2s ease;
}
.filter-btn:hover { border-color: var(--ink); }
.filter-btn.active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.armada-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Card mobil: modern, clean crop, soft elevation */
.car-card {
  background: var(--paper);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 3px rgba(23,20,15,.06), 0 8px 24px rgba(23,20,15,.05);
  transition: transform .25s ease, box-shadow .25s ease;
}
.car-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 10px rgba(23,20,15,.08), 0 16px 32px rgba(23,20,15,.10);
}

.car-img-wrap {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: var(--paper-dim);
}
.car-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform .35s ease;
}
.car-card:hover .car-img-wrap img {
  transform: scale(1.04);
}
.car-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(250,247,240,.94);
  backdrop-filter: blur(4px);
  color: var(--ink);
  font-size: 10.5px;
  font-weight: 600;
  padding: 5px 12px;
  text-transform: uppercase;
  letter-spacing: .05em;
  border-radius: 50px;
  z-index: 2;
}

.car-body {
  padding: 20px 20px 4px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.car-tags { display: flex; gap: 10px; }
.car-tag {
  font-size: 11px;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.car-tag:not(:last-child)::after { content: "·"; margin-left: 10px; color: var(--line); }
.car-body h3 { font-size: 17px; font-weight: 500; }
.car-specs { display: flex; gap: 10px; font-size: 12px; color: var(--gray); flex-wrap: wrap; }
.car-specs span:not(:last-child)::after { content: "·"; margin-left: 10px; color: var(--line); }
.car-price { font-size: 17px; margin-top: 6px; }
.car-price small { font-size: 12px; font-family: 'Inter', sans-serif; font-weight: 400; color: var(--gray); }

.car-actions { display: flex; padding: 16px 20px 20px; }
.car-actions a,
.car-actions .btn-sewa {
  flex: 1;
  text-align: center;
  padding: 12px;
  font-size: 13px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  background: var(--paper-dim);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.car-actions a:hover,
.car-actions .btn-sewa:hover { background: var(--ink); color: var(--paper); }

.armada-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 50px;
  color: var(--gray);
  background: var(--paper);
}

/* ===== TESTIMONI ===== */
.testimoni { padding: 90px 0; background: var(--ink); color: var(--paper); }
.testimoni-inner { max-width: 720px; }
.testimoni .eyebrow { color: #d8b674; }

.testi-quote blockquote {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 400;
  line-height: 1.45;
  margin: 22px 0 30px;
}
.testi-quote blockquote::before { content: "“"; color: var(--gold); }
.testi-quote blockquote::after { content: "”"; color: var(--gold); }

.testi-person { display: flex; align-items: baseline; gap: 12px; font-size: 14px; }
.testi-person strong { font-weight: 600; }
.testi-person span { color: #b0aa99; }

.testi-controls {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
}
.testi-controls button {
  width: 36px; height: 36px;
  border: 1px solid var(--line-dark);
  background: transparent;
  color: var(--paper);
  cursor: pointer;
  font-size: 15px;
  transition: background .2s ease;
}
.testi-controls button:hover { background: var(--line-dark); }
.testi-controls span { font-size: 12.5px; color: #b0aa99; letter-spacing: .05em; }

/* ===== CTA ===== */
.cta { padding: 70px 0; border-bottom: 1px solid var(--line); }
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 500; max-width: 480px; }

/* ===== FOOTER ===== */
.footer { background: var(--paper); color: var(--ink); padding: 70px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 40px;
  padding-bottom: 50px;
}
.footer-col .logo { display: block; margin-bottom: 16px; }
.footer-col p { font-size: 13.5px; margin: 8px 0; color: var(--gray); }
.footer-col h4 { font-family: 'Inter', sans-serif; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 18px; color: var(--gray); }
.footer-col a { display: block; font-size: 13.5px; color: var(--ink-soft); margin-bottom: 12px; transition: color .2s ease; }
.footer-col a:hover { color: var(--gold-deep); }
.footer-tagline {
  font-family: 'Cormorant Garamond', 'Fraunces', serif;
  font-style: italic;
  font-size: 16px;
  color: var(--gold-deep);
  margin-top: 14px !important;
}
.footer-social { display: flex; gap: 16px; margin-top: 18px; }
.footer-social a { font-size: 12.5px; border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.footer-social a:hover { border-color: var(--gold-deep); color: var(--gold-deep); }
.footer-bottom { text-align: center; padding: 22px 0; font-size: 12.5px; color: var(--gray); border-top: 1px solid var(--line); }

/* ===== FLOATING WA ===== */
.float-wa {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  display: flex; align-items: center; justify-content: center;
  z-index: 90;
  box-shadow: 0 4px 14px rgba(0,0,0,.18);
}
.float-wa svg { width: 22px; height: 22px; }

/* ===== BOTTOM NAV (mobile) ===== */
.bottom-nav {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--paper);
  border-top: 1px solid var(--line);
  z-index: 95;
  padding: 14px 20px;
  gap: 4px;
}
.bottom-nav a {
  flex: 1;
  text-align: center;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--gray);
}
.bottom-nav a.active { color: var(--ink); }
.bottom-nav-wa { color: var(--gold-deep) !important; }

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: row; flex-wrap: wrap; border-left: none; border-top: 1px solid var(--line); padding: 28px 0 0; gap: 40px; }
  .features-list { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .feature-row:nth-child(4) { border-left: none; padding-left: 0; }
  .kategori-grid { grid-template-columns: repeat(2, 1fr); }
  .armada-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav, .header-wa { display: none; }
  .burger { display: flex; }
  .bottom-nav { display: flex; }
  body { padding-bottom: 66px; }

  .header.nav-open .nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 76px; left: 0; right: 0;
    background: var(--gold);
    padding: 24px;
    gap: 18px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .logo-img { height: 44px; }
  .logo-mark { font-size: 20px; }
  .hero-inner { padding: 56px 24px 0; }
  .hero-tags { margin-bottom: 56px; }
  .features-list { grid-template-columns: repeat(2, 1fr); }
  .feature-row:nth-child(3) { border-left: none; padding-left: 0; }
  .kategori-grid { grid-template-columns: 1fr; }
  .armada-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; text-align: left; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}

/* ===== BOOKING MODAL ===== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(23, 20, 15, .55);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-overlay.open { display: flex; }

.modal-box {
  position: relative;
  background: var(--paper);
  border-radius: 16px;
  width: 100%;
  max-width: 460px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px 28px 28px;
  box-shadow: 0 20px 60px rgba(23,20,15,.3);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease;
}
.modal-close:hover { background: var(--paper-dim); }

.modal-eyebrow {
  color: var(--gold-deep);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.modal-box h3 {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 22px;
  padding-right: 20px;
}

#bookingForm { display: flex; flex-direction: column; gap: 16px; }

.field { display: flex; flex-direction: column; gap: 6px; }
.field span {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-soft);
}
.field input,
.field select,
.field textarea {
  font-family: 'Inter', sans-serif;
  font-size: 14.5px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
  outline: none;
  transition: border-color .2s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--gold-deep); }
.field textarea { resize: vertical; font-family: 'Inter', sans-serif; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.modal-submit {
  width: 100%;
  justify-content: center;
  margin-top: 6px;
  padding: 14px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

@media (max-width: 480px) {
  .field-row { grid-template-columns: 1fr; }
  .modal-box { padding: 26px 20px 22px; }
}