/* Design tokens pulled directly from cleancompanydetailing.com:
   Oswald for headings, Inter for body, near-black background, lime accent,
   pill-shaped buttons/tags, dark bordered cards. Keep this file in sync if
   the main site's palette ever changes. */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg-primary: #08090A;
  --bg-panel: #131416;
  --bg-panel-raised: #1a1c1f;
  --brand-lime: #CBE72E;
  --brand-lime-deep: #A9C420;
  --brand-amber: #F2B807;
  --brand-red: #E23B3B;
  --text-primary: #F5F6F4;
  --text-muted: #A2A6AC;
  --border-thin: #2A2C30;
  --font-display: 'Oswald', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius: 14px;
  --max-width: 640px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}
body { min-height: 100vh; padding-bottom: 40px; }

a { color: var(--brand-lime); text-decoration: none; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin: 0 0 6px;
}

input, textarea {
  font-family: var(--font-body);
  background: var(--bg-panel-raised);
  border: 1px solid var(--border-thin);
  color: var(--text-primary);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 0.95rem;
  width: 100%;
}
input:focus, textarea:focus { outline: none; border-color: var(--brand-lime); }
input[type="checkbox"], input[type="radio"] { accent-color: var(--brand-lime); width: auto; }
label { display: flex; flex-direction: column; gap: 6px; font-size: 0.8rem; color: var(--text-muted); margin-bottom: 12px; }

.wrap { max-width: var(--max-width); margin: 0 auto; padding: 0 16px; }
.muted { color: var(--text-muted); }
.small { font-size: 0.82rem; }

.site-header {
  border-bottom: 1px solid var(--border-thin);
  background: rgba(8, 9, 10, 0.9);
  backdrop-filter: blur(6px);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 10;
}
.header-inner { max-width: var(--max-width); margin: 0 auto; padding: 0 16px; display: flex; align-items: center; gap: 10px; }
.header-inner img { height: 32px; width: auto; }
.header-inner .tagline { font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; }

main { padding: 20px 0 60px; }

.panel { border: 1px solid var(--border-thin); border-radius: var(--radius); background: var(--bg-panel); padding: 18px; margin-bottom: 14px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 13px 20px; border-radius: 999px; font-family: var(--font-body);
  font-weight: 600; font-size: 0.9rem;
  border: 1px solid var(--border-thin); cursor: pointer; background: transparent; color: var(--text-primary);
}
.btn-primary { background: var(--brand-lime); border-color: var(--brand-lime); color: #0A0A0A; }
.btn-primary:hover { background: var(--brand-lime-deep); border-color: var(--brand-lime-deep); }
.btn-primary:disabled { opacity: 0.4; cursor: not-allowed; }
.btn-outline { background: transparent; }
.btn-outline:hover { background: rgba(255, 255, 255, 0.06); }
.btn-outline:disabled { opacity: 0.3; cursor: not-allowed; }
.btn-large { width: 100%; padding: 16px; }

.badge {
  display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 999px;
  font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  border: 1px solid var(--border-thin); margin-top: 8px;
}
.badge-amber { border-color: var(--brand-amber); color: var(--brand-amber); }
.badge-green { background: var(--brand-lime); border-color: var(--brand-lime); color: #0A0A0A; }

/* ---------- Progress ---------- */
.progress-bar { display: flex; gap: 6px; margin-bottom: 6px; }
.progress-dot { flex: 1; height: 4px; border-radius: 2px; background: var(--bg-panel-raised); }
.progress-dot.complete { background: var(--brand-lime-deep); }
.progress-dot.active { background: var(--brand-lime); }
.progress-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); margin-bottom: 18px; }

/* ---------- Summary bar ---------- */
.summary-bar {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--bg-panel-raised); border: 1px solid var(--border-thin);
  border-radius: 10px; padding: 10px 14px; margin-bottom: 18px; font-size: 0.85rem;
}
.summary-total { font-family: var(--font-display); font-weight: 700; color: var(--brand-lime); }

/* ---------- Option cards (package / vehicle / tech) ---------- */
.step-subhead { margin-top: 26px; }
.option-grid { display: flex; flex-direction: column; gap: 10px; margin-bottom: 4px; }
.option-card {
  text-align: left; padding: 16px; border-radius: var(--radius); border: 1px solid var(--border-thin);
  background: var(--bg-panel); color: var(--text-primary); cursor: pointer;
}
.option-card h4 { font-size: 1rem; }
.option-card.active { border-color: var(--brand-lime); box-shadow: 0 0 0 1px var(--brand-lime); }

.category-card { padding: 8px; }
.category-photos { display: flex; gap: 6px; margin-bottom: 10px; justify-content: center; }
.category-photos img {
  height: 200px;
  width: auto;
  max-width: 100%;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}
.category-card h4 { padding: 0 4px; font-size: 0.92rem; text-align: center; }

/* Side by side on wider screens, stacked on mobile. Full Detail gets a
   wider column so its two portrait photos land at the same height as
   the single photo on the other two cards, instead of shrinking to fit. */
@media (min-width: 640px) {
  .category-grid { display: grid; grid-template-columns: 1fr 1fr 2fr; gap: 10px; }
  .category-photos img { height: 130px; }
}
.price-hint { color: var(--brand-lime); font-weight: 700; font-family: var(--font-display); margin: 4px 0 0; }

/* ---------- Add-ons ---------- */
.addon-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0; border-bottom: 1px solid var(--border-thin); font-size: 0.92rem;
}
.addon-row:last-child { border-bottom: none; }
.addon-row input { width: auto; margin-right: 10px; }
.addon-price { color: var(--brand-lime); font-weight: 700; }

/* ---------- Date / time ---------- */
.cal-panel { border: 1px solid var(--border-thin); border-radius: var(--radius); background: var(--bg-panel); padding: 14px; margin-bottom: 14px; }
.cal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal-month-label { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; font-size: 0.95rem; }
.cal-nav {
  width: 32px; height: 32px; flex-shrink: 0; border-radius: 50%; border: 1px solid var(--border-thin);
  background: var(--bg-panel-raised); color: var(--text-primary); cursor: pointer;
  font-size: 1.1rem; line-height: 1; display: flex; align-items: center; justify-content: center;
}
.cal-nav:disabled { opacity: 0.25; cursor: not-allowed; }
.cal-weekdays { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; margin-bottom: 4px; }
.cal-weekdays span { font-size: 0.68rem; color: var(--text-muted); text-transform: uppercase; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-day {
  position: relative; aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  border-radius: 10px; border: 1px solid transparent; background: transparent; color: var(--text-primary);
  font-family: var(--font-body); font-size: 0.85rem; cursor: default; padding: 0;
}
.cal-day-empty { visibility: hidden; }
.cal-day.disabled { color: var(--text-muted); opacity: 0.35; }
.cal-day.has-slots { background: var(--bg-panel-raised); border-color: var(--border-thin); cursor: pointer; font-weight: 600; }
.cal-day.has-slots:hover { border-color: var(--brand-lime); }
.cal-day.active { background: var(--brand-lime); border-color: var(--brand-lime); color: #0A0A0A; }
.cal-day-dot { position: absolute; bottom: 5px; width: 4px; height: 4px; border-radius: 50%; background: var(--brand-lime); }
.cal-day.active .cal-day-dot { background: #0A0A0A; }
.cal-legend { display: flex; align-items: center; gap: 6px; margin: 12px 0 0; }
.cal-legend-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-lime); }
.cal-slots-heading { margin-top: 4px; font-size: 0.85rem; }

.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 8px; }
.slot-btn {
  padding: 10px; border-radius: 999px; border: 1px solid var(--border-thin);
  background: var(--bg-panel); color: var(--text-primary); cursor: pointer; font-size: 0.85rem;
}
.slot-btn.active { background: var(--brand-lime); border-color: var(--brand-lime); color: #0A0A0A; font-weight: 600; }

/* ---------- Forms / review ---------- */
.form-grid { display: flex; flex-direction: column; }
.consent-row {
  flex-direction: row; align-items: flex-start; gap: 10px;
  font-size: 0.82rem; color: var(--text-muted); line-height: 1.5; margin-top: 4px;
}
.consent-row input { width: auto; margin-top: 3px; flex-shrink: 0; }
.consent-row a { color: var(--text-primary); text-decoration: underline; }
.job-row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: 0.9rem; }
.day-detail-total {
  margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--border-thin);
  display: flex; justify-content: space-between; font-weight: 700; font-family: var(--font-display);
}

/* ---------- Wizard nav ---------- */
.wizard-nav { display: flex; gap: 10px; margin-top: 20px; }
.wizard-nav .btn { flex: 1; }

/* ---------- Done ---------- */
.done-panel { text-align: center; padding: 32px 20px; }
.done-check {
  width: 56px; height: 56px; border-radius: 50%; background: var(--brand-lime); color: #0A0A0A;
  font-size: 1.6rem; font-weight: 700; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.done-panel .btn { margin-top: 18px; }

/* ---------- Toast ---------- */
#toast {
  position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--bg-panel-raised); border: 1px solid var(--brand-red); color: var(--text-primary);
  padding: 12px 18px; border-radius: 10px; font-size: 0.85rem; max-width: 90vw; text-align: center;
  opacity: 0; pointer-events: none; transition: opacity 0.2s ease, transform 0.2s ease; z-index: 100;
}
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- Footer / price disclaimer ---------- */
.site-footer { padding: 20px 16px 40px; border-top: 1px solid var(--border-thin); margin-top: 20px; }
.site-footer p { text-align: center; line-height: 1.5; margin: 0; }
.disclaimer { text-align: center; margin-top: 14px; line-height: 1.5; }
