/* ── Variables ────────────────────────────────────────────────────────────── */
:root {
  --navy:    #0f172a;
  --navy-mid:#1e293b;
  --amber:   #f59e0b;
  --amber-dk:#d97706;
  --emerald: #10b981;
  --bg:      #f8fafc;
  --card:    #ffffff;
  --border:  #e2e8f0;
  --text:    #0f172a;
  --muted:   #64748b;
  --danger:  #ef4444;
}

/* ── Reset ────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }

/* ── Header ───────────────────────────────────────────────────────────────── */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid #1e293b;
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { font-weight: 800; font-size: 22px; color: #fff; letter-spacing: -0.03em; }
.logo span { color: var(--amber); }
.header-actions { display: flex; gap: 16px; align-items: center; }
.header-phone { font-size: 13px; color: #94a3b8; }
.btn-header {
  background: var(--amber);
  color: var(--navy);
  padding: 8px 18px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  border: none;
  transition: background 0.2s;
}
.btn-header:hover { background: var(--amber-dk); }

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.hero {
  background: var(--navy);
  color: #fff;
  padding: 80px 24px 100px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, #1e293b 0%, transparent 60%);
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--bg);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(245,158,11,0.12);
  border: 1px solid rgba(245,158,11,0.25);
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 700;
  color: var(--amber);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}
.hero h1 em { color: var(--amber); font-style: normal; }
.hero-sub {
  font-size: 17px;
  color: #94a3b8;
  max-width: 520px;
  margin-bottom: 32px;
  line-height: 1.65;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.btn-primary {
  background: var(--amber);
  color: var(--navy);
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  display: inline-block;
}
.btn-primary:hover { background: var(--amber-dk); }
.btn-ghost {
  background: transparent;
  color: #fff;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  border: 1.5px solid rgba(255,255,255,0.2);
  cursor: pointer;
  transition: border-color 0.2s;
  display: inline-block;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.5); }
.hero-trust { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 28px; }
.trust-item { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #64748b; }
.trust-item::before { content: '✓'; color: var(--amber); font-weight: 700; }

/* ── Section structure ────────────────────────────────────────────────────── */
.section {
  padding: 80px 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.section-eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--amber);
  margin-bottom: 10px;
}
.section-title {
  font-size: 36px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.section-title em { color: var(--amber); font-style: normal; }
.section-sub { font-size: 15px; color: var(--muted); margin-bottom: 40px; }

/* ── Service Cards ────────────────────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 32px 28px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  cursor: pointer;
  position: relative;
}
.service-card:hover, .service-card.selected {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(15,23,42,0.1);
  border-color: var(--amber);
}
.service-card.featured { border-color: var(--amber); background: #fffbeb; }
.svc-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 16px;
  background: rgba(245,158,11,0.1);
  color: var(--amber-dk);
}
.svc-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(15,23,42,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 22px;
}
.service-card h3 { font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.svc-price {
  font-size: 32px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 4px;
}
.svc-price span { font-size: 13px; color: var(--muted); font-weight: 400; }
.svc-duration { font-size: 12px; color: var(--muted); margin-bottom: 20px; }
.service-card ul { list-style: none; }
.service-card ul li {
  font-size: 13px;
  color: #475569;
  padding: 4px 0 4px 18px;
  position: relative;
}
.service-card ul li::before {
  content: '•';
  position: absolute;
  left: 6px;
  color: var(--amber);
}
.service-card.featured ul li::before { color: var(--amber-dk); }

/* ── How it works ──────────────────────────────────────────────────────────── */
.how-it-works { background: var(--card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 80px 24px; }
.how-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; max-width: 1100px; margin: 0 auto; }
.step { text-align: center; }
.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--amber);
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.step h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--muted); }

/* ── Service areas ───────────────────────────────────────────────────────── */
.areas-bg { background: var(--navy); padding: 72px 24px; }
.areas-inner { max-width: 1100px; margin: 0 auto; }
.areas-grid { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.area-chip {
  background: var(--navy-mid);
  border: 1px solid #334155;
  border-radius: 20px;
  padding: 8px 18px;
  font-size: 14px;
  color: #94a3b8;
  font-weight: 500;
}
.area-chip strong { color: #fff; }

/* ── Crew section ─────────────────────────────────────────────────────────── */
.crew-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.crew-card {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  text-align: center;
}
.detailer-badge {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--amber);
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.crew-card h4 { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.crew-card p { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* ── FAQ ───────────────────────────────────────────────────────────────────── */
.faq-list { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 24px;
}
.faq-item summary {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
}
.faq-item summary::after { content: '+'; float: right; font-weight: 700; color: var(--amber); }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { font-size: 14px; color: var(--muted); margin-top: 10px; line-height: 1.6; }

/* ── Footer ───────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--navy);
  color: #64748b;
  padding: 48px 24px 32px;
  text-align: center;
}
.site-footer .logo { font-weight: 800; font-size: 20px; color: #fff; margin-bottom: 12px; }
.site-footer .logo span { color: var(--amber); }
.site-footer p { font-size: 13px; line-height: 1.8; }
.footer-admin { font-size: 12px; color: #475569; margin-top: 16px; }

/* ── Booking Modal ─────────────────────────────────────────────────────────── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,0.7);
  backdrop-filter: blur(4px);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--card);
  border-radius: 20px;
  width: 100%;
  max-width: 620px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px;
  position: relative;
}
.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--border);
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: background 0.2s;
}
.modal-close:hover { background: var(--border); }
.modal-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.modal-sub { font-size: 14px; color: var(--muted); margin-bottom: 28px; }

/* ── Step Indicator ───────────────────────────────────────────────────────── */
.step-indicator {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 32px;
}
.step-dot {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
}
.step-dot .dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--border);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}
.step-dot.active .dot { background: var(--amber); color: var(--navy); }
.step-dot.done .dot { background: var(--emerald); color: #fff; }
.step-line { flex: 1; height: 2px; background: var(--border); margin: 0 8px; }
.step-dot.done + .step-line { background: var(--emerald); }

/* ── Booking Form ─────────────────────────────────────────────────────────── */
.booking-form { display: none; }
.booking-form.active { display: block; }

/* ── Date picker ──────────────────────────────────────────────────────────── */
.date-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin-bottom: 24px;
}
.date-cell {
  padding: 10px 4px;
  text-align: center;
  border-radius: 10px;
  font-size: 13px;
  cursor: pointer;
  border: 1.5px solid var(--border);
  background: var(--card);
  transition: all 0.15s;
  color: var(--text);
}
.date-cell:hover:not(.disabled) { border-color: var(--amber); background: #fffbeb; }
.date-cell.selected { background: var(--navy); color: #fff; border-color: var(--navy); }
.date-cell.disabled { opacity: 0.35; cursor: not-allowed; }
.date-cell.day-header { font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; cursor: default; border-color: transparent; background: transparent; }
.date-cell.today { border-color: var(--amber); font-weight: 700; }

/* ── Slot Grid ────────────────────────────────────────────────────────────── */
.slot-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 16px;
}
.slot-btn {
  padding: 12px 8px;
  text-align: center;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  border: 1.5px solid var(--border);
  background: var(--card);
  cursor: pointer;
  transition: all 0.15s;
  color: var(--text);
}
.slot-btn:hover:not(.taken) { border-color: var(--amber); background: #fffbeb; }
.slot-btn.selected { background: var(--navy); color: #fff; border-color: var(--navy); }
.slot-btn.taken { background: #f1f5f9; color: #94a3b8; cursor: not-allowed; text-decoration: line-through; }

/* ── Detailer selection ───────────────────────────────────────────────────── */
.detailer-options { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.detailer-opt {
  padding: 8px 14px;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  background: var(--card);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}
.detailer-opt:hover { border-color: var(--amber); }
.detailer-opt.selected { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ── Form elements ─────────────────────────────────────────────────────────── */
.form-group { margin-bottom: 16px; }
.form-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 6px;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 13px 15px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(245,158,11,0.12);
}
.form-input::placeholder { color: #94a3b8; }
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23887' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}
.form-textarea { resize: vertical; min-height: 80px; }
.form-error { font-size: 12px; color: var(--danger); margin-top: 4px; min-height: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.btn-full { width: 100%; padding: 16px; border: none; border-radius: 12px; font-family: inherit; font-size: 15px; font-weight: 700; cursor: pointer; transition: background 0.2s, opacity 0.2s; }
.btn-full.primary { background: var(--amber); color: var(--navy); }
.btn-full.primary:hover { background: var(--amber-dk); }
.btn-full.primary:disabled { opacity: 0.6; cursor: not-allowed; }
.btn-full.secondary { background: var(--navy); color: #fff; }
.btn-full.ghost { background: transparent; border: 1.5px solid var(--border); color: var(--text); }

.form-nav { display: flex; gap: 12px; margin-top: 20px; }

/* ── Confirmation ───────────────────────────────────────────────────────────── */
.confirmation {
  text-align: center;
  padding: 20px 0;
}
.confirmation-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(16,185,129,0.1);
  border: 2px solid var(--emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 32px;
  color: var(--emerald);
}
.confirmation h2 { font-size: 26px; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.confirmation .booking-ref {
  background: var(--navy);
  color: var(--amber);
  font-family: monospace;
  font-size: 22px;
  font-weight: 800;
  padding: 12px 24px;
  border-radius: 12px;
  display: inline-block;
  margin: 16px 0;
  letter-spacing: 0.05em;
}
.booking-summary {
  background: var(--bg);
  border-radius: 12px;
  padding: 20px;
  text-align: left;
  margin-top: 20px;
}
.booking-summary h4 { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.booking-summary .row { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.booking-summary .row:last-child { border-bottom: none; }
.booking-summary .label { color: var(--muted); }
.booking-summary .value { font-weight: 600; color: var(--navy); }

/* ── Toast notifications ───────────────────────────────────────────────────── */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.toast {
  background: var(--navy);
  color: #fff;
  padding: 14px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  animation: slideIn 0.25s ease;
}
.toast.success { border-left: 4px solid var(--emerald); }
.toast.error { border-left: 4px solid var(--danger); }
@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ── Admin table ───────────────────────────────────────────────────────────── */
.admin-table-wrap { overflow-x: auto; border-radius: 12px; border: 1px solid var(--border); }
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.admin-table th {
  background: var(--navy);
  color: #fff;
  padding: 12px 14px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.admin-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  background: var(--card);
  vertical-align: middle;
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: #f8fafc; }
.status-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}
.status-badge.confirmed { background: rgba(16,185,129,0.1); color: #059669; }
.status-badge.completed { background: rgba(245,158,11,0.1); color: #d97706; }
.status-badge.cancelled { background: rgba(239,68,68,0.1); color: #dc2626; }
.status-badge.pending { background: var(--border); color: var(--muted); }

.admin-actions { display: flex; gap: 6px; }
.btn-sm {
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
}
.btn-sm.complete { background: var(--emerald); color: #fff; }
.btn-sm.cancel { background: var(--danger); color: #fff; }
.btn-sm:hover { opacity: 0.8; }

/* ── Admin stats ───────────────────────────────────────────────────────────── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
.stat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
}
.stat-card .stat-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 6px; }
.stat-card .stat-value { font-size: 28px; font-weight: 800; color: var(--navy); }
.stat-card .stat-sub { font-size: 12px; color: var(--muted); margin-top: 4px; }

/* ── Responsive ─────────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero h1 { font-size: 36px; }
  .services-grid { grid-template-columns: 1fr; }
  .how-steps { grid-template-columns: 1fr; }
  .crew-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .slot-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .hero { padding: 60px 20px 80px; }
  .hero h1 { font-size: 28px; }
  .section { padding: 60px 20px; }
  .modal { padding: 24px; }
  .header-phone { display: none; }
  .slot-grid { grid-template-columns: repeat(2, 1fr); }
}