:root {
  --bg: #0f1115; --panel: #181b22; --panel2: #20242d; --text: #eef0f4; --muted: #9aa3b2;
  --brand: #ff6a13; --brand-dark: #d9530a; --ok: #2fbf71; --warn: #f2b33d; --err: #ef4d4d; --line: #2b303b;
  --radius: 12px;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; background: var(--bg); color: var(--text); line-height: 1.55; }
a { color: var(--brand); text-decoration: none; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 16px; }

/* Nav */
header.nav { position: sticky; top: 0; z-index: 10; background: rgba(15,17,21,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
header.nav .container { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-weight: 800; font-size: 1.25rem; color: var(--text); letter-spacing: .5px; }
.logo span { color: var(--brand); }
.logo small { display: block; font-size: .65rem; color: var(--muted); font-weight: 500; letter-spacing: 1px; text-transform: uppercase; margin-top: -4px; }
nav a { color: var(--muted); margin-left: 20px; font-weight: 500; }
nav a:hover, nav a.active { color: var(--text); }
@media (max-width: 640px) { nav a:not(.btn) { display: none; } }

.btn { display: inline-block; background: var(--brand); color: #fff; border: 0; padding: 12px 22px; border-radius: 999px; font-weight: 700; cursor: pointer; font-size: 1rem; }
.btn:hover { background: var(--brand-dark); }
.btn.ghost { background: transparent; border: 1px solid var(--line); color: var(--text); }
.btn.small { padding: 6px 14px; font-size: .85rem; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
nav .btn { margin-left: 20px; color: #fff; }

/* Hero */
.hero { padding: 96px 0 72px; background: radial-gradient(circle at 80% 0%, rgba(255,106,19,.18), transparent 50%); }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.1; margin: 0 0 16px; }
.hero h1 em { color: var(--brand); font-style: normal; }
.hero p { color: var(--muted); font-size: 1.15rem; max-width: 620px; }
.hero .cta { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }
.badges { display: flex; gap: 24px; margin-top: 40px; flex-wrap: wrap; color: var(--muted); font-size: .95rem; }
.badges b { color: var(--text); display: block; font-size: 1.4rem; }

section { padding: 64px 0; }
section h2 { font-size: 2rem; margin: 0 0 8px; }
.sub { color: var(--muted); margin: 0 0 32px; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { margin: 4px 0 8px; }
.card p { color: var(--muted); margin: 0 0 12px; }
.tag { font-size: .72rem; text-transform: uppercase; letter-spacing: 1px; color: var(--brand); font-weight: 700; }
.price { font-weight: 700; }
.price small { color: var(--muted); font-weight: 400; }
.steps .card .num { width: 36px; height: 36px; border-radius: 50%; background: var(--brand); display: grid; place-items: center; font-weight: 800; }
.alt { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.alt .card { background: var(--panel2); }

footer { padding: 40px 0; color: var(--muted); font-size: .9rem; border-top: 1px solid var(--line); }
footer .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }

/* Forms */
form .row { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { form .row { grid-template-columns: 1fr; } }
label { display: block; font-size: .85rem; color: var(--muted); margin: 12px 0 4px; }
input, select, textarea { width: 100%; padding: 11px 12px; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; color: var(--text); font: inherit; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--brand); border-color: transparent; }
textarea { min-height: 90px; resize: vertical; }
.msg { padding: 12px 14px; border-radius: 8px; margin: 12px 0; display: none; }
.msg.show { display: block; }
.msg.err { background: rgba(239,77,77,.12); color: #ff9a9a; border: 1px solid rgba(239,77,77,.4); }
.msg.ok { background: rgba(47,191,113,.12); color: #7fe0aa; border: 1px solid rgba(47,191,113,.4); }

/* Booking wizard */
.wizard { max-width: 760px; margin: 40px auto; }
.progress { display: flex; gap: 8px; margin-bottom: 24px; }
.progress div { flex: 1; height: 6px; border-radius: 3px; background: var(--line); }
.progress div.on { background: var(--brand); }
.step { display: none; }
.step.active { display: block; }
.choices { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.choice { background: var(--panel); border: 2px solid var(--line); border-radius: var(--radius); padding: 14px; cursor: pointer; }
.choice:hover { border-color: var(--muted); }
.choice.sel { border-color: var(--brand); background: rgba(255,106,19,.08); }
.choice h4 { margin: 0 0 4px; }
.choice p { margin: 0; color: var(--muted); font-size: .88rem; }
.slots { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); margin-top: 12px; }
.slot { padding: 10px; text-align: center; border-radius: 8px; border: 2px solid var(--line); background: var(--panel); cursor: pointer; font-weight: 600; }
.slot.sel { border-color: var(--brand); background: rgba(255,106,19,.12); }
.slot.off { opacity: .35; cursor: not-allowed; text-decoration: line-through; }
.actions { display: flex; justify-content: space-between; margin-top: 24px; gap: 12px; }
.summary dt { color: var(--muted); font-size: .85rem; }
.summary dd { margin: 0 0 10px; }

/* Status pills */
.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; text-transform: capitalize; }
.pill.pending { background: rgba(242,179,61,.15); color: var(--warn); }
.pill.confirmed { background: rgba(80,150,255,.15); color: #7fb2ff; }
.pill.en_route, .pill.in_progress { background: rgba(255,106,19,.15); color: var(--brand); }
.pill.completed { background: rgba(47,191,113,.15); color: var(--ok); }
.pill.cancelled { background: rgba(239,77,77,.15); color: var(--err); }

/* Admin */
.admin-wrap { display: grid; grid-template-columns: 220px 1fr; min-height: 100vh; }
.admin-side { background: var(--panel); border-right: 1px solid var(--line); padding: 20px; }
.admin-side a { display: block; padding: 10px 12px; border-radius: 8px; color: var(--muted); margin-top: 4px; cursor: pointer; }
.admin-side a.active, .admin-side a:hover { background: var(--panel2); color: var(--text); }
.admin-main { padding: 24px; overflow-x: auto; }
@media (max-width: 760px) { .admin-wrap { grid-template-columns: 1fr; } .admin-side { display: flex; flex-wrap: wrap; gap: 4px; } .admin-side .logo { width: 100%; } }
.stats { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); margin-bottom: 24px; }
.stats .card b { font-size: 1.8rem; display: block; }
.stats .card span { color: var(--muted); font-size: .85rem; }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; font-size: .8rem; text-transform: uppercase; }
tr.click { cursor: pointer; }
tr.click:hover { background: var(--panel); }
.toolbar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.toolbar input, .toolbar select { width: auto; }
.drawer { position: fixed; top: 0; right: 0; width: min(480px, 100%); height: 100%; background: var(--panel); border-left: 1px solid var(--line); padding: 24px; overflow-y: auto; transform: translateX(100%); transition: transform .2s; z-index: 50; }
.drawer.open { transform: none; }
.muted { color: var(--muted); }
.hidden { display: none !important; }

/* Print (invoices, reports) — black on white, no chrome */
@media print {
  :root { --bg: #fff; --panel: #fff; --panel2: #fff; --text: #000; --muted: #444; --line: #ccc; }
  body { background: #fff; color: #000; }
  header.nav, footer, #checkout, .btn, .msg, .drawer { display: none !important; }
  .card { border: 0; padding: 0; }
  .wizard { margin: 0; max-width: none; }
  a { color: #000; }
}

/* Office staff don't see admin-only tools (the server enforces this too) */
body[data-role="office"] [data-admin] { display: none !important; }
