/* ==========================================================================
   CV. Surya Mandiri — skema warna 60-30-10
   60%  putih / abu sangat terang  -> latar & kartu (#FFFFFF, #F8F9FA)
   30%  hitam struktural          -> teks, navbar, footer (#141414, #121212)
   10%  merah aksen               -> CTA, harga promo, ikon penting (#E60012)
   Aksen kedua: kuning logo (#FFC400) untuk timer promo, badge, rating bintang.
   Jangan pakai biru lagi di tema ini.
   ========================================================================== */
:root {
  /* merah aksen (10%) */
  --brand-50: #fff6f6;
  --brand-100: #ffe9ea;
  --brand-200: #ffd2d5;
  --brand-300: #ffa8ad;
  --brand-400: #ff5f68;
  --brand-500: #f41425;
  --brand-600: #e60012;
  --brand-700: #c1000f;
  --brand-800: #8f000c;
  /* kuning aksen kedua (dari logo) */
  --gold: #ffc400;
  --gold-soft: #ffe9a8;
  --gold-ink: #7a5200;
  /* netral & struktural (60% + 30%) */
  --ink: #141414;
  --ink-soft: #2b2b2b;
  --muted: #6b7280;
  --line: rgba(0, 0, 0, 0.1);
  --white: #ffffff;
  --bg: #f8f9fa;
  --dark: #121212;
  --dark-2: #1c1c1c;
  --ok: #0a7349;
  --warn: #a86a00;
  --danger: #c1000f;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.05);
  --shadow: 0 18px 40px -26px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 30px 70px -34px rgba(0, 0, 0, 0.4);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

img { max-width: 100%; display: block; }
a { color: var(--brand-700); text-decoration: none; }
a:hover { color: var(--brand-600); }

h1, h2, h3, h4 { margin: 0 0 0.5rem; line-height: 1.22; letter-spacing: -0.02em; color: var(--ink); font-weight: 700; }
h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1rem; color: var(--ink-soft); }
.muted { color: var(--muted); }
.small { font-size: 0.86rem; }
.center { text-align: center; }

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

/* ---------- Header (hitam struktural = 30%) ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(18, 18, 18, 0.96);
  backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.header-inner { display: flex; align-items: center; gap: 20px; height: 74px; }
.logo { display: inline-flex; align-items: center; color: #fff; text-decoration: none; }
.logo:hover { color: #fff; }
.logo-lockup { display: inline-flex; align-items: center; gap: 11px; }
.logo-svg { flex: none; display: block; }
/* Logo milik pemilik (unggahan dari dashboard admin). Kotaknya selalu persegi 1:1;
   gambar dipaskan dengan object-fit: contain supaya tidak gepeng, dan diberi alas putih
   agar tetap terbaca di header/footer/sidebar yang hitam. */
.logo-img { flex: none; display: block; object-fit: contain; background: #fff; border-radius: 10px; }
.logo-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.logo-word { font-size: 1.24rem; font-weight: 800; letter-spacing: -0.035em; line-height: 1.02; color: currentColor; }
.logo small { display: block; font-size: 0.6rem; font-weight: 600; color: var(--muted); letter-spacing: 0.15em; text-transform: uppercase; line-height: 1.1; }
.site-header .logo small { color: rgba(255, 255, 255, 0.58); }
.site-header .logo:hover .logo-word { color: var(--brand-400); }
.site-header .logo:hover small { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav-links a {
  padding: 9px 14px; border-radius: 10px; font-size: 0.94rem; font-weight: 500; color: rgba(255, 255, 255, 0.82);
  transition: background 0.18s ease, color 0.18s ease;
}
.nav-links a:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.nav-links a.active { background: var(--brand-600); color: #fff; font-weight: 600; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .btn-outline { background: transparent; border-color: rgba(255, 255, 255, 0.32); color: #fff; }
.header-actions .btn-outline:hover { background: #fff; border-color: #fff; color: var(--ink); }
.nav-toggle {
  display: none; margin-left: auto; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px; width: 42px; height: 42px; align-items: center; justify-content: center; cursor: pointer; color: #fff;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 11px; border: 1px solid transparent;
  font-family: inherit; font-size: 0.94rem; font-weight: 600; cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  text-align: center; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: linear-gradient(135deg, var(--brand-600), var(--brand-800));
  color: #fff; box-shadow: 0 14px 26px -14px rgba(230, 0, 18, 0.85);
}
.btn-primary:hover { color: #fff; box-shadow: 0 18px 30px -14px rgba(230, 0, 18, 0.95); }
.btn-outline { background: #fff; border-color: rgba(0, 0, 0, 0.16); color: var(--ink); }
.btn-outline:hover { background: var(--brand-600); border-color: var(--brand-600); color: #fff; }
.btn-ghost { background: var(--brand-50); color: var(--brand-700); }
.btn-ghost:hover { background: var(--brand-100); color: var(--brand-700); }
/* tombol WhatsApp = CTA utama, jadi memakai merah aksen (bukan hijau) */
.btn-wa { background: var(--brand-600); color: #fff; box-shadow: 0 14px 26px -16px rgba(230, 0, 18, 0.9); }
.btn-wa:hover { background: var(--brand-700); color: #fff; }
.btn-sm { padding: 8px 14px; font-size: 0.85rem; border-radius: 9px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; transform: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 44px;
  background:
    radial-gradient(900px 420px at 88% -10%, rgba(230, 0, 18, 0.07), transparent 62%),
    radial-gradient(640px 360px at 4% 6%, rgba(255, 196, 0, 0.14), transparent 62%),
    linear-gradient(180deg, #f8f9fa, #ffffff 72%);
}
.hero::after {
  content: ''; position: absolute; inset: auto 0 -1px 0; height: 120px;
  background: linear-gradient(180deg, transparent, var(--bg));
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px;
  padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--brand-200);
  font-size: 0.8rem; font-weight: 600; color: var(--brand-700); box-shadow: var(--shadow-sm);
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand-600); box-shadow: 0 0 0 4px rgba(230, 0, 18, 0.12); }
.hero h1 span { color: var(--brand-600); }
.hero-lede { font-size: 1.06rem; max-width: 33rem; color: var(--ink-soft); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.hero-visual { position: relative; }
.hero-photo {
  border-radius: 26px; overflow: hidden; background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-lg);
}
.hero-photo img {
  display: block; width: 100%; height: auto; max-height: 470px;
  object-fit: contain; background: linear-gradient(180deg, #f8f9fa, #eef0f2);
}

/* ---------- Sections ---------- */
.section { padding: 76px 0; }
.section-tight { padding: 52px 0; }
.section-head { max-width: 620px; margin-bottom: 38px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--muted); margin-bottom: 0; }
.section-head.is-split { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; max-width: none; flex-wrap: wrap; }
.badge-label {
  display: inline-block; margin-bottom: 12px; font-size: 0.76rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand-600);
}

.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 26px;
}
.card-hover { transition: transform 0.2s ease, box-shadow 0.2s ease; }
.card-hover:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.service-card { display: flex; flex-direction: column; gap: 10px; }
.service-icon {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(140deg, var(--brand-100), var(--brand-200)); color: var(--brand-700);
  margin-bottom: 6px;
}
.service-card h3 { margin-bottom: 2px; }
.service-card p { margin-bottom: 0; font-size: 0.94rem; color: var(--muted); }

.car-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.car-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.car-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--brand-50); }
.car-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.car-card:hover .car-media img { transform: scale(1.04); }
.car-tag {
  position: absolute; top: 12px; left: 12px; background: var(--gold);
  border: 1px solid rgba(0, 0, 0, 0.12); color: #141414; font-size: 0.74rem; font-weight: 800;
  padding: 5px 11px; border-radius: 999px; letter-spacing: 0.03em; text-transform: uppercase;
}
.car-body { padding: 20px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.car-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.car-title-row h3 { margin: 0; font-size: 1.08rem; }
.car-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: -4px 0 0; }
.pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px;
  background: #f4f4f5; color: var(--ink-soft); font-size: 0.78rem; font-weight: 500;
  border: 1px solid #e8e8ea;
}
.pill svg { color: var(--muted); }
.car-price { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.car-price .amount { font-size: 1.15rem; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; }
.car-price .unit { font-size: 0.78rem; color: var(--muted); font-weight: 500; }

.about-grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 36px; align-items: center; padding: 34px;
}
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; gap: 22px; padding: 24px; }
}

/* ---------- Steps ---------- */
.steps { counter-reset: step; }
.step { position: relative; padding-left: 0; }
.step-num {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  font-weight: 800; color: var(--brand-700); background: var(--brand-100); margin-bottom: 14px;
}
.step h3 { font-size: 1rem; margin-bottom: 4px; }
.step p { font-size: 0.9rem; color: var(--muted); margin: 0; }

/* ---------- Stats ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm);
}
.stat strong { display: block; font-size: 1.6rem; letter-spacing: -0.03em; color: var(--brand-700); }
.stat span { font-size: 0.85rem; color: var(--muted); }

/* ---------- Testimonials ---------- */
.quote { display: flex; flex-direction: column; gap: 14px; }
.quote p { font-size: 0.95rem; color: var(--ink-soft); margin: 0; }
.quote-person { display: flex; align-items: center; gap: 11px; }
.avatar {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(140deg, var(--brand-200), var(--brand-100)); color: var(--brand-700);
  font-weight: 700; font-size: 0.9rem;
}
.stars { color: #ffb400; letter-spacing: 2px; font-size: 0.85rem; }

/* ---------- CTA band (hitam struktural + tombol merah) ---------- */
.cta-band {
  background: linear-gradient(125deg, #1a1a1a, #121212 60%, #2a0005);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px; padding: 46px; color: #fff; display: flex; align-items: center;
  justify-content: space-between; gap: 32px; box-shadow: 0 30px 60px -34px rgba(0, 0, 0, 0.7);
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(230, 0, 18, 0.5), transparent 65%);
  top: -140px; right: 12%;
}
.cta-band h2 { color: #fff; margin-bottom: 6px; }
.cta-band p { color: rgba(255, 255, 255, 0.78); margin: 0; max-width: 34rem; }
.cta-band .btn { position: relative; }
.cta-band .btn-outline { background: #fff; border-color: #fff; color: var(--ink); }
.cta-band .btn-outline:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--ink-soft); }
.field .hint { font-size: 0.78rem; color: var(--muted); font-weight: 400; }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], input[type="time"],
input[type="number"], input[type="password"], input[type="url"], select, textarea {
  width: 100%; padding: 12px 14px; border-radius: 11px; border: 1px solid var(--line);
  background: #fff; font-family: inherit; font-size: 0.94rem; color: var(--ink);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--brand-400); box-shadow: 0 0 0 4px rgba(230, 0, 18, 0.18);
}
textarea { resize: vertical; min-height: 92px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 16px; }
.checkbox-row { display: flex; align-items: flex-start; gap: 10px; font-size: 0.86rem; color: var(--ink-soft); }
.checkbox-row input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--brand-600); }

.service-picker { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
.service-option { position: relative; }
.service-option input { position: absolute; opacity: 0; inset: 0; }
.service-option span {
  display: block; padding: 12px 10px; border-radius: 12px; border: 1px solid var(--line);
  background: #fff; text-align: center; font-size: 0.84rem; font-weight: 600; color: var(--ink-soft);
  cursor: pointer; transition: all 0.18s ease;
}
.service-option input:checked + span {
  border-color: var(--brand-500); background: var(--brand-50); color: var(--brand-700);
  box-shadow: 0 0 0 3px rgba(230, 0, 18, 0.14);
}
.service-option small { display: block; font-weight: 500; color: var(--muted); font-size: 0.75rem; margin-top: 2px; }

/* ---------- Alerts / badges ---------- */
.alert {
  padding: 13px 16px; border-radius: 12px; font-size: 0.9rem; margin-bottom: 18px;
  border: 1px solid transparent; display: flex; gap: 10px; align-items: flex-start;
}
.alert-success { background: #e8f9f1; border-color: #b7ebd3; color: #0a7349; }
.alert-error { background: #fff0f1; border-color: #ffcfd3; color: #8f000c; }
.alert-info { background: var(--brand-50); border-color: var(--brand-200); color: var(--brand-800); }
.alert-warn { background: #fff7e8; border-color: #f6e0b5; color: #8a5a05; }

.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px;
  font-size: 0.76rem; font-weight: 600; background: var(--brand-50); color: var(--brand-700);
  border: 1px solid var(--brand-100); white-space: nowrap;
}
.badge-new { background: #f8f9fa; border-color: #ffd2d5; color: #c1000f; }
.badge-ok { background: #e8f9f1; border-color: #b7ebd3; color: #0a7349; }
.badge-warn { background: #fff7e8; border-color: #f6e0b5; color: #8a5a05; }
.badge-done { background: #f2f2f2; border-color: #e6e6e6; color: #445570; }
.badge-cancel { background: #fff0f1; border-color: #ffcfd3; color: #8f000c; }

/* ---------- Page header (inner pages) ---------- */
.page-head {
  padding: 46px 0 42px;
  background:
    radial-gradient(700px 300px at 82% -20%, rgba(230, 0, 18, 0.06), transparent 62%),
    linear-gradient(180deg, #f8f9fa, #ffffff);
  border-bottom: 1px solid var(--line);
}
.page-head h1 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: 8px; }
.page-head p { color: var(--muted); margin: 0; max-width: 44rem; }
.breadcrumb { display: flex; gap: 8px; font-size: 0.82rem; color: var(--muted); margin-bottom: 14px; flex-wrap: wrap; }
.breadcrumb a { color: var(--brand-700); }

/* ---------- Fleet filters ---------- */
.filter-bar {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 18px;
  box-shadow: var(--shadow-sm); margin-bottom: 26px;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 8px 15px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  font-size: 0.85rem; font-weight: 500; color: var(--ink-soft); cursor: pointer;
}
.chip.active, .chip:hover { background: var(--brand-600); border-color: var(--brand-600); color: #fff; }
.filter-bar form { display: flex; gap: 10px; align-items: center; }

/* ---------- Car detail ---------- */
.detail-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 30px; align-items: start; }
.detail-grid > * { min-width: 0; }
.detail-media { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); background: var(--brand-50); }
.detail-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.spec-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 22px 0 0; }
.spec {
  background: #fff; border: 1px solid var(--line); border-radius: 13px; padding: 13px 15px;
}
.spec span { display: block; font-size: 0.76rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.spec strong { font-size: 0.96rem; color: var(--ink); }
.feature-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 0; margin: 12px 0 0; list-style: none; }
.feature-list li { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; color: var(--ink-soft); }
.feature-list svg { color: var(--ok); flex: none; }
.price-table { width: 100%; border-collapse: collapse; margin-top: 14px; }
.price-table th, .price-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 0.9rem; }
.price-table th { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); font-weight: 600; }
.price-table td:last-child { text-align: right; font-weight: 700; color: var(--ink); }
.price-table tr:last-child td { border-bottom: none; }

.booking-box { position: sticky; top: 94px; }
.booking-box .card { box-shadow: var(--shadow); }
.wa-stack { display: grid; gap: 10px; }
.wa-stack .btn { white-space: normal; line-height: 1.3; }
.total-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 16px; border-radius: 13px; background: var(--brand-50); border: 1px dashed var(--brand-200);
  margin-bottom: 16px;
}
.total-row span { font-size: 0.84rem; color: var(--muted); }
.total-row strong { font-size: 1.25rem; color: var(--brand-800); letter-spacing: -0.02em; }
.annual-hint {
  margin: -6px 0 16px; padding: 10px 13px; border-radius: 11px; font-size: 0.82rem;
  background: #eaf9f2; border: 1px solid #b7ebd3; color: #0a7349; line-height: 1.45;
}
.price-table tr.price-monthly td { background: #fbfbfb; }
.price-monthly td:first-child { font-weight: 600; color: var(--ink); }
.monthly-note { font-size: 0.76rem; color: var(--muted); }
.monthly-note strong { color: var(--brand-700); font-weight: 700; }

/* ---------- Success / tracking ---------- */
.summary-card { max-width: 760px; margin: 0 auto; }
.code-box {
  text-align: center; padding: 22px; border-radius: 16px; background: var(--brand-50);
  border: 1px dashed var(--brand-200); margin-bottom: 22px;
}
.code-box span { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.code-box strong { display: block; font-size: 1.7rem; letter-spacing: 0.06em; color: var(--brand-800); }
.summary-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1px; background: var(--line); border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.summary-list li { background: #fff; padding: 13px 16px; display: flex; justify-content: space-between; gap: 16px; font-size: 0.9rem; }
.summary-list li span:first-child { color: var(--muted); }
.summary-list li span:last-child { font-weight: 600; color: var(--ink); text-align: right; }

/* ---------- Footer (hitam struktural = 30%) ---------- */
.site-footer {
  margin-top: 40px; background: var(--dark); color: rgba(255, 255, 255, 0.78); padding: 56px 0 26px;
  border-top: 3px solid var(--brand-600);
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 36px; }
.site-footer h4 { color: #fff; font-size: 0.95rem; margin-bottom: 14px; }
.site-footer a { color: rgba(255, 255, 255, 0.8); font-size: 0.9rem; }
.site-footer a:hover { color: #fff; }
.site-footer p { color: rgba(255, 255, 255, 0.7); font-size: 0.9rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer-brand .logo { color: #fff; margin-bottom: 16px; }
.footer-brand .logo .logo-word { color: #fff; }
.footer-brand .logo small { color: rgba(255, 255, 255, 0.62); }
.footer-bottom {
  margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}
.contact-line { display: flex; gap: 10px; font-size: 0.9rem; margin-bottom: 10px; color: rgba(255, 255, 255, 0.78); }
.contact-line svg { flex: none; margin-top: 3px; color: var(--brand-400); }

.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60; display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 18px; border-radius: 999px; background: var(--brand-600); color: #fff; font-weight: 600; font-size: 0.9rem;
  box-shadow: 0 18px 34px -16px rgba(230, 0, 18, 0.9);
}
.wa-float:hover { background: var(--brand-700); color: #fff; }

/* ---------- Empty state ---------- */
.empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty svg { color: var(--brand-300); margin-bottom: 14px; }

/* ---------- Admin ---------- */
.admin-body { background: #f5f6f7; }
.admin-shell { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.admin-side {
  background: #121212; color: rgba(255, 255, 255, 0.8); padding: 22px 16px; display: flex; flex-direction: column; gap: 22px;
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.admin-side .logo { color: #fff; padding: 0 6px; }
.admin-side .logo .logo-word { color: #fff; }
.admin-side .logo small { color: rgba(255, 255, 255, 0.55); }
.admin-nav { display: grid; gap: 4px; align-content: start; }
.admin-nav a {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px;
  font-size: 0.9rem; font-weight: 500; color: rgba(255, 255, 255, 0.75);
}
.admin-nav a:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.admin-nav a.active { background: linear-gradient(135deg, var(--brand-600), var(--brand-800)); color: #fff; box-shadow: 0 10px 22px -14px rgba(230, 0, 18, 0.9); }
.admin-side-foot { margin-top: auto; display: grid; gap: 8px; }
.admin-side-foot a { font-size: 0.85rem; color: rgba(255, 255, 255, 0.65); padding: 8px 12px; border-radius: 9px; display: flex; gap: 8px; align-items: center; }
.admin-side-foot a:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.admin-main { padding: 28px 32px 60px; min-width: 0; }
.admin-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.admin-top h1 { font-size: 1.5rem; margin: 0; }
.admin-top p { margin: 2px 0 0; font-size: 0.86rem; color: var(--muted); }
.admin-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 26px; }
.admin-stat { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; box-shadow: var(--shadow-sm); }
.admin-stat span { font-size: 0.8rem; color: var(--muted); }
.admin-stat strong { display: block; font-size: 1.45rem; color: var(--ink); letter-spacing: -0.02em; }
.admin-stat.accent { background: linear-gradient(135deg, var(--brand-600), var(--brand-800)); border-color: transparent; }
.admin-stat.accent span, .admin-stat.accent strong { color: #fff; }

.panel { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-sm); overflow: hidden; margin-bottom: 22px; }
.panel-head { padding: 16px 20px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.panel-head h2 { font-size: 1rem; margin: 0; }
.panel-body { padding: 20px; }
.table-wrap { overflow-x: auto; }
table.table { width: 100%; border-collapse: collapse; min-width: 640px; }
table.table th, table.table td { text-align: left; padding: 12px 18px; font-size: 0.88rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.table th { background: #f8f9fa; font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); font-weight: 600; }
table.table tr:last-child td { border-bottom: none; }
table.table tbody tr:hover { background: #fbfbfb; }
.table-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.thumb { width: 62px; height: 42px; border-radius: 8px; object-fit: cover; border: 1px solid var(--line); }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px;
  border-radius: 8px; border: 1px solid var(--line); background: #fff; color: var(--ink-soft); cursor: pointer;
}
.icon-btn:hover { background: var(--brand-50); color: var(--brand-700); }
.icon-btn.danger:hover { background: #fff0f1; color: var(--danger); border-color: #ffcfd3; }

.login-shell { min-height: 100vh; display: grid; place-items: center; padding: 30px; background:
  radial-gradient(700px 400px at 80% 0%, rgba(230, 0, 18, 0.08), transparent 60%),
  linear-gradient(180deg, #f8f9fa, #fff); }
.login-card { width: 100%; max-width: 400px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 32px; box-shadow: var(--shadow); }
.login-card .logo { justify-content: center; margin-bottom: 22px; display: flex; color: var(--ink); }
.login-card .logo small { color: var(--muted); }
.login-card h1 { font-size: 1.3rem; text-align: center; margin-bottom: 4px; }
.login-card .sub { text-align: center; color: var(--muted); font-size: 0.88rem; margin-bottom: 22px; }

.inline-form { display: inline; }
.row-inline { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.spacer { flex: 1; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-photo img { max-height: 340px; }
  .detail-grid { grid-template-columns: minmax(0, 1fr); }
  .booking-box { position: static; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side { position: static; height: auto; }
  .admin-nav { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
  .admin-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-main { padding: 22px; }
}

/* Header: 861-1090px nav + logo masih satu baris tapi rapat — rapatkan padding nav
   supaya tidak ada overflow horizontal (mark logo bentuknya lebih lebar dari kotak persegi)
   dan navigasi tidak pecah 2 baris di ~1000-1090px. */
@media (max-width: 1090px) and (min-width: 861px) {
  .header-inner { gap: 8px; }
  .nav-links { gap: 0; }
  .nav-links a { padding: 9px 7px; font-size: 0.86rem; }
  .header-actions { gap: 8px; }
  .header-actions .btn-sm { padding: 8px 11px; }
}

@media (max-width: 860px) {
  .nav-links {
    display: none; position: absolute; top: 74px; left: 0; right: 0; background: var(--dark);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); padding: 14px 20px 20px; flex-direction: column;
    align-items: stretch; gap: 4px; box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .header-actions { display: none; }
  .nav-toggle { display: inline-flex; }
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section { padding: 54px 0; }
  .hero { padding: 46px 0 36px; }
  .cta-band { flex-direction: column; text-align: center; padding: 34px; }
  .service-picker { grid-template-columns: 1fr; }
  .form-grid, .form-grid-3 { grid-template-columns: 1fr; }
  .spec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section-head.is-split { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .wrap { padding: 0 18px; }
  .footer-grid { grid-template-columns: 1fr; }
  .admin-stats { grid-template-columns: 1fr; }
  .wa-float span { display: none; }
  .wa-float { padding: 14px; }
}
