/* =============================================
   APEXXON AUTO DETAILING — Design System
   ============================================= */

:root {
  /* Brand Colours */
  --c-bg:        #e8edf4;
  --c-bg-2:      #dde3ec;
  --c-bg-3:      #d3dae5;
  --c-bg-card:   #f0f4f8;
  --c-silver:    #5a6a7e;
  --c-silver-lt: #374151;
  --c-blue:      #1e90ff;
  --c-blue-dk:   #0d5fb5;
  --c-blue-glow: rgba(30, 144, 255, 0.12);
  --c-text:      #0f1923;
  --c-text-2:    #5a6a7e;
  --c-border:    #dde3ec;
  --c-accent:    #1e90ff;
  --c-success:   #22c55e;
  --c-warning:   #f59e0b;
  --c-danger:    #ef4444;
  --c-purple:    #8b5cf6;

  /* Typography */
  --f-head: 'Rajdhani', 'Oswald', sans-serif;
  --f-body: 'Inter', 'Segoe UI', sans-serif;

  /* Spacing */
  --sp-xs: 0.5rem;
  --sp-sm: 1rem;
  --sp-md: 1.5rem;
  --sp-lg: 2.5rem;
  --sp-xl: 4rem;

  /* Layout */
  --max-w: 1200px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-blue: 0 0 24px rgba(30, 144, 255, 0.18);
  --shadow-card: 0 2px 16px rgba(0, 0, 0, 0.08);
  --shadow-sm:   0 1px 6px rgba(0, 0, 0, 0.06);
}

/* ── Reset ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--f-body);
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--c-blue); text-decoration: none; }
a:hover { color: var(--c-silver-lt); }
ul { list-style: none; }
button, input, select, textarea { font-family: inherit; }

/* ── Typography ─────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--f-head);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: var(--c-text);
}
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.8rem); }
h4 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); }
p { color: var(--c-text-2); }

/* ── Layout Helpers ─────────────────────────── */
.container {
  width: min(var(--max-w), 100%);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

/* Prevent horizontal overflow on all viewports */
html, body { overflow-x: hidden; max-width: 100%; }

/* Responsive two-column grids */
.col-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.col-sidebar {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 2rem;
  align-items: start;
}
@media (max-width: 768px) {
  .col-2      { grid-template-columns: 1fr; gap: 2rem; }
  .col-sidebar { grid-template-columns: 1fr; }
}
.section {
  padding-block: clamp(3rem, 8vw, 6rem);
}
.section-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-blue);
  margin-bottom: 0.75rem;
}
.section-title {
  margin-bottom: var(--sp-sm);
}
.section-sub {
  font-size: 1.05rem;
  color: var(--c-text-2);
  max-width: 560px;
  margin-bottom: var(--sp-lg);
}
.text-center { text-align: center; }
.text-center .section-sub { margin-inline: auto; }

/* ── Buttons ────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: none;
  transition: all 0.22s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--c-blue) 0%, var(--c-blue-dk) 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(30, 144, 255, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(30, 144, 255, 0.5);
  color: #fff;
}
.btn-outline {
  background: transparent;
  color: var(--c-silver-lt);
  border: 1.5px solid var(--c-border);
}
.btn-outline:hover {
  border-color: var(--c-blue);
  color: var(--c-blue);
  background: var(--c-blue-glow);
}
.btn-ghost {
  background: transparent;
  color: var(--c-blue);
  padding-inline: 0;
  text-decoration: underline;
}
.btn-sm { padding: 0.5rem 1.2rem; font-size: 0.85rem; }
.btn-lg { padding: 1rem 2.5rem; font-size: 1.05rem; }

/* ── Cards ──────────────────────────────────── */
.card {
  background: var(--c-bg-card);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-md);
  box-shadow: var(--shadow-card);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.card:hover {
  border-color: rgba(30, 144, 255, 0.3);
  box-shadow: var(--shadow-blue);
}

/* ── Badges / Pills ─────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.badge-blue    { background: rgba(30, 144, 255, 0.15); color: var(--c-blue); border: 1px solid rgba(30,144,255,0.25); }
.badge-green   { background: rgba(34, 197, 94, 0.15);  color: var(--c-success); border: 1px solid rgba(34,197,94,0.25); }
.badge-yellow  { background: rgba(245, 158, 11, 0.15); color: var(--c-warning); border: 1px solid rgba(245,158,11,0.25); }
.badge-red     { background: rgba(239, 68, 68, 0.15);  color: var(--c-danger); border: 1px solid rgba(239,68,68,0.25); }
.badge-silver  { background: rgba(184, 196, 212, 0.1); color: var(--c-silver); border: 1px solid rgba(184,196,212,0.2); }
.badge-purple  { background: rgba(139, 92, 246, 0.15); color: var(--c-purple); border: 1px solid rgba(139,92,246,0.25); }

/* ── Forms ──────────────────────────────────── */
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--c-silver);
  letter-spacing: 0.03em;
}
.form-control {
  background: var(--c-bg-2);
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius);
  color: var(--c-text);
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}
.form-control:focus {
  outline: none;
  border-color: var(--c-blue);
  box-shadow: 0 0 0 3px var(--c-blue-glow);
}
.form-control::placeholder { color: var(--c-text-2); opacity: 0.6; }
select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 100px; }
.form-hint { font-size: 0.8rem; color: var(--c-text-2); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

/* ── Nav ────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(232, 237, 244, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-logo { display: flex; align-items: center; gap: 0.75rem; }
.nav-logo img { height: 64px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
}
.nav-links a {
  color: var(--c-text-2);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--c-text); }
.nav-cta { margin-left: var(--sp-sm); }
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--c-text);
  border-radius: 2px;
  transition: all 0.3s;
}
@media (max-width: 768px) {
  .nav-hamburger { display: flex; }
  .nav-links {
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: var(--c-bg-2);
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--c-border);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    padding: 1rem 0;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .nav-links a {
    padding: 0.85rem 2rem;
    width: 100%;
    font-size: 1rem;
  }
  .nav-cta { display: none; }
}

/* ── Hero ────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 68px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(30, 144, 255, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(30, 144, 255, 0.05) 0%, transparent 60%),
    linear-gradient(180deg, var(--c-bg) 0%, var(--c-bg-2) 100%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(30, 144, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 144, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(to bottom, transparent, black 30%, black 70%, transparent);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--c-blue-glow);
  border: 1px solid rgba(30, 144, 255, 0.3);
  border-radius: var(--radius-pill);
  padding: 0.35rem 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-blue);
  margin-bottom: 1.5rem;
}
.hero-title { margin-bottom: 1.25rem; }
.hero-title span { color: var(--c-blue); }
.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--c-text-2);
  margin-bottom: 2.5rem;
  max-width: 520px;
}
.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3.5rem;
  flex-wrap: wrap;
}
.hero-stat-num {
  font-family: var(--f-head);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  color: var(--c-text);
  line-height: 1;
}
.hero-stat-label { font-size: 0.8rem; color: var(--c-text-2); margin-top: 0.25rem; }

/* ── Blue line divider ──────────────────────── */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-blue), transparent);
  opacity: 0.4;
  border: none;
  margin: 0;
}

/* ── Service Cards ──────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.5rem;
  max-width: 960px;
  margin: 0 auto;
}
.service-card {
  background: var(--c-bg-card);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.service-card-header {
  padding: var(--sp-md);
  border-bottom: 1px solid var(--c-border);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
.service-icon {
  width: 48px; height: 48px;
  background: var(--c-blue-glow);
  border: 1px solid rgba(30, 144, 255, 0.2);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  transition: box-shadow 0.3s;
}
.service-name { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.25rem; line-height: 1.3; }
.service-desc { font-size: 0.83rem; color: var(--c-text-2); line-height: 1.5; }
.service-includes {
  margin: 0;
  padding: var(--sp-sm) var(--sp-md);
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
  border-bottom: 1px solid var(--c-border);
  flex: 1;
}
.service-includes li {
  font-size: 0.82rem;
  color: var(--c-text-2);
  padding-left: 1.2rem;
  position: relative;
}
.service-includes li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--c-blue);
  font-weight: 700;
}
.service-pricing {
  padding: var(--sp-sm) var(--sp-md);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
}
.price-label { color: var(--c-text-2); }
.price-val { font-weight: 700; color: var(--c-text); }
.service-cta {
  padding: var(--sp-sm) var(--sp-md);
  border-top: 1px solid var(--c-border);
  margin-top: auto;
}
.service-cta .btn { width: 100%; justify-content: center; }

/* ── Tier 1: Standard ───────────────────────── */
.service-card--standard:hover {
  border-color: rgba(30, 144, 255, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.10);
}

/* ── Tier 2: Full Detail ─────────────────────── */
.service-card--full {
  border-color: rgba(30, 144, 255, 0.4);
  box-shadow: 0 0 18px rgba(30, 144, 255, 0.08), 0 4px 20px rgba(0,0,0,0.07);
}
.service-card--full .service-card-header {
  background: linear-gradient(135deg, rgba(30,144,255,0.07) 0%, transparent 70%);
}
.service-card--full .service-icon {
  background: rgba(30, 144, 255, 0.15);
  border-color: rgba(30, 144, 255, 0.45);
  box-shadow: 0 0 12px rgba(30, 144, 255, 0.2);
}
.service-card--full:hover {
  border-color: rgba(30, 144, 255, 0.7);
  transform: translateY(-6px);
  box-shadow: 0 0 40px rgba(30, 144, 255, 0.18), 0 10px 36px rgba(0,0,0,0.10);
}

/* ── Tier 3: Premium ─────────────────────────── */
.service-card--premium {
  border: 2px solid rgba(255, 215, 0, 0.55);
  box-shadow:
    0 0 0 1px rgba(255, 215, 0, 0.08),
    0 0 32px rgba(255, 215, 0, 0.12),
    0 4px 28px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}
.service-card--premium::after {
  content: '';
  position: absolute;
  top: 0; left: -75%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.07), transparent);
  animation: gold-sweep 4s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
.service-card--premium > * { position: relative; z-index: 1; }
.service-card--premium .service-card-header {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.08) 0%, transparent 70%);
}
.service-card--premium .service-icon {
  background: rgba(255, 215, 0, 0.1);
  border-color: rgba(255, 215, 0, 0.45);
  box-shadow: 0 0 16px rgba(255, 215, 0, 0.2);
}
.service-card--premium .service-includes li::before {
  color: #ffd700;
}
.service-card--premium .price-val {
  color: #ffd700;
}
.service-card--premium:hover {
  border-color: rgba(255, 215, 0, 0.85);
  box-shadow:
    0 0 0 1px rgba(255, 215, 0, 0.15),
    0 0 60px rgba(255, 215, 0, 0.22),
    0 14px 44px rgba(0, 0, 0, 0.10);
  transform: translateY(-8px);
}

@keyframes gold-sweep {
  0%   { left: -75%; }
  100% { left: 150%; }
}

/* Gold button for Premium CTA */
.btn-gold {
  background: linear-gradient(135deg, #c8860a, #ffd700);
  color: #0a0700;
  font-weight: 700;
  border: none;
}
.btn-gold:hover {
  background: linear-gradient(135deg, #ffd700, #ffe566);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.35);
  transform: translateY(-2px);
}

/* Gold badge */
.badge-gold {
  background: rgba(255, 215, 0, 0.15);
  color: #ffd700;
  border: 1px solid rgba(255, 215, 0, 0.4);
  padding: 0.15em 0.55em;
  border-radius: var(--radius-pill);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

/* ── Addon Grid ─────────────────────────────── */
.addons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}
.addon-card {
  background: var(--c-bg-2);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: border-color 0.2s;
}
.addon-card:hover { border-color: var(--c-blue); }
.addon-name { font-size: 0.9rem; font-weight: 600; }
.addon-price { font-size: 0.9rem; font-weight: 700; color: var(--c-blue); white-space: nowrap; }

/* ── Steps / Process ────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  counter-reset: step;
}
.step {
  text-align: center;
  position: relative;
}
.step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--c-blue-glow);
  border: 2px solid rgba(30, 144, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-head);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--c-blue);
  margin: 0 auto 1rem;
}
.step-title { font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; }
.step-desc { font-size: 0.85rem; color: var(--c-text-2); }

/* ── Gallery ────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}
.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--c-bg-3);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-tag {
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  background: var(--c-blue);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
}

/* ── Before/After ────────────────────────────── */
.before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--c-border);
}
.ba-panel { position: relative; aspect-ratio: 16/10; background: var(--c-bg-3); }
.ba-panel img { width: 100%; height: 100%; object-fit: cover; }
.ba-label {
  position: absolute;
  top: 0.75rem; left: 0.75rem;
  background: rgba(0,0,0,0.7);
  border-radius: var(--radius-pill);
  padding: 0.2rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ba-label.before { color: var(--c-danger); }
.ba-label.after  { color: var(--c-success); }

/* ── Testimonials ─────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.testimonial-card {
  background: var(--c-bg-card);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
.stars { color: #f59e0b; font-size: 1.1rem; margin-bottom: 0.75rem; }
.testimonial-text { font-size: 0.95rem; color: var(--c-text-2); font-style: italic; margin-bottom: 1rem; }
.testimonial-author { font-weight: 700; font-size: 0.9rem; }
.testimonial-vehicle { font-size: 0.8rem; color: var(--c-text-2); }

/* ── CTA Banner ─────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--c-bg-2), var(--c-bg-3));
  border: 1px solid rgba(30, 144, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 4rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 120%, rgba(30, 144, 255, 0.15), transparent);
}
.cta-banner > * { position: relative; z-index: 1; }

/* ── Footer ─────────────────────────────────── */
.footer {
  background: var(--c-bg-2);
  border-top: 1px solid var(--c-border);
  padding-block: var(--sp-xl) var(--sp-lg);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: var(--sp-lg);
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-logo img { height: 68px; margin-bottom: 1rem; }
.footer-desc { font-size: 0.88rem; color: var(--c-text-2); max-width: 260px; }
.footer-col-title {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-silver);
  margin-bottom: 1rem;
}
.footer-links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a { font-size: 0.88rem; color: var(--c-text-2); transition: color 0.2s; }
.footer-links a:hover { color: var(--c-blue); }
.footer-bottom {
  border-top: 1px solid var(--c-border);
  padding-top: var(--sp-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-copy { font-size: 0.82rem; color: var(--c-text-2); }
.footer-badge {
  font-size: 0.78rem;
  color: var(--c-text-2);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* ── Booking Form ────────────────────────────── */
.booking-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2rem;
  align-items: start;
}
@media (max-width: 900px) { .booking-layout { grid-template-columns: 1fr; } }

.booking-steps-nav {
  display: flex;
  gap: 0;
  margin-bottom: 2rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--c-border);
}
.booking-step-tab {
  flex: 1;
  padding: 0.75rem 0.5rem;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--c-text-2);
  background: var(--c-bg-2);
  border: none;
  border-right: 1px solid var(--c-border);
  cursor: default;
  transition: all 0.2s;
}
.booking-step-tab:last-child { border-right: none; }
.booking-step-tab.active { background: var(--c-blue); color: #fff; }
.booking-step-tab.done { background: var(--c-bg-3); color: var(--c-success); }

.booking-pane { display: none; }
.booking-pane.active { display: flex; flex-direction: column; gap: 1.25rem; }

.booking-summary {
  background: var(--c-bg-card);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: sticky;
  top: 88px;
}
.booking-summary-header {
  background: var(--c-bg-3);
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--c-border);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--c-silver);
}
.booking-summary-body { padding: 1.25rem; display: flex; flex-direction: column; gap: 0.75rem; }
.summary-row { display: flex; justify-content: space-between; font-size: 0.9rem; }
.summary-label { color: var(--c-text-2); }
.summary-val { font-weight: 600; }
.summary-divider { height: 1px; background: var(--c-border); }
.summary-total .summary-label { font-weight: 700; color: var(--c-text); }
.summary-total .summary-val { font-size: 1.2rem; color: var(--c-blue); font-weight: 800; }

/* Vehicle type selector */
.vehicle-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
.vehicle-opt {
  background: var(--c-bg-2);
  border: 2px solid var(--c-border);
  border-radius: var(--radius);
  padding: 1rem 0.75rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}
.vehicle-opt:hover { border-color: var(--c-blue); }
.vehicle-opt.selected { border-color: var(--c-blue); background: var(--c-blue-glow); }
.vehicle-opt input[type="radio"] { display: none; }
.vehicle-emoji { font-size: 1.8rem; margin-bottom: 0.3rem; }
.vehicle-name { font-size: 0.82rem; font-weight: 700; }

/* Service selector cards */
.service-selector { display: flex; flex-direction: column; gap: 0.75rem; }
.service-opt {
  background: var(--c-bg-2);
  border: 2px solid var(--c-border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: all 0.2s;
}
.service-opt:hover { border-color: var(--c-blue); }
.service-opt.selected { border-color: var(--c-blue); background: var(--c-blue-glow); }
.service-opt input[type="radio"] { display: none; }
.service-opt-name { font-weight: 700; font-size: 0.95rem; }
.service-opt-desc { font-size: 0.82rem; color: var(--c-text-2); }
.service-opt-price { font-weight: 800; color: var(--c-blue); font-size: 1.05rem; white-space: nowrap; }

/* Addon checkboxes */
.addon-selector { display: flex; flex-direction: column; gap: 0.6rem; }
.addon-opt {
  background: var(--c-bg-2);
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.2s;
}
.addon-opt:hover { border-color: var(--c-blue); }
.addon-opt.selected { border-color: var(--c-blue); background: var(--c-blue-glow); }
.addon-opt input[type="checkbox"] { accent-color: var(--c-blue); width: 16px; height: 16px; }
.addon-opt-name { font-size: 0.9rem; font-weight: 600; flex: 1; }
.addon-opt-price { font-size: 0.9rem; font-weight: 700; color: var(--c-blue); }

/* ── Status Tracker ─────────────────────────── */
.status-tracker { display: flex; align-items: flex-start; gap: 0; }
.status-step {
  flex: 1;
  text-align: center;
  position: relative;
}
.status-step::before {
  content: '';
  position: absolute;
  top: 16px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: var(--c-border);
}
.status-step:last-child::before { display: none; }
.status-step.done::before { background: var(--c-blue); }
.status-dot {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2px solid var(--c-border);
  background: var(--c-bg-2);
  margin: 0 auto 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  position: relative;
  z-index: 1;
  transition: all 0.3s;
}
.status-step.done .status-dot { background: var(--c-blue); border-color: var(--c-blue); color: #fff; }
.status-step.active .status-dot { border-color: var(--c-blue); color: var(--c-blue); box-shadow: 0 0 0 4px var(--c-blue-glow); }
.status-step-label { font-size: 0.72rem; color: var(--c-text-2); font-weight: 600; }
.status-step.active .status-step-label, .status-step.done .status-step-label { color: var(--c-text); }

/* ── Admin Dashboard ─────────────────────────── */
.admin-layout {
  display: block;
  min-height: 100vh;
}

.admin-sidebar {
  background: var(--c-bg-2);
  border-right: 1px solid var(--c-border);
  padding: 1.5rem;
  position: fixed;
  left: 0; top: 0; bottom: 0;
  width: 240px;
  overflow-y: auto;
  z-index: 10;
}
@media (max-width: 768px) { .admin-sidebar { display: none; } }

.admin-content {
  margin-left: 240px;
  padding: 2rem;
  min-height: 100vh;
}
@media (max-width: 768px) { .admin-content { margin-left: 0; padding: 1rem; } }

.sidebar-logo { margin-bottom: 2rem; }
.sidebar-logo img { height: 56px; }
.sidebar-nav { display: flex; flex-direction: column; gap: 0.25rem; }
.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1rem;
  border-radius: var(--radius);
  color: var(--c-text-2);
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.2s;
}
.sidebar-nav a:hover { background: var(--c-bg-3); color: var(--c-text); }
.sidebar-nav a.active { background: var(--c-blue-glow); color: var(--c-blue); border: 1px solid rgba(30,144,255,0.2); }
.sidebar-section-title {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-text-2);
  padding: 1rem 1rem 0.4rem;
}

/* Admin Stats */
.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}
.stat-card {
  background: var(--c-bg-card);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.stat-label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-text-2); margin-bottom: 0.5rem; }
.stat-num { font-family: var(--f-head); font-size: 2rem; font-weight: 800; color: var(--c-text); line-height: 1; }
.stat-sub { font-size: 0.78rem; color: var(--c-text-2); margin-top: 0.25rem; }

/* Jobs Table */
.jobs-table-wrap { overflow-x: auto; }
.jobs-table { width: 100%; border-collapse: collapse; }
.jobs-table th {
  text-align: left;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-text-2);
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--c-border);
  white-space: nowrap;
}
.jobs-table td {
  padding: 1rem;
  font-size: 0.88rem;
  border-bottom: 1px solid rgba(221, 227, 236, 0.8);
  vertical-align: middle;
}
.jobs-table tr:hover td { background: var(--c-bg-2); }
.job-name { font-weight: 700; }
.job-vehicle { font-size: 0.82rem; color: var(--c-text-2); }

/* ── Intake Form ─────────────────────────────── */
.damage-map-wrap {
  background: var(--c-bg-2);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
.damage-map-title { font-size: 0.9rem; font-weight: 700; margin-bottom: 1rem; color: var(--c-silver); }
.damage-map-svg { width: 100%; max-width: 500px; margin: 0 auto; display: block; }
.damage-zone {
  cursor: pointer;
  transition: fill 0.2s;
}
.damage-zone:hover { fill: rgba(245, 158, 11, 0.15); }
.damage-zone.marked { fill: rgba(239, 68, 68, 0.25); }
.damage-zone.marked rect, .damage-zone.marked ellipse { stroke: var(--c-danger); }
.damage-legend {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}
.damage-legend-item { display: flex; align-items: center; gap: 0.4rem; font-size: 0.8rem; color: var(--c-text-2); }
.legend-dot { width: 10px; height: 10px; border-radius: 50%; }
.legend-dot.ok     { background: var(--c-border); }
.legend-dot.damage { background: var(--c-danger); }

.photo-upload-zone {
  border: 2px dashed var(--c-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.photo-upload-zone:hover { border-color: var(--c-blue); background: var(--c-blue-glow); }
.photo-upload-icon { font-size: 2.5rem; margin-bottom: 0.75rem; }
.photo-upload-text { font-size: 0.9rem; color: var(--c-text-2); }
.photo-upload-text strong { color: var(--c-blue); }
.photo-previews {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}
.photo-preview-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--c-border);
}
.photo-preview-item img { width: 100%; height: 100%; object-fit: cover; }
.photo-preview-remove {
  position: absolute;
  top: 4px; right: 4px;
  background: rgba(0,0,0,0.7);
  border: none;
  border-radius: 50%;
  color: #fff;
  width: 22px; height: 22px;
  cursor: pointer;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Portal ──────────────────────────────────── */
.portal-login {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.portal-login-card {
  background: var(--c-bg-card);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-card);
}
.portal-logo { text-align: center; margin-bottom: 2rem; }
.portal-logo img { height: 88px; margin: 0 auto 1rem; }
.portal-title { font-size: 1.4rem; text-align: center; margin-bottom: 0.5rem; }
.portal-sub { font-size: 0.88rem; text-align: center; color: var(--c-text-2); margin-bottom: 2rem; }

/* ── Alerts / Toast ─────────────────────────── */
.alert {
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}
.alert-success { background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.25); color: var(--c-success); }
.alert-warning { background: rgba(245,158,11,0.1); border: 1px solid rgba(245,158,11,0.25); color: var(--c-warning); }
.alert-danger  { background: rgba(239,68,68,0.1);  border: 1px solid rgba(239,68,68,0.25);  color: var(--c-danger); }
.alert-info    { background: var(--c-blue-glow); border: 1px solid rgba(30,144,255,0.25); color: var(--c-blue); }

.toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.toast {
  background: var(--c-bg-card);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 0.85rem 1.25rem;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: var(--shadow-card);
  animation: slideIn 0.3s ease;
  max-width: 340px;
}
.toast.success { border-color: rgba(34,197,94,0.4); }
.toast.error   { border-color: rgba(239,68,68,0.4); }

@keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes fadeUp  { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* ── Utilities ──────────────────────────────── */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.w-full { width: 100%; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ── Scroll animations ──────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Page header (inner pages) ──────────────── */
.page-header {
  padding-top: calc(68px + 3rem);
  padding-bottom: 3rem;
  background: linear-gradient(180deg, var(--c-bg-2) 0%, var(--c-bg) 100%);
  border-bottom: 1px solid var(--c-border);
}

/* ── Schedule Admin ──────────────────────────── */
.schedule-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 1.5rem;
  align-items: start;
}
@media (max-width: 960px) { .schedule-layout { grid-template-columns: 1fr; } }

.cal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.cal-month-title { font-family: var(--f-head); font-size: 1.15rem; font-weight: 700; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.cal-dow { font-size: 0.68rem; font-weight: 700; text-align: center; color: var(--c-text-2); padding: 0.35rem 0; letter-spacing: 0.06em; text-transform: uppercase; }
.cal-cell { min-height: 64px; background: var(--c-bg-2); border: 1px solid var(--c-border); border-radius: var(--radius); padding: 0.35rem 0.45rem; cursor: pointer; transition: border-color 0.15s; }
.cal-cell:hover:not(.cal-empty):not(.cal-closed) { border-color: var(--c-blue); }
.cal-empty { background: transparent; border-color: transparent; cursor: default; }
.cal-today { border-color: var(--c-blue) !important; }
.cal-selected { box-shadow: 0 0 0 2px var(--c-blue); }
.cal-closed { opacity: 0.3; cursor: default; }
.cal-blockout { background: rgba(239,68,68,0.07); border-color: rgba(239,68,68,0.35) !important; }
.cal-full { background: rgba(239,68,68,0.07); border-color: rgba(239,68,68,0.35) !important; }
.cal-warn { border-color: rgba(245,158,11,0.5) !important; }
.cal-date { font-size: 0.76rem; font-weight: 700; color: var(--c-text-2); }
.cal-today .cal-date { color: var(--c-blue); }
.cal-badge { display: inline-flex; align-items: center; border-radius: var(--radius-pill); font-size: 0.62rem; font-weight: 800; padding: 0.1rem 0.35rem; margin-top: 0.2rem; letter-spacing: 0.02em; }
.cal-badge-ok { background: rgba(34,197,94,0.15); color: var(--c-success); }
.cal-badge-warn { background: rgba(245,158,11,0.15); color: var(--c-warning); }
.cal-badge-full { background: rgba(239,68,68,0.15); color: var(--c-danger); }
.cal-tag { font-size: 0.58rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; display: block; margin-top: 0.15rem; color: var(--c-danger); }
.cal-legend { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 0.75rem; font-size: 0.75rem; color: var(--c-text-2); }
.cal-legend-item { display: flex; align-items: center; gap: 0.35rem; }
.cal-legend-dot { width: 10px; height: 10px; border-radius: 3px; border: 1px solid; }
/* ── Booking Calendar ───────────────────────── */
.bk-cal .cal-cell { min-height: 44px; padding: 0.3rem 0.4rem; }
.bk-cal .cal-date { font-size: 0.82rem; font-weight: 700; }
.bk-cal .cal-tag  { font-size: 0.55rem; }
.bk-cal .cal-cell.cal-open { border-color: rgba(34,197,94,0.4); background: rgba(34,197,94,0.06); }
.bk-cal .cal-cell.cal-open:hover { border-color: var(--c-success); background: rgba(34,197,94,0.12); }
.bk-cal .cal-cell.cal-open .cal-date { color: var(--c-success); }
.bk-cal .cal-cell.cal-selected { box-shadow: 0 0 0 2px var(--c-blue); border-color: var(--c-blue) !important; background: var(--c-blue-glow) !important; }
.bk-cal .cal-cell.cal-selected .cal-date { color: var(--c-blue); }
.bk-cal .cal-cell.cal-past { opacity: 0.25; cursor: default; pointer-events: none; }
.bk-cal .cal-cell.cal-closed:not(.cal-past) { opacity: 0.45; cursor: pointer; }
.bk-cal .cal-cell.cal-closed:not(.cal-past):hover { opacity: 0.65; border-color: var(--c-warning); }
.bk-cal .cal-cell.cal-full { cursor: pointer; }
.bk-cal .cal-cell.cal-full:hover { border-color: rgba(239,68,68,0.6) !important; }

.day-job-list { display: flex; flex-direction: column; gap: 0.45rem; margin-top: 0.75rem; }
.day-job-item { display: flex; align-items: center; justify-content: space-between; padding: 0.55rem 0.85rem; background: var(--c-bg-2); border: 1px solid var(--c-border); border-radius: var(--radius); font-size: 0.85rem; gap: 0.75rem; flex-wrap: wrap; }
.blockout-list { display: flex; flex-direction: column; gap: 0.35rem; margin-top: 0.5rem; }
.blockout-item { display: flex; align-items: center; justify-content: space-between; padding: 0.35rem 0.75rem; background: rgba(239,68,68,0.08); border: 1px solid rgba(239,68,68,0.2); border-radius: var(--radius-pill); font-size: 0.82rem; color: var(--c-danger); }
.blockout-item button { background: none; border: none; color: var(--c-danger); cursor: pointer; font-size: 1rem; padding: 0; line-height: 1; }
.day-check-label { display: flex; align-items: center; justify-content: center; gap: 0.3rem; padding: 0.35rem; background: var(--c-bg-2); border: 1.5px solid var(--c-border); border-radius: var(--radius-pill); font-size: 0.76rem; font-weight: 600; cursor: pointer; transition: all 0.15s; }
.day-check-label:has(input:checked) { background: var(--c-blue-glow); border-color: var(--c-blue); color: var(--c-blue); }
.slot-check-label { display: flex; align-items: center; gap: 0.3rem; padding: 0.3rem 0.5rem; background: var(--c-bg-2); border: 1.5px solid var(--c-border); border-radius: var(--radius); font-size: 0.74rem; font-weight: 600; cursor: pointer; transition: all 0.15s; }
.slot-check-label:has(input:checked) { background: var(--c-blue-glow); border-color: var(--c-blue); color: var(--c-blue); }
/* Toggle switch */
.toggle-row { display: flex; align-items: center; justify-content: space-between; padding: 0.65rem 0; border-bottom: 1px solid var(--c-border); margin-bottom: 1.25rem; }
.toggle-label { font-size: 0.88rem; font-weight: 600; }
.toggle-desc { font-size: 0.75rem; color: var(--c-text-2); margin-top: 0.15rem; }
.toggle-switch { position: relative; width: 42px; height: 24px; flex-shrink: 0; }
.toggle-switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.toggle-slider { position: absolute; inset: 0; background: var(--c-bg-3); border: 1.5px solid var(--c-border); border-radius: 999px; cursor: pointer; transition: all 0.2s; }
.toggle-slider:before { content: ''; position: absolute; width: 16px; height: 16px; left: 3px; bottom: 3px; background: var(--c-text-2); border-radius: 50%; transition: all 0.2s; }
.toggle-switch input:checked + .toggle-slider { background: var(--c-blue-glow); border-color: var(--c-blue); }
.toggle-switch input:checked + .toggle-slider:before { transform: translateX(18px); background: var(--c-blue); }
/* Open dates list */
.opendate-list { display: flex; flex-direction: column; gap: 0.35rem; margin-top: 0.5rem; }
.opendate-item { display: flex; align-items: center; justify-content: space-between; padding: 0.35rem 0.75rem; background: rgba(34,197,94,0.08); border: 1px solid rgba(34,197,94,0.25); border-radius: var(--radius-pill); font-size: 0.82rem; color: var(--c-success); }
.opendate-item button { background: none; border: none; color: var(--c-success); cursor: pointer; font-size: 1rem; padding: 0; line-height: 1; }
