:root {
  --navy: #1e2a44;
  --navy-deep: #141d31;
  --red: #d33a3a;
  --red-dark: #b62e2e;
  --ink: #1b2130;
  --muted: #5b6478;
  --line: #e3e6ec;
  --bg: #ffffff;
  --bg-alt: #f4f6f9;
  --plate: #f7d117;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(20, 29, 49, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--red); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 0.5em; color: var(--navy); }

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4em;
  padding: 0.75em 1.25em; border-radius: 10px; border: 2px solid transparent;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
  transition: background 0.15s, transform 0.15s, border-color 0.15s;
}
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 0.9em 1.5em; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,0.5); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn-ghost-dark { border-color: var(--navy); color: var(--navy); background: #fff; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.96); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand img { height: 44px; width: auto; }
.nav { display: none; gap: 24px; margin-left: auto; }
.nav a { color: var(--navy); text-decoration: none; font-weight: 600; }
.nav a:hover { color: var(--red); }
.header-call { display: none; padding: 0.55em 1em; }

/* Hero */
.hero {
  background:
    radial-gradient(circle at 85% 20%, rgba(211,58,58,0.35), transparent 45%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff; padding: 48px 0 56px;
}
.hero-inner { display: grid; gap: 32px; align-items: center; }
.hero h1 { color: #fff; font-size: clamp(2.1rem, 6vw, 3.6rem); font-weight: 800; letter-spacing: -0.02em; }
.hero .accent { color: #ff6b6b; }
.lead { font-size: 1.15rem; color: #d3d9e6; max-width: 34em; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: #d3d9e6; margin: 0 0 12px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 4px rgba(61,220,132,0.25); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0; }
.trust-row { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: #d3d9e6; font-size: 0.95rem; }

.hero-card {
  background: #fff; color: var(--ink); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
}
.hero-card h2 { font-size: 1.4rem; }
.hero-card p { color: var(--muted); margin-top: 0; }
.quick-form { display: grid; gap: 12px; }

/* UK number plate input */
.plate {
  display: flex; align-items: stretch; border: 2px solid var(--ink); border-radius: 8px;
  overflow: hidden; background: var(--plate);
}
.plate-gb {
  display: flex; align-items: flex-end; justify-content: center; padding: 0 8px 6px;
  background: #1c4fa3; color: #fff; font-weight: 700; font-size: 0.8rem;
}
.plate input {
  flex: 1; min-width: 0; border: 0; background: transparent; padding: 12px;
  font: 800 1.5rem/1 "Inter", sans-serif; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink); text-align: center;
}
.plate input:focus { outline: none; }
.plate:focus-within { box-shadow: 0 0 0 3px rgba(211,58,58,0.35); }
.plate-sm input { font-size: 1.15rem; padding: 10px; }

/* Sections */
.section { padding: 64px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--navy); color: #fff; }
.section-dark .section-title { color: #fff; }
.section-dark .section-sub { color: #c7cedd; }
.section-dark a { color: #fff; font-weight: 600; }
.section-title { font-size: clamp(1.7rem, 4vw, 2.4rem); text-align: center; font-weight: 800; letter-spacing: -0.01em; }
.section-sub { text-align: center; color: var(--muted); max-width: 40em; margin: 0 auto 32px; }
.left { text-align: left; margin-left: 0; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 20px; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.step-num {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--red); color: #fff; font-weight: 800; margin-bottom: 12px;
}
.steps h3 { font-size: 1.15rem; }
.steps p { color: var(--muted); margin: 0; }

/* Services */
.services-grid { display: grid; gap: 16px; }
.service {
  background: #fff; border-radius: var(--radius); padding: 22px; border: 1px solid var(--line);
  transition: transform 0.15s, box-shadow 0.15s;
}
.service:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.service-icon { font-size: 1.8rem; margin-bottom: 8px; }
.service h3 { font-size: 1.15rem; margin-bottom: 0.3em; }
.service p { color: var(--muted); margin: 0 0 12px; }
.price { color: var(--ink) !important; margin: 0 !important; }
.price strong { color: var(--red); font-size: 1.3rem; }

/* Why */
.why { display: grid; gap: 24px; align-items: center; }
.why-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.why-list li { padding: 16px 18px 16px 48px; position: relative; background: var(--bg-alt); border-radius: 10px; }
.why-list li::before {
  content: "✓"; position: absolute; left: 16px; top: 15px; width: 22px; height: 22px;
  border-radius: 50%; background: var(--red); color: #fff; font-size: 0.8rem;
  display: grid; place-items: center; font-weight: 800;
}
.why-list strong { color: var(--navy); }

/* Area */
.area-list { list-style: none; padding: 0; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 760px; }
.area-list li { padding: 10px 18px; border: 1px solid rgba(255,255,255,0.25); border-radius: 999px; font-weight: 600; }

/* Reviews */
.reviews { display: grid; gap: 16px; margin-top: 32px; }
.review { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.review.placeholder { border-style: dashed; }
.stars { color: #f5a623; letter-spacing: 2px; margin: 0 0 8px; }
.review footer { color: var(--muted); font-size: 0.9rem; font-weight: 600; }

/* Booking */
.book-wrap { display: grid; gap: 32px; align-items: start; }
.book-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-weight: 500; }
.book-form, .book-success { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
fieldset { border: 0; padding: 0; margin: 0 0 20px; display: grid; gap: 14px; }
legend { font-weight: 800; color: var(--navy); font-size: 1.05rem; margin-bottom: 10px; padding: 0; }
.row { display: grid; gap: 14px; }
label { display: grid; gap: 6px; font-weight: 600; font-size: 0.95rem; }
.optional { color: var(--muted); font-weight: 400; }
input, select, textarea {
  font: inherit; font-size: 16px; padding: 12px; border: 1.5px solid var(--line); border-radius: 10px;
  background: #fff; color: var(--ink); width: 100%;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(30,42,68,0.15); }
.invalid, .plate.invalid { border-color: var(--red) !important; }
.form-error { color: var(--red); font-weight: 600; margin: 0 0 12px; }
.form-note { color: var(--muted); font-size: 0.85rem; text-align: center; margin: 12px 0 0; }
.book-success { text-align: center; padding: 48px 24px; }
.success-icon {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 16px; display: grid; place-items: center;
  background: #e6f8ee; color: #1f9d55; font-size: 2rem; font-weight: 800;
}

/* Booking tabs */
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px; margin-bottom: 16px; background: #e3e6ec; border-radius: 12px; }
.tab { font: inherit; font-weight: 700; padding: 10px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); cursor: pointer; }
.tab[aria-selected="true"] { background: #fff; color: var(--navy); box-shadow: 0 2px 6px rgba(20,29,49,0.1); }

/* Booking calendar (live Cal.com data) */
.cal-book { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.cal-step { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-weight: 800; color: var(--navy); }
.cal-step span { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 0.8rem; }
.cal-step + .cal-types, .cal-types { margin-bottom: 24px; }
#cal-day-label { margin-top: 20px; }
.cal-loading { grid-column: 1 / -1; margin: 0; color: var(--muted); }

.cal-types { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cal-types label { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; transition: border-color 0.15s, background 0.15s; }
.cal-types label:hover { border-color: #b9c0cd; }
.cal-types label:has(input:checked) { border-color: var(--red); background: #fdf2f2; box-shadow: inset 0 0 0 1px var(--red); }
.cal-types label:has(input:focus-visible) { outline: 3px solid rgba(211,58,58,0.35); outline-offset: 2px; }
.cal-types input { position: absolute; opacity: 0; pointer-events: none; }
.cal-types span { color: var(--muted); font-weight: 500; font-size: 0.85rem; }

.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal-month { margin: 0; font-weight: 800; color: var(--navy); }
.cal-nav { width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--navy); font-size: 1.3rem; line-height: 1; cursor: pointer; }
.cal-nav:hover:not(:disabled) { border-color: var(--navy); }
.cal-nav:disabled { opacity: 0.35; cursor: default; }

.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; transition: opacity 0.2s; }
.cal-grid.is-loading { opacity: 0.45; }
.cal-grid .dow { font-size: 0.72rem; font-weight: 700; color: var(--muted); text-transform: uppercase; padding-bottom: 6px; }
.cal-grid button { position: relative; font: inherit; font-weight: 700; aspect-ratio: 1; border: 0; border-radius: 10px; background: #eef1f6; color: var(--navy); cursor: pointer; transition: background 0.15s, color 0.15s; }
.cal-grid button:hover:not(:disabled) { background: #dfe4ee; }
.cal-grid button:disabled { background: transparent; color: #c3c8d2; font-weight: 500; cursor: default; }
.cal-grid button.today::after { content: ""; position: absolute; left: 50%; bottom: 5px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--red); }
.cal-grid button[aria-pressed="true"] { background: var(--navy); color: #fff; }

.cal-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 8px; max-height: 232px; overflow-y: auto; padding: 2px; }
.cal-slots button { font: inherit; font-weight: 700; padding: 11px 0; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--navy); cursor: pointer; transition: border-color 0.15s; }
.cal-slots button:hover { border-color: var(--navy); }
.cal-slots button[aria-pressed="true"] { border-color: var(--red); background: var(--red); color: #fff; }

.cal-confirm { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.cal-confirm p { margin: 0 0 12px; font-weight: 700; color: var(--navy); text-align: center; }
.cal-confirm .cal-terms { margin: 10px 0 0; font-size: 0.85rem; font-weight: 500; color: var(--muted); }
.cal-done { margin: 16px 0 0; padding: 12px; border-radius: 10px; background: #e6f8ee; color: #1a7a44; font-weight: 600; text-align: center; }
.cal-error { margin: 16px 0 0; padding: 12px; border-radius: 10px; background: #fdf2f2; color: var(--red-dark); font-weight: 600; }
.cal-alt { margin: 20px 0 0; font-size: 0.9rem; color: var(--muted); text-align: center; }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
summary { font-weight: 700; color: var(--navy); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--red); font-size: 1.4rem; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin: 10px 0 0; }

/* Footer */
.site-footer { background: var(--bg-alt); padding: 40px 0 110px; border-top: 1px solid var(--line); }
.footer-inner { display: grid; gap: 16px; }
.footer-logo { height: 48px; width: auto; mix-blend-mode: multiply; }
.site-footer p { margin: 4px 0; color: var(--muted); }
.site-footer a { color: var(--navy); font-weight: 600; text-decoration: none; }
.small { font-size: 0.85rem; }

/* Mobile action bar */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(20,29,49,0.08);
}

/* Tablet and up */
@media (min-width: 720px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews { grid-template-columns: repeat(3, 1fr); }
  .row { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: auto 1fr; align-items: center; gap: 32px; }
}

/* Desktop */
@media (min-width: 960px) {
  .nav, .header-call { display: flex; }
  .header-call { margin-left: 8px; }
  .hero { padding: 80px 0 88px; }
  .hero-inner { grid-template-columns: 1.3fr 1fr; gap: 56px; }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .why { grid-template-columns: 1fr 1fr; gap: 56px; }
  .book-wrap { grid-template-columns: 1fr 1.3fr; gap: 56px; }
  .book-intro { position: sticky; top: 100px; }
  .mobile-bar { display: none; }
  .site-footer { padding-bottom: 40px; }
}
