:root {
  --red: #E8362D;
  --red-deep: #C8302A;
  --ink: #F5F5F3;
  --bg: #0A0A0B;
  --bg-panel: #151516;
  --bg-panel-hover: #1D1D1F;
  --chrome: #C9D2CC;
  --border: rgba(255,255,255,0.09);
  --border-strong: rgba(255,255,255,0.16);
  --text-muted: rgba(245,245,243,0.68);
  --text-faint: rgba(245,245,243,0.46);
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

* { box-sizing: border-box; }

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

html { scroll-behavior: smooth; }

a { color: inherit; text-decoration: none; }

::selection { background-color: var(--red); color: var(--bg); }

.container { max-width: 1152px; margin: 0 auto; padding: 0 1.5rem; }

/* --- Nav --- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,10,11,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav::before {
  content: '';
  position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232,54,45,0.5), transparent);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 0.5rem 1.5rem; }
.nav-logo img { height: 5.5rem; width: auto; display: block; filter: drop-shadow(0 0 18px rgba(232,54,45,0.25)); transition: filter 0.2s, transform 0.2s; }
.nav-logo:hover img { filter: drop-shadow(0 0 28px rgba(232,54,45,0.45)); transform: scale(1.03); }
@media (min-width: 768px) { .nav-logo img { height: 6.5rem; } }

/* Nav links styled as buttons */
.nav-links { display: none; gap: 0.5rem; font-family: var(--font-mono); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; }
@media (min-width: 768px) { .nav-links { display: flex; align-items: center; } }
.nav-links a {
  color: var(--text-muted);
  font-weight: 600;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: color 0.15s, background 0.15s, border-color 0.15s, transform 0.15s;
}
.nav-links a:hover {
  color: var(--ink);
  background: rgba(255,255,255,0.06);
  border-color: var(--border-strong);
  transform: translateY(-1px);
}

.nav-right { display: flex; align-items: center; gap: 1rem; }
.nav-cta { display: none; }
@media (min-width: 640px) { .nav-cta { display: inline-block; } }

.btn-red {
  background: var(--red); color: #0A0A0B; border-radius: 999px;
  padding: 0.6rem 1.4rem; font-family: var(--font-mono); font-size: 0.75rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; border: none; cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 0 18px rgba(232,54,45,0.35);
  display: inline-block;
}
.btn-red:hover { transform: scale(1.05); box-shadow: 0 4px 28px rgba(232,54,45,0.55); }

.btn-ghost {
  background: transparent; color: var(--ink); border-radius: 999px;
  padding: 0.6rem 1.4rem; font-family: var(--font-mono); font-size: 0.75rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  border: 1px solid var(--border-strong); cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  display: inline-block;
}
.btn-ghost:hover { border-color: var(--red); background: rgba(232,54,45,0.08); }

/* Mobile hamburger */
.nav-burger {
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  gap: 5px; width: 2.5rem; height: 2.5rem; background: transparent; border: 1px solid var(--border-strong);
  border-radius: 0.5rem; cursor: pointer; padding: 0;
}
@media (min-width: 768px) { .nav-burger { display: none; } }
.nav-burger span {
  width: 18px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform 0.25s, opacity 0.2s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: flex; flex-direction: column; gap: 0.5rem;
  max-height: 0; overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 1rem;
}
.nav-mobile.open {
  max-height: 22rem;
  padding: 0.75rem 1rem 1.25rem;
  border-top: 1px solid var(--border);
}
.nav-mobile a {
  padding: 0.85rem 1.1rem; font-family: var(--font-mono); font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink);
  background: var(--bg-panel);
  border: 1px solid var(--border-strong);
  border-radius: 0.75rem;
  text-align: center;
}
.nav-mobile a:last-child { margin-top: 0.25rem; }

/* --- Hero (full-bleed showroom treatment) --- */
.hero {
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
  padding-bottom: 4rem;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.7) brightness(0.55);
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,11,0.55) 0%, rgba(10,10,11,0.75) 55%, var(--bg) 100%),
    radial-gradient(ellipse 900px 500px at 20% -10%, rgba(232,54,45,0.22), transparent 60%);
}
.hero::before {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 800px 500px at 20% 0%, black, transparent 70%);
  pointer-events: none;
}
.hero-grid { position: relative; z-index: 2; display: grid; gap: 2.5rem; padding: 3rem 1.5rem 6rem; }
@media (min-width: 768px) { .hero-grid { grid-template-columns: 1.3fr 1fr; padding-top: 3.5rem; } }
.eyebrow { font-family: var(--font-display); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.3em; color: var(--red); }
.hero h1 {
  font-family: var(--font-display); font-weight: 700; font-size: 3rem; line-height: 1.03;
  letter-spacing: -0.02em; margin: 1rem 0 0; color: var(--ink);
  text-shadow: 0 4px 24px rgba(0,0,0,0.5);
}
@media (min-width: 768px) { .hero h1 { font-size: 4.75rem; } }

/* Signature element: squeegee-sweep reveal on the hero headline */
@keyframes squeegee-sweep {
  0% { clip-path: polygon(0 0, 0 0, 0 100%, 0 100%); }
  100% { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
}
.squeegee-reveal { animation: squeegee-sweep 1.1s cubic-bezier(0.65,0,0.35,1) forwards; }
@keyframes streak-travel {
  0% { transform: translateX(-10%); opacity: 0; }
  10% { opacity: 1; } 90% { opacity: 1; }
  100% { transform: translateX(110%); opacity: 0; }
}
.streak-line {
  position: absolute; left: 0; top: 0; height: 100%; width: 6px;
  background: var(--red); filter: blur(3px) drop-shadow(0 0 12px rgba(232,54,45,0.8));
  animation: streak-travel 1.1s cubic-bezier(0.65,0,0.35,1) forwards;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .squeegee-reveal { animation: none; clip-path: none; }
  .streak-line { animation: none; opacity: 0; }
}

.hero p.lede { margin-top: 1.5rem; max-width: 28rem; color: var(--text-muted); font-size: 1.0625rem; font-weight: 500; }
.hero-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; }
.ig-link { font-family: var(--font-mono); font-size: 0.8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); text-decoration: underline; text-decoration-color: rgba(232,54,45,0.5); text-underline-offset: 4px; }
.ig-link:hover { color: var(--red); }
.vehicle-list { margin-top: 2.75rem; display: flex; flex-wrap: wrap; gap: 1.75rem; list-style: none; padding: 0; font-family: var(--font-mono); font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-faint); }
.vehicle-list li { display: flex; gap: 0.5rem; align-items: center; }
.vehicle-list span { color: var(--red); }

.hero-card { border: 1px solid var(--border-strong); background: rgba(21,21,22,0.85); backdrop-filter: blur(6px); border-radius: 1.25rem; padding: 1.5rem; box-shadow: 0 20px 60px rgba(0,0,0,0.5); overflow: hidden; }
.hero-card img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 0.75rem; }

/* --- Trust strip --- */
.trust-strip {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem;
  padding: 0 1.5rem;
  max-width: 1152px; margin: 0 auto;
}
@media (min-width: 768px) { .trust-strip { grid-template-columns: repeat(4,1fr); } }
.trust-item { text-align: center; }
.trust-item .num { font-family: var(--font-display); font-weight: 700; font-size: 1.75rem; color: var(--ink); }
.trust-item .label { font-family: var(--font-mono); font-size: 0.6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-faint); margin-top: 0.25rem; }

/* --- How it works --- */
.steps-grid { margin-top: 3rem; display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .steps-grid { grid-template-columns: repeat(3,1fr); } }
.step-card { position: relative; padding: 2rem 1.75rem; border: 1px solid var(--border-strong); background: var(--bg-panel); border-radius: 1.25rem; }
.step-card .step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem; border-radius: 999px;
  background: var(--red); color: #0A0A0B; font-family: var(--font-display); font-weight: 700; font-size: 1.125rem;
  box-shadow: 0 0 18px rgba(232,54,45,0.35);
}
.step-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; margin: 1rem 0 0.5rem; color: var(--ink); }
.step-card p { font-size: 0.9375rem; line-height: 1.6; color: var(--text-muted); margin: 0; }
.step-connector {
  display: none;
  position: absolute; top: 1.25rem; left: 100%; width: 1.5rem; height: 2px;
  background: linear-gradient(90deg, var(--red), transparent);
}
@media (min-width: 768px) { .step-card:not(:last-child) .step-connector { display: block; } }

/* --- Services --- */
.section { border-top: 1px solid var(--border); padding: 4.5rem 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; }
.section h2 { font-family: var(--font-display); font-weight: 700; font-size: 1.875rem; letter-spacing: -0.02em; color: var(--ink); }
@media (min-width: 768px) { .section h2 { font-size: 2.375rem; } }
.count-tag { font-family: var(--font-mono); font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-faint); }

.services-grid { margin-top: 3rem; display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 1.25rem; overflow: hidden; }
@media (min-width: 768px) { .services-grid { grid-template-columns: 1fr 1fr; } }
.service-card { background: var(--bg-panel); transition: background 0.2s; }
.service-card:not(.has-image) { padding: 2.25rem; }
.service-card:hover { background: var(--bg-panel-hover); }
.service-card .num { font-family: var(--font-mono); font-size: 0.75rem; font-weight: 700; color: var(--red); }
.service-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.375rem; margin: 0.75rem 0 0.5rem; color: var(--ink); }
.service-card p { font-size: 0.9375rem; line-height: 1.65; color: var(--text-muted); margin: 0; font-weight: 500; }

/* Service cards with a photo */
.service-card.has-image { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.service-card-img { position: relative; width: 100%; aspect-ratio: 16/10; overflow: hidden; }
.service-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(0.85) contrast(1.05); transition: transform 0.4s ease, filter 0.3s ease; }
.service-card.has-image:hover .service-card-img img { transform: scale(1.06); filter: saturate(1) contrast(1.05); }
.service-card-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(21,21,22,0) 40%, var(--bg-panel) 100%);
}
.service-card-body { padding: 1.75rem 2.25rem 2.25rem; }

/* --- Gallery --- */
.gallery-grid { margin-top: 2.5rem; display: grid; grid-template-columns: repeat(2,1fr); gap: 0.875rem; }
@media (min-width: 768px) { .gallery-grid { grid-template-columns: repeat(3,1fr); } }
.gallery-item { border: 1px solid var(--border-strong); border-radius: 0.75rem; overflow: hidden; background: var(--bg-panel); }
.gallery-item iframe { width: 100% !important; }

/* --- CTA banner --- */
.cta-banner {
  position: relative; overflow: hidden;
  margin: 0 1.5rem; border-radius: 1.5rem;
  background: linear-gradient(135deg, rgba(232,54,45,0.16), rgba(21,21,22,1));
  border: 1px solid var(--border-strong);
  padding: 3rem 2rem;
  text-align: center;
}
.cta-banner h2 { font-family: var(--font-display); font-weight: 700; font-size: 2rem; color: var(--ink); margin: 0; }
@media (min-width: 768px) { .cta-banner h2 { font-size: 2.5rem; } }
.cta-banner p { color: var(--text-muted); margin: 0.75rem 0 1.75rem; font-size: 1.0625rem; }

/* --- Footer --- */
.footer { border-top: 1px solid var(--border); }
.footer-inner { display: flex; flex-direction: column; gap: 1.5rem; align-items: flex-start; justify-content: space-between; padding: 3.5rem 1.5rem; }
@media (min-width: 768px) { .footer-inner { flex-direction: row; align-items: center; } }
.footer-brand { display: flex; align-items: center; gap: 1.25rem; }
.footer-brand img { height: 4rem; width: auto; }
.footer-brand p { font-size: 0.8125rem; font-weight: 600; color: var(--text-faint); margin: 0; }

/* --- Forms (booking page) --- */
.form-page { max-width: 42rem; margin: 0 auto; padding: 4rem 1.5rem; }
.form-page h1 { font-family: var(--font-display); font-weight: 700; font-size: 2.375rem; letter-spacing: -0.02em; margin: 0.75rem 0; color: var(--ink); }
label.field { display: block; margin-bottom: 1.5rem; }
label.field .label-text { font-family: var(--font-mono); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); display: block; margin-bottom: 0.375rem; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=date], .field select, .field textarea {
  width: 100%; border: 1px solid var(--border-strong); background: var(--bg-panel); border-radius: 0.625rem;
  padding: 0.625rem 0.875rem; font-size: 0.9375rem; font-weight: 500; font-family: var(--font-body); color: var(--ink);
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-faint); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--red); outline: none; box-shadow: 0 0 0 3px rgba(232,54,45,0.15); }
.row-2 { display: grid; gap: 1rem; }
@media (min-width: 640px) { .row-2 { grid-template-columns: 1fr 1fr; } }
.checkbox-line { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.75rem; font-weight: 500; color: var(--text-muted); margin-bottom: 1.5rem; }
.service-options { display: grid; gap: 0.625rem; margin-top: 0.75rem; }
@media (min-width: 640px) { .service-options { grid-template-columns: 1fr 1fr; } }
.service-option { display: flex; gap: 0.5rem; align-items: flex-start; border: 1px solid var(--border-strong); background: var(--bg-panel); border-radius: 0.625rem; padding: 0.625rem 0.875rem; font-size: 0.875rem; cursor: pointer; transition: border-color 0.15s; }
.service-option:hover { border-color: rgba(255,255,255,0.3); }
.service-option.checked { border-color: var(--red); background: rgba(232,54,45,0.08); }
.service-option strong { display: block; font-weight: 700; color: var(--ink); }
.service-option small { display: block; font-weight: 500; color: var(--text-faint); font-size: 0.75rem; margin-top: 0.125rem; }
.error-text { color: var(--red); font-size: 0.875rem; font-weight: 600; }
.hint-text { font-size: 0.75rem; font-weight: 500; color: var(--text-faint); }
.photo-preview-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 0.5rem; margin-top: 0.75rem; }
.photo-preview-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 0.5rem; border: 1px solid var(--border-strong); }

/* --- Admin --- */
.admin-header { border-bottom: 1px solid var(--border); background: var(--bg-panel); }
.admin-nav { display: flex; gap: 0.25rem; overflow-x: auto; padding: 0 1.5rem 0.5rem; }
.admin-nav a { white-space: nowrap; border-radius: 999px; padding: 0.375rem 1rem; font-family: var(--font-mono); font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); }
.admin-nav a:hover, .admin-nav a.active { background: rgba(255,255,255,0.08); color: var(--ink); }
.admin-main { max-width: 1152px; margin: 0 auto; padding: 2.5rem 1.5rem; }
table.admin-table { width: 100%; border-collapse: collapse; background: var(--bg-panel); border: 1px solid var(--border-strong); border-radius: 0.75rem; overflow: hidden; font-size: 0.875rem; }
table.admin-table th { text-align: left; padding: 0.75rem 1rem; font-family: var(--font-mono); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-faint); border-bottom: 1px solid var(--border-strong); }
table.admin-table td { padding: 0.75rem 1rem; border-bottom: 1px solid var(--border); color: var(--ink); font-weight: 500; }
.badge { border-radius: 999px; padding: 0.125rem 0.5rem; font-size: 0.75rem; font-weight: 700; }
.badge-pending { background: rgba(255,255,255,0.08); color: var(--text-muted); }
.badge-confirmed { background: rgba(232,54,45,0.15); color: var(--red); }
.badge-completed { background: rgba(34,197,94,0.15); color: #4ade80; }
.badge-cancelled { background: rgba(255,255,255,0.05); color: var(--text-faint); text-decoration: line-through; }
.badge-paid { background: rgba(34,197,94,0.15); color: #4ade80; }
.badge-unpaid { background: rgba(255,255,255,0.08); color: var(--text-muted); }

/* --- Staff ping / today's run --- */
.status-strip { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; background: var(--bg-panel); border: 1px solid var(--border-strong); border-radius: 0.875rem; margin: 1.5rem 0 2rem; }
.status-left { display: flex; flex-direction: column; gap: 0.25rem; }
.status-dot { width: 0.5rem; height: 0.5rem; border-radius: 999px; background: var(--text-faint); display: inline-block; margin-right: 0.5rem; }
.status-dot.live { background: #4ade80; box-shadow: 0 0 8px rgba(74,222,128,0.6); }
.status-dot.off { background: var(--red); }
.empty-state { text-align: center; padding: 2.5rem 1.5rem; color: var(--text-faint); font-size: 0.9375rem; border: 1px dashed var(--border-strong); border-radius: 1rem; }
.job-list { display: flex; flex-direction: column; gap: 0.875rem; }
.job-card { border: 1px solid var(--border-strong); background: var(--bg-panel); border-radius: 1rem; padding: 1.125rem 1.25rem; }
.job-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.75rem; }
.job-card h3 { font-family: var(--font-display); font-size: 1.0625rem; font-weight: 700; margin: 0; color: var(--ink); }
.job-card .job-addr { font-size: 0.8125rem; color: var(--text-muted); margin: 0.25rem 0 0; }
.job-services { display: flex; flex-wrap: wrap; gap: 0.375rem; margin-top: 0.75rem; }
.service-tag { font-family: var(--font-mono); font-size: 0.6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; background: rgba(255,255,255,0.06); color: var(--text-muted); border-radius: 999px; padding: 0.25rem 0.625rem; }
.job-eta { font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-faint); margin-top: 0.5rem; }
