/* W&L Auto Spa — booking page
   Design: simple but premium. Navy brand, clean hierarchy, essentials up top,
   detail below or behind a click. Mobile-first. */

:root {
  --navy: #0a2540;
  --navy-2: #10365e;
  --navy-3: #16406e;
  --blue: #1d6ff2;
  --blue-dark: #1559c7;
  --blue-soft: #e8f0fe;
  --ink: #0f172a;
  --muted: #5b6b80;
  --line: #e3e9f2;
  --bg: #f5f7fb;
  --card: #ffffff;
  --gold: #f2b705;
  --green: #15803d;
  --green-soft: #e7f6ec;
  --red: #b91c1c;
  --red-soft: #fdecec;
  --amber-bg: #fff7d6;
  --amber-ink: #713f12;
  --radius: 16px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px rgba(10, 37, 64, 0.10);
  --shadow-sm: 0 2px 8px rgba(10, 37, 64, 0.08);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 1060px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
a { color: var(--blue); }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
.center { text-align: center; }

/* TEST banner */
.test-banner {
  background: var(--amber-bg);
  color: var(--amber-ink);
  text-align: center;
  padding: 9px 16px;
  font-size: 14px;
}
.test-banner strong {
  background: var(--amber-ink);
  color: #fff;
  border-radius: 999px;
  padding: 2px 9px;
  margin-right: 8px;
  font-size: 12px;
  letter-spacing: 0.06em;
}

/* Header */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.brand-text strong { display: block; font-size: 17px; letter-spacing: 0.04em; }
.brand-text em { display: block; font-style: normal; font-size: 12px; color: var(--muted); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-phone { color: var(--navy); font-weight: 700; text-decoration: none; white-space: nowrap; }
@media (max-width: 560px) { .header-phone { display: none; } }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 11px 22px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease, opacity 0.15s ease;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-primary:disabled { background: #b9c6d8; cursor: not-allowed; transform: none; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: #eaf1fb; }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { background: #eef2f7; }
.btn-small { padding: 8px 16px; font-size: 14px; }
.btn-large { padding: 14px 28px; font-size: 16px; width: 100%; }
@media (min-width: 640px) { .btn-large { width: auto; } }

/* Hero */
.hero {
  background:
    radial-gradient(700px 320px at 85% -10%, rgba(29, 111, 242, 0.45), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 55%, var(--navy-3) 100%);
  color: #fff;
  padding: 52px 0 96px;
}
.eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9db8d8;
  margin-bottom: 14px;
}
.hero h1 { font-size: clamp(34px, 7vw, 54px); font-weight: 800; }
.hero-sub { margin-top: 14px; font-size: 18px; color: #c9d8ea; max-width: 560px; }
.hero-cta { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.hero-link { color: #fff; font-weight: 600; }
.trust-row {
  list-style: none;
  margin: 30px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  font-size: 14px;
  color: #c9d8ea;
}
.trust-row strong { color: #fff; }
.stars { color: var(--gold); letter-spacing: 2px; }

/* Wizard */
.booking-section { margin-top: -64px; padding-bottom: 8px; }
.wizard {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 22px 20px;
  position: relative;
}
@media (min-width: 640px) { .wizard { padding: 32px 34px 24px; } }
.wizard-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
.wizard-head h2 { font-size: clamp(22px, 4.5vw, 28px); }
.wizard-head p { color: var(--muted); margin-top: 6px; font-size: 15px; }
.estimate {
  text-align: right;
  flex-shrink: 0;
  background: var(--blue-soft);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
}
.estimate span { display: block; font-size: 12px; color: var(--muted); font-weight: 600; }
.estimate strong { font-size: 20px; color: var(--navy); }
.progress {
  height: 6px;
  background: var(--line);
  border-radius: 999px;
  margin: 20px 0 24px;
  overflow: hidden;
}
.progress span {
  display: block;
  height: 100%;
  background: var(--blue);
  border-radius: 999px;
  transition: width 0.5s ease;
}

/* Step transitions: 1-second fade (0.4s out, 0.6s in); no taps accepted
   while transitioning (the .is-locked class stays on for the full second). */
.step-body { transition: opacity 0.6s ease, transform 0.6s ease; }
.wizard.is-transitioning .step-body { opacity: 0; transform: translateY(-6px); transition: opacity 0.4s ease, transform 0.4s ease; }
.wizard.is-locked .step-body,
.wizard.is-locked .wizard-foot { pointer-events: none; }
@media (prefers-reduced-motion: reduce) {
  .step-body { transition-duration: 0.01s; }
}

/* Option cards */
.options { display: grid; gap: 12px; }
@media (min-width: 640px) { .options.cols-2 { grid-template-columns: 1fr 1fr; } .options.cols-3 { grid-template-columns: repeat(3, 1fr); } }
.option {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  text-align: left;
  width: 100%;
  background: #fff;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.option:hover { border-color: #b9c9de; }
.option.selected { border-color: var(--blue); background: #f4f8ff; box-shadow: var(--shadow-sm); }
.option:disabled { opacity: 0.55; cursor: not-allowed; }
.option-radio {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border: 2px solid #b9c9de;
  border-radius: 50%;
  margin-top: 2px;
  position: relative;
}
.option.selected .option-radio { border-color: var(--blue); }
.option.selected .option-radio::after {
  content: "";
  position: absolute; inset: 4px;
  background: var(--blue);
  border-radius: 50%;
}
.option-check {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border: 2px solid #b9c9de;
  border-radius: 7px;
  margin-top: 2px;
  position: relative;
}
.option.selected .option-check { border-color: var(--blue); background: var(--blue); }
.option.selected .option-check::after {
  content: "✓";
  position: absolute; inset: 0;
  color: #fff; font-size: 15px; line-height: 22px; text-align: center;
}
.option-body { flex: 1; min-width: 0; }
.option-body h3 { font-size: 18px; }
.option-body p { color: var(--muted); font-size: 14.5px; margin-top: 4px; }
.option-price { font-size: 17px; font-weight: 800; color: var(--navy); margin-top: 8px; }
.option-price span { font-weight: 500; font-size: 14px; color: var(--muted); }
.badge {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  border-radius: 999px;
  padding: 3px 10px;
  margin-bottom: 8px;
}
.option-figure { display: block; margin: 10px 0 2px; border-radius: var(--radius-sm); overflow: hidden; background: #eef2f7; }
.option-figure svg { width: 100%; max-width: 230px; margin: 0 auto; height: auto; }
.option-figure img { width: 100%; height: auto; display: block; }
.options-group { font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 20px 0 0; }
.options-group:first-child { margin-top: 0; }
.options-group + .options { margin-top: 10px; }

/* Includes box */
.includes {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fafc;
  padding: 18px 20px;
}
.includes h3 {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.includes h4 {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  margin: 14px 0 8px;
}
.includes h4:first-of-type { margin-top: 0; }
.includes ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.includes li { font-size: 15px; padding-left: 26px; position: relative; }
.includes li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  color: var(--green);
  font-weight: 800;
}
.includes-note { margin-top: 12px; font-size: 14px; color: var(--muted); }

/* Warning alert */
.alert {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--red-soft);
  border: 1px solid #f3c2c2;
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-top: 16px;
}
.alert-icon { font-size: 22px; line-height: 1; }
.alert strong { display: block; font-size: 16px; color: var(--red); }
.alert p { font-size: 14.5px; color: #5f2121; margin-top: 3px; }
.alert .btn { margin-top: 10px; }

/* Forms */
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.field input {
  width: 100%;
  font: inherit;
  font-size: 16px;
  padding: 13px 15px;
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
}
.field input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(29, 111, 242, 0.15); }
.field .hint { font-size: 13px; color: var(--muted); margin-top: 5px; }
.field-row { display: grid; gap: 0 16px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.slots { display: flex; flex-wrap: wrap; gap: 10px; }
.slot {
  border: 2px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 11px 20px;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
}
.slot:hover { border-color: #b9c9de; }
.slot.selected { border-color: var(--blue); background: var(--blue); color: #fff; }
.slot:disabled { opacity: 0.45; text-decoration: line-through; cursor: not-allowed; }
.avail-note { color: var(--muted); font-size: 14.5px; margin: 4px 0 12px; }
.avail-error { background: var(--red-soft); border-radius: var(--radius-sm); padding: 12px 14px; font-size: 14.5px; margin-bottom: 12px; }
.avail-error .btn { margin-top: 8px; }

/* Summary */
.summary-block {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 14px;
}
.summary-block h3 { font-size: 17px; margin-bottom: 8px; }
.summary-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.summary-lines li { display: flex; justify-content: space-between; gap: 16px; font-size: 15px; }
.summary-lines li span:last-child { font-weight: 700; white-space: nowrap; }
.summary-lines li.pending span:last-child { font-weight: 500; color: var(--muted); }
.summary-total {
  display: flex; justify-content: space-between; gap: 16px;
  border-top: 2px solid var(--navy);
  margin-top: 16px; padding-top: 14px;
  font-size: 19px; font-weight: 800; color: var(--navy);
}
.summary-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.link-btn {
  background: none; border: none; padding: 0;
  color: var(--blue); font-weight: 700; font-size: 14.5px; text-decoration: underline;
}
.summary-note { color: var(--muted); font-size: 14px; margin-top: 12px; }

/* Wizard footer */
.wizard-foot {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}
.wizard-foot .btn-primary { flex: 1; }
@media (min-width: 640px) { .wizard-foot .btn-primary { flex: 0 0 auto; min-width: 220px; } }
.wizard-note { color: var(--muted); font-size: 13.5px; margin-top: 16px; text-align: center; }

/* Confirmation */
.confirm { text-align: center; padding: 12px 0 6px; }
.confirm-icon {
  width: 64px; height: 64px; margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  font-size: 34px; line-height: 64px; font-weight: 800;
}
.confirm h2 { font-size: 26px; }
.confirm p { color: var(--muted); margin-top: 8px; }
.confirm-details {
  text-align: left;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 20px auto 0;
  max-width: 480px;
  font-size: 15px;
  display: grid; gap: 6px;
}
.confirm-details strong { color: var(--navy); }

/* Reviews */
.reviews { padding: 56px 0 8px; }
.section-head { text-align: center; margin-bottom: 26px; }
.section-head .eyebrow { color: var(--blue); }
.section-head h2 { font-size: clamp(24px, 5vw, 32px); }
.rating-line { margin-top: 8px; color: var(--muted); }
.carousel { display: flex; align-items: stretch; gap: 12px; max-width: 780px; margin: 0 auto; }
.carousel-arrow {
  flex-shrink: 0;
  align-self: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 2px solid var(--line);
  background: #fff;
  font-size: 26px;
  line-height: 1;
  color: var(--navy);
}
.carousel-arrow:hover { border-color: var(--blue); color: var(--blue); }
.review-card {
  flex: 1;
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 190px;
}
.review-card blockquote { margin: 0; font-size: 19px; line-height: 1.5; font-weight: 600; }
.review-card figcaption { margin-top: 18px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.review-card figcaption strong { font-size: 15px; }
.carousel-count { text-align: center; color: var(--muted); font-size: 14px; margin-top: 14px; }
.reviews .center { margin-top: 18px; }

/* Info accordions */
.info { padding: 48px 0 56px; }
.info h2 { font-size: clamp(22px, 4.5vw, 28px); margin-bottom: 18px; }
.info details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 10px;
  padding: 0 20px;
}
.info summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  padding: 16px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.info summary::-webkit-details-marker { display: none; }
.info summary::after { content: "+"; font-size: 22px; color: var(--blue); font-weight: 400; }
.info details[open ] summary::after { content: "–"; }
.info details p { color: var(--muted); padding: 0 0 18px; font-size: 15px; }

/* Footer */
.site-footer { background: var(--navy); color: #c9d8ea; padding: 34px 0; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: flex-start; }
.site-footer strong { color: #fff; font-size: 17px; }
.site-footer p { margin-top: 6px; font-size: 14px; }
.footer-contact { display: flex; flex-direction: column; gap: 6px; }
.footer-contact a { color: #fff; font-weight: 700; text-decoration: none; }
