/* =========================================================
   Nusantara Travel & Rental — stylesheet
   Tema: cerah & modern, putih bersih, aksen biru–teal
   ========================================================= */

:root {
  --ink: #0f172a;
  --ink-soft: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --line-soft: #eef2f7;
  --bg: #f6f9fc;
  --card: #ffffff;
  --brand: #0284c7;
  --brand-dark: #075985;
  --brand-light: #e0f2fe;
  --teal: #0d9488;
  --teal-light: #ccfbf1;
  --amber: #d97706;
  --red: #dc2626;
  --green: #059669;
  --grad: linear-gradient(135deg, #0ea5e9 0%, #0d9488 100%);
  --grad-soft: linear-gradient(135deg, #eff9ff 0%, #ecfdf7 100%);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 40px -28px rgba(15, 23, 42, .35);
  --shadow-lg: 0 30px 70px -40px rgba(15, 23, 42, .45);
  --font: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

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

h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.22; letter-spacing: -.02em; font-weight: 800; }
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
h3 { font-size: 1.15rem; }
h4 { font-size: 1rem; }
p { margin: 0 0 1em; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }
ul { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
small { font-size: .82rem; }

.muted { color: var(--muted); }
.small { font-size: .85rem; }
.nowrap { white-space: nowrap; }
.pos { color: var(--green); }
.neg { color: var(--red); }
.right { text-align: right; }
.num { text-align: right; font-variant-numeric: tabular-nums; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 22px; }
.container.narrow { max-width: 780px; }

/* ------------------------- Buttons ------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .72rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: .94rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  text-align: center;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 12px 24px -14px rgba(2, 132, 199, .9); }
.btn-primary:hover { color: #fff; box-shadow: 0 18px 30px -16px rgba(2, 132, 199, .95); }

.btn-outline { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }

.btn-ghost { background: transparent; color: var(--ink-soft); }
.btn-ghost:hover { background: #eef4fa; color: var(--brand-dark); }

.btn-ghost.btn-lg { border: 1px solid rgba(255, 255, 255, .45); color: #fff; backdrop-filter: blur(6px); background: rgba(255, 255, 255, .12); }
.btn-ghost.btn-lg:hover { background: rgba(255, 255, 255, .22); color: #fff; }

.btn-danger { background: #fef2f2; color: var(--red); border-color: #fecaca; }
.btn-danger:hover { background: var(--red); color: #fff; border-color: var(--red); }

.btn-wa { background: #25d366; color: #06381f; box-shadow: 0 12px 24px -16px rgba(37, 211, 102, .9); }
.btn-wa:hover { color: #052e1a; }

.btn-sm { padding: .5rem .95rem; font-size: .85rem; }
.btn-xs { padding: .32rem .7rem; font-size: .78rem; border-radius: 9px; }
.btn-lg { padding: .88rem 1.6rem; font-size: 1rem; }
.btn-block { width: 100%; }

/* ------------------------- Header ------------------------- */

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 74px; }

.brand { display: flex; align-items: center; gap: .7rem; color: var(--ink); }
.brand-mark {
  width: 42px; height: 42px; flex: 0 0 42px;
  display: grid; place-items: center;
  border-radius: 13px;
  background: var(--grad);
  color: #fff; font-weight: 800; font-size: 1.15rem;
  box-shadow: 0 10px 20px -14px rgba(2, 132, 199, .9);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: 1rem; }
.brand-text small { color: var(--muted); font-size: .74rem; }

.site-nav { display: flex; align-items: center; gap: 1.4rem; }
.site-nav a { color: var(--ink-soft); font-size: .93rem; font-weight: 600; }
.site-nav a:hover { color: var(--brand); }
.site-nav .btn-primary { color: #fff; }

.nav-toggle {
  display: none;
  width: 42px; height: 38px;
  border: 1px solid var(--line); border-radius: 10px;
  background: #fff; cursor: pointer;
  padding: 9px 10px;
  flex-direction: column; justify-content: space-between;
}
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; }

/* ------------------------- Hero ------------------------- */

.hero { position: relative; overflow: hidden; color: #fff; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero-inner {
  position: relative;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem;
  align-items: center;
  padding-block: 76px 84px;
}
.pill {
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .3);
  padding: .35rem .85rem; border-radius: 999px;
  font-size: .78rem; font-weight: 600; letter-spacing: .02em;
  margin-bottom: 1.1rem;
}
.hero h1 { color: #fff; font-size: clamp(2.1rem, 4.4vw, 3.3rem); margin-bottom: .7rem; }
.hero h1 .grad {
  background: linear-gradient(100deg, #7dd3fc, #5eead4);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lead { color: rgba(255, 255, 255, .88); font-size: 1.05rem; max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6rem 0 1.2rem; }
.hero-points { display: flex; flex-wrap: wrap; gap: 1.2rem; color: rgba(255, 255, 255, .82); font-size: .85rem; }

.quick-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  color: var(--ink);
  display: grid; gap: .85rem;
}
.quick-card h3 { font-size: 1.05rem; margin-bottom: .1rem; }
.quick-card label { display: grid; gap: .32rem; font-size: .82rem; font-weight: 600; color: var(--ink-soft); }
.quick-card input, .quick-card select {
  width: 100%; padding: .62rem .75rem;
  border: 1px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: .9rem; color: var(--ink); background: #fff;
}
.quick-card input:focus, .quick-card select:focus { outline: 2px solid rgba(14, 165, 233, .35); border-color: var(--brand); }
.quick-note { margin: 0; font-size: .74rem; color: var(--muted); text-align: center; }

/* ------------------------- Stats & sections ------------------------- */

.stats-bar { background: #fff; border-bottom: 1px solid var(--line-soft); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding-block: 26px; }
.stats-grid > div { display: flex; flex-direction: column; text-align: center; }
.stats-grid strong { font-size: 1.55rem; color: var(--brand-dark); letter-spacing: -.03em; }
.stats-grid span { font-size: .82rem; color: var(--muted); }

.section { padding: 74px 0; }
.section-tight { padding: 44px 0 70px; }
.section-alt { background: #fff; border-block: 1px solid var(--line-soft); }

.section-head { max-width: 42rem; margin-bottom: 2.4rem; }
.section-head.row-between { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; }
.section-head p { color: var(--muted); margin: 0; }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: var(--teal); margin-bottom: .5rem;
}
.section-head-row { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin: 2.4rem 0 1.2rem; flex-wrap: wrap; }

/* ------------------------- Cards & grids ------------------------- */

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

.card {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px;
}

.service-card { display: flex; flex-direction: column; gap: .35rem; transition: transform .2s ease, box-shadow .2s ease; }
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.service-card.featured { border-color: rgba(14, 165, 233, .35); background: linear-gradient(160deg, #fff, #f3fbff); }
.service-ico { font-size: 1.6rem; width: 50px; height: 50px; display: grid; place-items: center; border-radius: 14px; background: var(--grad-soft); margin-bottom: .5rem; }
.service-card p { color: var(--muted); font-size: .93rem; }
.ticks { display: grid; gap: .45rem; margin: .4rem 0 1rem; font-size: .89rem; color: var(--ink-soft); }
.ticks li { position: relative; padding-left: 1.4rem; }
.ticks li::before {
  content: '✓'; position: absolute; left: 0; top: -1px;
  color: var(--teal); font-weight: 800;
}
.ticks.two-col { grid-template-columns: 1fr 1fr; }
.text-link { font-weight: 700; font-size: .9rem; margin-top: auto; }

.mini-card { text-align: left; }
.mini-card .ico { font-size: 1.4rem; margin-bottom: .6rem; }
.mini-card p { color: var(--muted); font-size: .88rem; margin: 0; }

/* ------------------------- Vehicle cards ------------------------- */

.vehicle-grid { align-items: stretch; }
.vehicle-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.vehicle-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.vehicle-photo {
  position: relative; aspect-ratio: 16 / 10;
  background: linear-gradient(140deg, #cfe9f7, #d6f5ee);
  display: grid; place-items: center;
  overflow: hidden;
}
.vehicle-photo img { width: 100%; height: 100%; object-fit: cover; }
.vehicle-type {
  position: absolute; top: 12px; left: 12px;
  background: rgba(255, 255, 255, .92);
  color: var(--brand-dark); font-size: .74rem; font-weight: 800;
  padding: .28rem .65rem; border-radius: 999px;
  box-shadow: 0 4px 12px -8px rgba(0, 0, 0, .5);
}
.vehicle-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.vehicle-body h3 { margin: 0; font-size: 1.08rem; }
.vehicle-desc { color: var(--muted); font-size: .86rem; margin: 0; }
.vehicle-specs { display: flex; flex-wrap: wrap; gap: .8rem; font-size: .82rem; color: var(--muted); margin: 0; }
.vehicle-price { display: grid; gap: .3rem; margin: .3rem 0 .5rem; }
.vehicle-price div { display: flex; align-items: baseline; gap: .4rem; }
.vehicle-price strong { font-size: 1.05rem; color: var(--brand-dark); }
.vehicle-price span { font-size: .78rem; color: var(--muted); }
.vehicle-actions { display: grid; gap: .5rem; margin-top: auto; }

/* ------------------------- Steps ------------------------- */

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { background: var(--bg); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 22px; }
.section-alt .step { background: var(--bg); }
.step-no {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px;
  background: var(--grad); color: #fff; font-weight: 800; margin-bottom: .8rem;
}
.step h4 { margin-bottom: .3rem; }
.step p { color: var(--muted); font-size: .88rem; margin: 0; }

/* ------------------------- Booking form ------------------------- */

.booking-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3rem; align-items: start; }
.booking-intro { position: sticky; top: 100px; }
.booking-intro p { color: var(--muted); }
.booking-help { margin-top: 1.6rem; padding: 18px; border-radius: var(--radius-sm); background: var(--grad-soft); border: 1px solid var(--line-soft); display: grid; gap: .3rem; font-size: .9rem; }
.booking-form { padding: 30px; display: grid; gap: 1.6rem; }
.field-group { border: 0; padding: 0; margin: 0; display: grid; gap: .9rem; }
.field-group legend {
  font-weight: 800; font-size: .95rem; color: var(--brand-dark);
  padding: 0; margin-bottom: .9rem;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.form-grid-4 { grid-template-columns: repeat(4, 1fr); }
.field { display: grid; gap: .35rem; font-size: .85rem; font-weight: 600; color: var(--ink-soft); }
.field b { color: var(--red); }
.field span { font-size: .83rem; }
.field input, .field select, .field textarea,
.filters input, .filters select, .inline-label select {
  width: 100%; padding: .68rem .8rem;
  border: 1px solid var(--line); border-radius: 11px;
  font-family: inherit; font-size: .92rem; color: var(--ink); background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 78px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, .14);
}

.choice-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.choice-row-inline { grid-template-columns: repeat(2, 1fr); max-width: 420px; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; }
.choice span {
  display: block; padding: .7rem .85rem; text-align: center;
  border: 1px solid var(--line); border-radius: 11px;
  font-size: .86rem; font-weight: 600; color: var(--ink-soft);
  transition: all .15s ease; background: #fff;
}
.choice input:checked + span { border-color: var(--brand); background: var(--brand-light); color: var(--brand-dark); box-shadow: inset 0 0 0 1px var(--brand); }
.choice input:focus-visible + span { outline: 2px solid rgba(14, 165, 233, .4); }

.route-hint-travel { display: block; }
.route-hint-travel[hidden] { display: none; }
.travel-note { margin: -.2rem 0 .2rem; }

.route-grid { grid-template-columns: 1.6fr 1fr; }
.row-off td { opacity: .62; }

.estimate {
  display: flex; flex-direction: column; gap: .2rem;
  padding: 16px 18px; border-radius: 12px;
  background: var(--grad-soft); border: 1px dashed rgba(13, 148, 136, .35);
}
.estimate span { font-size: .78rem; color: var(--muted); font-weight: 600; letter-spacing: .02em; }
.estimate strong { font-size: 1.35rem; color: var(--brand-dark); letter-spacing: -.02em; }
.estimate small { color: var(--muted); font-size: .76rem; }

.form-foot { display: flex; flex-direction: column; gap: .7rem; align-items: flex-start; border-top: 1px solid var(--line-soft); padding-top: 1.1rem; }
.form-foot p { margin: 0; }

/* ------------------------- Page head ------------------------- */

.page-head { background: var(--grad-soft); border-bottom: 1px solid var(--line-soft); padding: 48px 0 44px; }
.page-head h1 { margin-bottom: .4rem; }
.page-head p { color: var(--muted); max-width: 46rem; margin: 0; }

/* ------------------------- Chips, badges ------------------------- */

.filter-bar { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.6rem; }
.chip {
  padding: .45rem 1rem; border-radius: 999px; background: #fff;
  border: 1px solid var(--line); color: var(--ink-soft); font-size: .85rem; font-weight: 600;
}
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip.active { background: var(--grad); border-color: transparent; color: #fff; }

.badge {
  display: inline-block; padding: .22rem .6rem; border-radius: 999px;
  font-size: .72rem; font-weight: 800; letter-spacing: .01em;
  background: #f1f5f9; color: var(--ink-soft);
}
.badge-pending { background: #fef3c7; color: #92400e; }
.badge-confirmed { background: var(--brand-light); color: var(--brand-dark); }
.badge-ongoing { background: #ede9fe; color: #5b21b6; }
.badge-done { background: #d1fae5; color: #065f46; }
.badge-cancelled { background: #fee2e2; color: #991b1b; }
.badge-demo { background: #f1f5f9; color: var(--muted); font-weight: 700; }
.badge-platform { background: var(--brand-light); color: var(--brand-dark); }
.badge-type { background: var(--teal-light); color: #115e59; }
.pill-small { background: var(--grad-soft); border: 1px solid var(--line-soft); padding: .2rem .6rem; border-radius: 999px; font-size: .76rem; color: var(--brand-dark); font-weight: 700; }

/* ------------------------- Alerts ------------------------- */

.alert { padding: 14px 18px; border-radius: 12px; font-size: .9rem; margin-bottom: 1.2rem; border: 1px solid transparent; }
.alert ul { margin: .4rem 0 0; padding-left: 1.1rem; list-style: disc; }
.alert-error { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.alert-success { background: #ecfdf5; border-color: #a7f3d0; color: #065f46; }
.alert-info { background: #eff6ff; border-color: #bfdbfe; color: #1e40af; }

/* ------------------------- Tables ------------------------- */

.table-wrap { overflow-x: auto; margin: 0 -4px; max-width: 100%; }
.table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.table th {
  text-align: left; font-size: .76rem; text-transform: uppercase; letter-spacing: .06em;
  color: var(--muted); font-weight: 800; padding: 10px 12px; border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.table td { padding: 13px 12px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: #fafcff; }
.table-compact td, .table-compact th { padding: 9px 10px; }
.total-row td { background: #f8fafc; border-top: 2px solid var(--line); }
.detail-table { width: 100%; border-collapse: collapse; margin: 1.4rem 0; font-size: .9rem; }
.detail-table th { text-align: left; color: var(--muted); font-weight: 600; width: 42%; padding: 9px 0; vertical-align: top; }
.detail-table td { padding: 9px 0; }
.detail-table tr + tr th, .detail-table tr + tr td { border-top: 1px solid var(--line-soft); }

/* ------------------------- Footer ------------------------- */

.site-footer { background: #0b1f2f; color: #c9d8e5; padding: 56px 0 22px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.4rem; }
.site-footer h4 { color: #fff; font-size: .92rem; margin-bottom: .9rem; }
.site-footer p { color: #a9bccd; font-size: .88rem; }
.footer-list { display: grid; gap: .55rem; font-size: .88rem; }
.footer-list a, .site-footer a { color: #9fd7f5; }
.footer-list a:hover, .site-footer a:hover { color: #fff; }
.brand-footer { margin-bottom: 1rem; }
.brand-footer .brand-text strong { color: #fff; }
.brand-footer .brand-text small { color: #93aebf; }
.socials { display: flex; gap: .8rem; margin-top: 1rem; font-size: .85rem; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 2.6rem; padding-top: 1.2rem;
  font-size: .82rem; color: #93aebf;
}
.ico { display: inline-block; width: 1.2rem; }

.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 50;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 16px 30px -12px rgba(37, 211, 102, .8);
  transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.06); color: #fff; }

/* ------------------------- Success / status ------------------------- */

.success-card { text-align: left; padding: 34px; }
.success-ico {
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  background: #d1fae5; color: #047857; font-size: 1.6rem; font-weight: 800; margin-bottom: 1rem;
}
.success-card h1 { font-size: 1.7rem; }
.code-box { display: grid; gap: .15rem; background: var(--grad-soft); border: 1px dashed rgba(2, 132, 199, .35); border-radius: 14px; padding: 16px 20px; margin: 1.2rem 0; }
.code-box span { font-size: .78rem; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.code-box strong { font-size: 1.6rem; letter-spacing: .04em; color: var(--brand-dark); }
.code-box small { color: var(--muted); }
.success-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.2rem; }

.empty-state { text-align: center; padding: 46px 30px; }
.empty-state .ico { font-size: 2.2rem; margin-bottom: .6rem; }
.empty-inline { padding: 22px 4px; color: var(--muted); }
.empty-inline p { margin: 0 0 .8rem; }

.search-card { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; margin-bottom: 1.4rem; }
.search-card .field { flex: 1; min-width: 200px; }

.status-card { padding: 30px; }
.status-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line-soft); padding-bottom: 1rem; }
.status-head h2 { margin: 0; letter-spacing: .02em; }

.timeline { display: grid; gap: 0; margin: 1.6rem 0; padding: 0; list-style: none; }
.timeline-item { display: flex; gap: .9rem; padding-bottom: 1.1rem; position: relative; }
.timeline-item:not(:last-child)::before {
  content: ''; position: absolute; left: 7px; top: 20px; bottom: 0; width: 2px; background: var(--line);
}
.timeline-item .dot { flex: 0 0 16px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 2px solid var(--line); margin-top: 4px; z-index: 1; }
.timeline-item.done .dot, .timeline-item.active .dot { background: var(--teal); border-color: var(--teal); }
.timeline-item.active .dot { box-shadow: 0 0 0 5px rgba(13, 148, 136, .16); }
.timeline-item div { display: grid; }
.timeline-item small { color: var(--muted); font-size: .82rem; }
.timeline-item.todo strong { color: var(--muted); font-weight: 600; }

.info-card h3 { margin-bottom: .8rem; }

/* ------------------------- Filter & jam penjemputan ------------------------- */

.filter-card { display: grid; gap: 14px; padding: 18px 20px; }
.filter-card-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.filter-card-head h2 { font-size: .95rem; margin: 0; }

.filters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  align-items: end;
}
.filter-field { display: grid; gap: .3rem; min-width: 0; }
.filter-field > span { font-size: .76rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.filter-field input, .filter-field select {
  width: 100%; padding: .52rem .65rem;
  border: 1px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: .87rem; color: var(--ink); background: #fff;
}
.filter-field input:focus, .filter-field select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(14, 165, 233, .14); }
.filter-field-wide { grid-column: span 2; }
.filter-actions { display: flex; gap: .45rem; align-items: center; flex-wrap: wrap; padding-bottom: .1rem; }

.quick-dates { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
.chip-sm { padding: .32rem .7rem; font-size: .79rem; }
.followup-summary { margin-bottom: 0; }

.time-chips { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .2rem; }
.time-chip {
  display: inline-block; padding: .16rem .5rem; border-radius: 999px;
  background: var(--brand-light); color: var(--brand-dark);
  font-size: .76rem; font-weight: 700; letter-spacing: .01em;
}

.wa-link { color: #128c4b; }
.wa-link:hover { background: #e8fbf0; color: #0b6b39; }

@media (max-width: 720px) {
  .filter-field-wide { grid-column: span 1; }
  .filters-grid { grid-template-columns: 1fr 1fr; }
  .filter-actions { grid-column: span 2; }
  .filter-actions .btn { flex: 1; }
}
@media (max-width: 480px) {
  .filters-grid { grid-template-columns: 1fr; }
  .filter-actions { grid-column: span 1; }
}

/* ------------------------- FAQ ------------------------- */

.faq-list { display: grid; gap: 12px; }
.faq-item {
  background: #fff; border: 1px solid var(--line-soft); border-radius: 14px;
  padding: 16px 20px; box-shadow: var(--shadow);
}
.faq-item summary {
  cursor: pointer; font-weight: 700; font-size: .97rem; color: var(--ink);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; font-size: 1.25rem; font-weight: 700; color: var(--brand);
  line-height: 1; flex: 0 0 auto;
}
.faq-item[open] summary::after { content: '–'; }
.faq-item p { margin: .8rem 0 0; color: var(--muted); font-size: .92rem; }

/* ------------------------- Artikel & SEO ------------------------- */

.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; font-size: .8rem; color: var(--muted); margin-bottom: .9rem; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--brand); }
.crumbs span { color: var(--line); }
.crumbs span[aria-current] { color: var(--ink-soft); }

.article-grid { align-items: stretch; }
.article-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.article-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.article-cover {
  position: relative; display: grid; place-items: center;
  aspect-ratio: 16 / 9; background: var(--grad-soft); overflow: hidden;
}
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-cover-fallback { font-size: 2rem; opacity: .55; }
.article-cat {
  position: absolute; top: 12px; left: 12px;
  background: rgba(255, 255, 255, .94); color: var(--brand-dark);
  font-size: .72rem; font-weight: 800; padding: .26rem .62rem; border-radius: 999px;
}
.article-card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.article-card-body h2, .article-card-body h3 { font-size: 1.03rem; margin: 0; line-height: 1.35; }
.article-card-body h2 a, .article-card-body h3 a { color: var(--ink); }
.article-card-body h2 a:hover, .article-card-body h3 a:hover { color: var(--brand); }
.article-excerpt { margin: 0; color: var(--muted); font-size: .87rem; }
.article-meta { display: flex; flex-wrap: wrap; gap: .4rem; font-size: .78rem; color: var(--muted); }
.article-card-body .text-link { margin-top: auto; font-size: .85rem; }

.article-page { padding: 40px 0 20px; }
.article-head { margin-bottom: 2rem; }
.article-head h1 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); margin: .3rem 0 .7rem; }
.article-hero { margin-top: 1.4rem; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; background: var(--grad-soft); }
.article-hero img { width: 100%; height: 100%; object-fit: cover; }

.article-body { font-size: 1.02rem; line-height: 1.75; color: var(--ink-soft); }
.article-body h2 { font-size: 1.4rem; margin: 2rem 0 .7rem; color: var(--ink); }
.article-body h3 { font-size: 1.14rem; margin: 1.6rem 0 .5rem; color: var(--ink); }
.article-body h4 { font-size: 1rem; margin: 1.3rem 0 .4rem; color: var(--ink); }
.article-body p { margin: 0 0 1.1rem; }
.article-body ul, .article-body ol { margin: 0 0 1.2rem 1.3rem; padding-left: .4rem; }
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li { margin-bottom: .45rem; }
.article-body li > ul, .article-body li > ol { margin-top: .45rem; }
.article-body img { max-width: 100%; height: auto; border-radius: 12px; margin: .4rem 0; }
.article-body figure { margin: 1.6rem 0; }
.article-body figcaption { font-size: .82rem; color: var(--muted); text-align: center; margin-top: .5rem; }
.article-body iframe { max-width: 100%; }
.article-body table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.article-body th, .article-body td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.article-body th { background: #f8fafc; }
.article-body a { color: var(--brand); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.article-body blockquote {
  margin: 1.4rem 0; padding: 14px 20px;
  border-left: 4px solid var(--teal); background: var(--grad-soft);
  border-radius: 0 12px 12px 0; color: var(--ink);
  font-style: italic;
}
.article-body code { background: #eef2f7; padding: .1rem .35rem; border-radius: 5px; font-size: .88em; color: var(--brand-dark); }
.article-body hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
.article-body .table-wrap { margin: 1.4rem 0; border: 1px solid var(--line-soft); border-radius: 12px; overflow: hidden; }
.article-table { font-size: .92rem; }
.article-table th { background: #f8fafc; }

.article-tags { display: flex; flex-wrap: wrap; gap: .45rem; margin: 1.8rem 0 2rem; }
.tag { background: #f1f5f9; color: var(--ink-soft); font-size: .78rem; font-weight: 600; padding: .3rem .7rem; border-radius: 999px; }

.article-cta, .cta-card { background: linear-gradient(150deg, #ffffff, #f2fbff); border-color: rgba(14, 165, 233, .28); }
.cta-card h2 { font-size: 1.3rem; }
.cta-card p { color: var(--muted); }
.article-cta { margin-top: 2.4rem; }

/* Editor artikel (admin) */
.editor-toolbar { display: flex; flex-wrap: wrap; gap: .3rem; padding: .4rem; border: 1px solid var(--line); border-radius: 11px 11px 0 0; background: #f8fafc; border-bottom: 0; }
.article-editor {
  width: 100%; min-height: 340px; padding: .9rem 1rem;
  border: 1px solid var(--line); border-radius: 0 0 11px 11px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9rem; line-height: 1.6;
  color: var(--ink); resize: vertical;
}
.article-editor:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(14, 165, 233, .12); }
.editor-meta { display: flex; flex-wrap: wrap; gap: .4rem; font-size: .78rem; color: var(--muted); align-items: center; }
.editor-mode { margin-left: auto; background: #eef6ff; color: var(--brand-dark); font-weight: 700; padding: .12rem .55rem; border-radius: 999px; font-size: .72rem; }
.editor-help-box { background: #f8fafc; border: 1px dashed var(--line); border-radius: 12px; padding: 12px 14px; font-size: .82rem; line-height: 1.6; }
.tox-tinymce { border-radius: 11px !important; border-color: var(--line) !important; }
.editor-help { margin-top: .6rem; font-size: .85rem; color: var(--muted); }
.editor-help summary { cursor: pointer; font-weight: 700; color: var(--brand); }
.editor-help code { background: #eef2f7; padding: .05rem .3rem; border-radius: 5px; }
.editor-help ul { margin-top: .6rem; }

.serp-preview { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; background: #fff; display: grid; gap: .2rem; }
.serp-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 800; margin-bottom: .3rem; }
.serp-url { font-size: .78rem; color: #3c4043; word-break: break-all; }
.serp-title { font-size: 1rem; color: #1a0dab; font-weight: 600; line-height: 1.3; }
.serp-desc { font-size: .82rem; color: #4d5156; line-height: 1.5; }

/* =========================================================
   ADMIN
   ========================================================= */

.admin-body { background: #f4f7fb; }
.admin-shell { display: grid; grid-template-columns: 254px 1fr; min-height: 100vh; }

.admin-side {
  background: linear-gradient(180deg, #0b2a3d 0%, #0c3b4d 60%, #0b3f45 100%);
  color: #d7e6f0;
  padding: 16px 14px 12px;
  display: flex; flex-direction: column; gap: .65rem;
  position: sticky; top: 0;
  height: 100vh;
  height: 100dvh;            /* aman untuk address bar browser mobile */
  max-height: 100vh;
  max-height: 100dvh;
  overflow: hidden;          /* hanya area menu yang scroll, bukan seluruh sidebar */
  overscroll-behavior: contain;
}
.admin-brand { display: flex; align-items: center; gap: .65rem; padding: 0 .3rem; flex: 0 0 auto; }
.admin-brand .brand-mark { width: 38px; height: 38px; flex: 0 0 38px; font-size: 1.05rem; border-radius: 11px; }
.admin-brand strong { display: block; color: #fff; font-size: .92rem; line-height: 1.25; }
.admin-brand small { color: #8fb0c4; font-size: .74rem; }
.admin-nav {
  display: grid; gap: .12rem;
  flex: 1 1 auto; min-height: 0;
  align-content: start;
  overflow-y: auto;                  /* daftar menu bisa di-scroll sendiri */
  overscroll-behavior: contain;
  padding: 2px 2px 2px 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, .28) transparent;
}
.admin-nav::-webkit-scrollbar { width: 6px; }
.admin-nav::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .26); border-radius: 999px; }
.admin-nav::-webkit-scrollbar-track { background: transparent; }
.admin-nav.is-scrollable { mask-image: linear-gradient(180deg, transparent 0, #000 12px, #000 calc(100% - 14px), transparent 100%); -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 12px, #000 calc(100% - 14px), transparent 100%); }
.admin-nav a {
  display: flex; align-items: center; gap: .65rem;
  padding: .5rem .68rem; border-radius: 10px;
  color: #c2d8e5; font-size: .85rem; font-weight: 600;
  line-height: 1.45;
  flex: 0 0 auto;
}
.admin-nav a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.admin-nav a.active { background: #fff; color: #0b3d52; box-shadow: 0 10px 22px -16px rgba(0, 0, 0, .8); }
.admin-nav .nav-ico { font-size: .92rem; width: 1.15rem; text-align: center; flex: 0 0 1.15rem; }
.admin-side-foot {
  display: grid; gap: .35rem;
  border-top: 1px solid rgba(255, 255, 255, .14);
  padding-top: .7rem;
  margin-top: 0;
  flex: 0 0 auto;            /* selalu di baris bawah, di luar area scroll menu */
  background: transparent;
  position: static;
}
.side-action {
  display: flex; align-items: center; gap: .5rem;
  padding: .45rem .6rem; border-radius: 9px;
  color: #cfe3ef; font-size: .82rem; font-weight: 600;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .07);
}
.side-action:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.side-action .nav-ico { width: 1.1rem; text-align: center; }
.side-action-logout { border-color: rgba(255, 138, 128, .45); color: #ffd7d2; background: rgba(239, 68, 68, .16); }
.side-action-logout:hover { background: rgba(239, 68, 68, .3); color: #fff; }

.topbar-actions { display: flex; align-items: center; gap: .45rem; flex: 0 0 auto; }
.topbar-logout { color: #b42318; }
.topbar-logout:hover { background: #fef2f2; color: #991b1b; }

.admin-main { min-width: 0; display: flex; flex-direction: column; }
.admin-topbar {
  display: flex; align-items: center; gap: 1rem;
  padding: 16px 28px;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
  position: sticky; top: 0; z-index: 30;
}
.admin-topbar h1 { font-size: 1.16rem; margin: 0; flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-user { display: flex; align-items: center; gap: .55rem; font-size: .86rem; color: var(--ink-soft); font-weight: 600; }
.avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--grad); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: .85rem;
}
.admin-content { padding: 26px 28px 60px; display: grid; gap: 22px; align-content: start; }
.admin-content > * { min-width: 0; }
.card { min-width: 0; }

.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.kpi-grid-3 { grid-template-columns: repeat(3, 1fr); }
.kpi { display: grid; gap: .3rem; padding: 20px 22px; }
.kpi-label { font-size: .78rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 800; }
.kpi-value { font-size: 1.5rem; letter-spacing: -.03em; color: var(--ink); }
.kpi-value.small-value { font-size: 1.15rem; }
.kpi-delta { font-size: .78rem; color: var(--muted); }
.kpi-delta.up { color: var(--green); }
.kpi-delta.down { color: var(--red); }
.kpi-accent { background: linear-gradient(150deg, #ffffff, #eefbf8); border-color: rgba(13, 148, 136, .25); }

.dash-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 20px; align-items: start; }
.dash-grid > * { min-width: 0; }
.finance-grid { grid-template-columns: 1.5fr 1fr; }
.settings-grid { grid-template-columns: 1.4fr 1fr; }
.stack { display: grid; gap: 20px; min-width: 0; }
.stack > * { min-width: 0; }

.panel { display: grid; gap: .9rem; align-content: start; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.panel-head h2 { font-size: 1rem; margin: 0; letter-spacing: -.01em; }
.panel-head-sub { border-top: 1px solid var(--line-soft); padding-top: 1rem; margin-top: .4rem; }

.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 16px 20px; min-width: 0; }
.toolbar p { margin: 0; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; min-width: 0; max-width: 100%; }
.filters input, .filters select { width: auto; min-width: 130px; padding: .5rem .7rem; font-size: .86rem; border-radius: 10px; }
.inline-label { display: flex; align-items: center; gap: .5rem; font-size: .86rem; font-weight: 600; color: var(--ink-soft); }
.inline-label select { width: auto; }

.list-stack { display: grid; }
.list-row {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 12px 4px; border-bottom: 1px solid var(--line-soft);
  color: var(--ink);
}
.list-row:last-child { border-bottom: 0; }
.list-row:hover { background: #fafcff; }
.list-main { display: grid; gap: .1rem; min-width: 0; }
.list-main small { color: var(--muted); font-size: .8rem; }
.list-meta { display: flex; align-items: center; gap: .6rem; white-space: nowrap; }

.quick-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.qa {
  display: flex; align-items: center; gap: .5rem;
  padding: .7rem .8rem; border-radius: 11px;
  border: 1px solid var(--line); background: #fff;
  font-size: .84rem; font-weight: 600; color: var(--ink-soft);
}
.qa:hover { border-color: var(--brand); color: var(--brand-dark); background: #f8fcff; }
.qa span { font-size: 1rem; }

.mini-stats { display: flex; flex-wrap: wrap; gap: 1.4rem; border-top: 1px solid var(--line-soft); padding-top: .9rem; }
.mini-stats > div { display: grid; }
.mini-stats span { font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; font-weight: 700; }
.mini-stats strong { font-size: 1.1rem; }

.chart { display: flex; align-items: flex-end; gap: 10px; height: 170px; padding-top: 10px; }
.chart-tall { height: 190px; }
.chart-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: .4rem; height: 100%; justify-content: flex-end; }
.chart-bars { display: flex; align-items: flex-end; justify-content: center; gap: 3px; height: 100%; width: 100%; }
.bar { flex: 1; max-width: 16px; border-radius: 5px 5px 3px 3px; min-height: 3px; transition: opacity .15s ease; }
.bar:hover { opacity: .78; }
.bar-income { background: linear-gradient(180deg, #38bdf8, #0284c7); }
.bar-expense { background: linear-gradient(180deg, #fca5a5, #ef4444); }
.chart-label { font-size: .7rem; color: var(--muted); white-space: nowrap; }
.chart-legend { display: flex; gap: 1.2rem; font-size: .78rem; color: var(--muted); }
.chart-legend i { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: .35rem; }
.dot-income { background: #0284c7; }
.dot-expense { background: #ef4444; }

.bar-list { display: grid; gap: .8rem; }
.bar-row-head { display: flex; justify-content: space-between; font-size: .85rem; margin-bottom: .3rem; }
.bar-row-head span { color: var(--ink-soft); font-weight: 600; }
.bar-track { height: 9px; border-radius: 999px; background: #eef2f7; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, #fca5a5, #ef4444); }
.bar-fill-alt { background: var(--grad); }

.row-actions { display: flex; gap: .35rem; flex-wrap: wrap; justify-content: flex-end; align-items: center; }
.inline-form { display: inline-flex; }
.select-xs, .select-xs.form-control { padding: .3rem .5rem; border: 1px solid var(--line); border-radius: 8px; font-size: .78rem; font-family: inherit; background: #fff; color: var(--ink-soft); }
.pagination { display: flex; align-items: center; justify-content: center; gap: 1rem; padding-top: 1rem; }

.form-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 20px; align-items: start; }
.admin-form { display: block; }
.admin-form .form-layout { align-items: start; }
.form-actions { display: grid; gap: .5rem; margin-top: .6rem; }
.meta-box { display: grid; gap: .4rem; border-top: 1px solid var(--line-soft); padding-top: .9rem; font-size: .85rem; }
.meta-box > div { display: flex; justify-content: space-between; gap: 1rem; min-width: 0; }
.meta-box strong { overflow-wrap: anywhere; word-break: break-word; text-align: right; }
.meta-box span { color: var(--muted); }

.vehicle-admin-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.admin-vehicle { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.admin-vehicle.is-off { opacity: .72; }
.admin-vehicle-photo { position: relative; aspect-ratio: 16 / 10; background: var(--grad-soft); display: grid; place-items: center; }
.admin-vehicle-photo img { width: 100%; height: 100%; object-fit: cover; }
.admin-vehicle-photo .badge { position: absolute; top: 10px; right: 10px; }
.photo-placeholder { font-size: 2rem; opacity: .5; }
.admin-vehicle-body { padding: 16px 18px 18px; display: grid; gap: .5rem; }
.admin-vehicle-body h3 { margin: 0; font-size: 1rem; }
.admin-vehicle-body p { margin: 0; }
.price-list { display: grid; gap: .2rem; font-size: .82rem; }
.price-list > div { display: flex; justify-content: space-between; gap: .5rem; }
.price-list span { color: var(--muted); }

.photo-preview { border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--grad-soft); display: grid; place-items: center; }
.photo-preview img { width: 100%; height: 100%; object-fit: cover; }

.ideas-section { display: grid; gap: 0; }
.ideas-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.idea-card { display: grid; gap: .55rem; align-content: start; }
.idea-card h3 { font-size: 1rem; margin: .2rem 0 0; }
.idea-tags { display: flex; gap: .4rem; flex-wrap: wrap; }
.idea-hook { margin: 0; font-size: .85rem; color: var(--teal); font-weight: 600; }
.idea-format { font-size: .8rem; color: var(--muted); background: #f8fafc; border-radius: 9px; padding: .5rem .7rem; }
.caption-box {
  white-space: pre-wrap; word-break: break-word;
  font-family: inherit; font-size: .84rem; line-height: 1.55;
  background: #f8fafc; border: 1px solid var(--line-soft); border-radius: 11px;
  padding: 12px 14px; margin: 0; max-height: 260px; overflow: auto;
}
.hashtags { margin: 0; font-size: .78rem; color: var(--brand); word-break: break-word; }
.idea-actions { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .3rem; }

.plan-list { display: grid; }
.plan-item { display: flex; gap: 1.2rem; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid var(--line-soft); flex-wrap: wrap; }
.plan-item:last-child { border-bottom: 0; }
.plan-main { display: grid; gap: .35rem; min-width: 0; flex: 1; }
.plan-caption summary { cursor: pointer; font-size: .8rem; color: var(--brand); font-weight: 700; }
.plan-side { display: flex; gap: .6rem; align-items: flex-end; flex-wrap: wrap; }
.plan-form { display: flex; gap: .5rem; align-items: flex-end; flex-wrap: wrap; }
.mini-field { display: grid; gap: .2rem; font-size: .72rem; color: var(--muted); font-weight: 700; }
.mini-field select, .mini-field input { padding: .4rem .5rem; border: 1px solid var(--line); border-radius: 8px; font-family: inherit; font-size: .8rem; background: #fff; }

.generator-card { border-color: rgba(14, 165, 233, .3); background: linear-gradient(150deg, #fff, #f5fcff); }
.generator-card .btn { justify-self: start; }

/* ------------------------- Login ------------------------- */

.login-body {
  min-height: 100vh; display: grid; place-items: center; padding: 24px;
  background:
    radial-gradient(900px 500px at 12% 8%, #d8f3ff 0%, transparent 60%),
    radial-gradient(700px 480px at 88% 92%, #d3f7ee 0%, transparent 60%),
    #f6f9fc;
}
.login-card {
  width: 100%; max-width: 400px; background: #fff;
  border: 1px solid var(--line-soft); border-radius: 22px;
  box-shadow: var(--shadow-lg); padding: 30px;
  display: grid; gap: 1.1rem;
}
.login-brand { display: flex; align-items: center; gap: .7rem; }
.login-brand strong { display: block; font-size: .98rem; line-height: 1.25; }
.login-brand small { color: var(--muted); font-size: .78rem; }
.login-form { display: grid; gap: .9rem; }
.login-hint { background: #f8fafc; border: 1px dashed var(--line); border-radius: 11px; padding: 11px 13px; font-size: .78rem; color: var(--muted); }
.login-hint code { background: #eef2f7; padding: .05rem .3rem; border-radius: 5px; color: var(--ink-soft); }
.login-back { text-align: center; font-size: .84rem; color: var(--muted); }

/* ------------------------- Responsive ------------------------- */

@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.2rem; padding-block: 56px 64px; }
  .quick-card { max-width: 480px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .vehicle-admin-grid { grid-template-columns: repeat(2, 1fr); }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .kpi-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .dash-grid, .finance-grid, .settings-grid, .form-layout, .route-grid { grid-template-columns: 1fr; }
  .ideas-grid { grid-template-columns: 1fr; }
  .booking-wrap { grid-template-columns: 1fr; gap: 2rem; }
  .booking-intro { position: static; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side { position: fixed; inset: 0 auto 0 0; width: 264px; z-index: 60; transform: translateX(-100%); transition: transform .22s ease; height: 100dvh; max-height: 100dvh; overflow: hidden; padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }
  .admin-side.open { transform: translateX(0); box-shadow: 0 0 60px rgba(0, 0, 0, .35); }
  .nav-toggle.nav-toggle-dark { display: flex; }
}

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .form-grid-4 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 15px; }
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute; top: 74px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line-soft);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: .5rem 22px 1.2rem;
    box-shadow: 0 20px 30px -24px rgba(0, 0, 0, .3);
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: .8rem 0; border-bottom: 1px solid var(--line-soft); }
  .site-nav a.btn { margin-top: .8rem; border-bottom: 0; }
  .section { padding: 54px 0; }
  .grid-3, .grid-4, .steps, .ideas-grid, .vehicle-admin-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 1.2rem; }
  .section-head.row-between { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .form-grid, .choice-row, .choice-row-inline, .form-grid-4, .quick-actions { grid-template-columns: 1fr; }
  .choice-row { gap: .5rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .admin-content { padding: 18px 16px 50px; }
  .admin-topbar { padding: 12px 16px; }
  .admin-topbar h1 { font-size: 1rem; }
  .admin-user-name { display: none; }
  .topbar-actions .btn { padding: .42rem .7rem; font-size: .78rem; }
  .kpi-grid, .kpi-grid-3 { grid-template-columns: 1fr; }
  .ticks.two-col { grid-template-columns: 1fr; }
  .booking-form { padding: 22px; }
  .table th, .table td { padding: 10px 8px; }
  .toolbar { flex-direction: column; align-items: stretch; }
  .filters { flex-direction: column; align-items: stretch; width: 100%; }
  .filters input, .filters select, .filters .btn, .inline-label select { width: 100%; }
  .panel-head { align-items: flex-start; }
  .panel-head .filters { width: 100%; }
  .inline-label { justify-content: space-between; }
  .row-actions { justify-content: flex-start; }
  .plan-side, .plan-form { width: 100%; }
  .mini-field { flex: 1; }
  .chart { gap: 5px; }
  .kpi-value { font-size: 1.3rem; }
  .plan-item { flex-direction: column; }
}

@media print {
  .site-header, .site-footer, .wa-float, .admin-side, .admin-topbar, .toolbar, .row-actions { display: none !important; }
  .admin-shell { display: block; }
  body { background: #fff; }
}
