/* Everyday Car Repair — site styles
   Brand blue from the ECR logo (#007CC2) + navy authority panels (AAL/Coveryou),
   mycar-style layout: clean white header, blue hero with a booking card. */
:root {
  --blue: #007cc2;
  --blue-600: #006aa6;
  --blue-700: #005485;
  --blue-50: #e8f3fa;
  --blue-100: #cfe6f4;
  --navy: #10233a;
  --navy-2: #182f4b;
  --text: #15202b;
  --muted: #55626f;
  --faint: #8a96a3;
  --bg: #ffffff;
  --surface: #f4f6f8;
  --surface-2: #eaeef2;
  --border: #d9dfe5;
  --success: #1f8a4c;
  --success-50: #e3f4ea;
  --error: #b3261e;
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 6px 24px rgba(16, 35, 58, 0.10);
  --shadow-lg: 0 18px 48px rgba(16, 35, 58, 0.18);
  --wrap: 1200px;
  --font: 'General Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --t-xs: 0.8125rem;
  --t-sm: 0.9375rem;
  --t-base: 1.0625rem;
  --t-lg: 1.25rem;
  --t-xl: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  --t-2xl: clamp(1.9rem, 1.3rem + 2.2vw, 2.8rem);
  --t-hero: clamp(2.2rem, 1.4rem + 3.2vw, 3.6rem);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--font); font-size: var(--t-base); line-height: 1.6; color: var(--text); background: var(--bg); }
img { max-width: 100%; display: block; height: auto; }
a { color: var(--blue-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-700); }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 0.5em; font-weight: 600; letter-spacing: -0.01em; color: var(--navy); }
h1 { font-size: var(--t-2xl); }
h2 { font-size: var(--t-xl); }
h3 { font-size: var(--t-lg); }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: var(--radius-sm); border: 2px solid transparent; font: inherit; font-weight: 600; font-size: var(--t-sm); text-decoration: none; cursor: pointer; transition: background 160ms, color 160ms, border-color 160ms, transform 160ms; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-600); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); color: #fff; }
.btn-outline { background: #fff; color: var(--navy); border-color: var(--border); }
.btn-outline:hover { border-color: var(--navy); color: var(--navy); }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: var(--blue-50); color: var(--navy); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* Header */
.topbar { background: var(--navy); color: #dfe8f2; font-size: var(--t-xs); }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 36px; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar .tb-left { display: flex; gap: 18px; flex-wrap: wrap; }
.header { background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 50; }
.header .wrap { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.logo { display: block; flex: none; }
.logo img { height: 40px; width: auto; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { color: var(--navy); text-decoration: none; font-weight: 500; font-size: var(--t-sm); padding: 10px 12px; border-radius: var(--radius-sm); }
.nav a:hover, .nav a[aria-current="page"] { background: var(--blue-50); color: var(--blue-700); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.header-phone { display: flex; align-items: center; gap: 8px; color: var(--navy); text-decoration: none; font-weight: 600; font-size: var(--t-sm); white-space: nowrap; }
.header-phone svg { width: 18px; height: 18px; color: var(--blue); }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--border); border-radius: var(--radius-sm); width: 46px; height: 46px; align-items: center; justify-content: center; cursor: pointer; color: var(--navy); }
.menu-btn svg { width: 22px; height: 22px; }
.mobile-nav { display: none; border-top: 1px solid var(--border); background: #fff; }
.mobile-nav a { display: block; padding: 14px 20px; border-bottom: 1px solid var(--surface-2); color: var(--navy); text-decoration: none; font-weight: 500; }
.mobile-nav .mn-actions { display: grid; gap: 10px; padding: 16px 20px 20px; }
.mobile-nav.open { display: block; }
@media (max-width: 1080px) { .header-phone span { display: none; } }
@media (max-width: 960px) {
  .nav, .header-cta .btn { display: none; }
  .menu-btn { display: inline-flex; }
  .header-cta { margin-left: auto; }
  .header-phone span { display: inline; }
  .header .wrap { gap: 12px; }
  .header-cta + .menu-btn { margin-left: 0; }
}
@media (max-width: 520px) { .logo img { height: 32px; } .header-phone span { display: none; } .header-phone { width: 46px; height: 46px; justify-content: center; border: 1px solid var(--border); border-radius: var(--radius-sm); } .topbar .tb-hide { display: none; } }

/* Hero */
.hero { position: relative; background: var(--blue); color: #fff; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,84,133,0.92) 0%, rgba(0,124,194,0.78) 46%, rgba(0,124,194,0.25) 100%), var(--hero-img) center/cover no-repeat; }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 460px; gap: 48px; align-items: center; padding-top: 56px; padding-bottom: 56px; }
.hero h1 { color: #fff; font-size: var(--t-hero); margin-bottom: 16px; }
.hero h1 em { font-style: normal; color: var(--navy); }
.hero .lead { font-size: var(--t-lg); color: #eaf4fb; max-width: 34ch; margin-bottom: 24px; }
.hero-points { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
.hero-points li { display: flex; gap: 10px; align-items: center; font-weight: 500; }
.hero-points svg { width: 22px; height: 22px; flex: none; color: #fff; background: var(--navy); border-radius: 50%; padding: 4px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-sub { padding-top: 40px; padding-bottom: 40px; }
.hero-sub .wrap { grid-template-columns: minmax(0, 1fr) 420px; }
@media (max-width: 960px) {
  .hero::before { background: linear-gradient(180deg, rgba(0,84,133,0.94) 0%, rgba(0,124,194,0.88) 100%), var(--hero-img) center/cover no-repeat; }
  .hero .wrap, .hero-sub .wrap { grid-template-columns: 1fr; gap: 28px; padding-top: 36px; padding-bottom: 36px; }
  .hero .lead { max-width: none; }
}

/* Booking card (mycar-style tabs) */
.book-card { background: #fff; color: var(--text); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.book-tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--surface-2); }
.book-tab { appearance: none; border: 0; background: transparent; font: inherit; font-weight: 600; font-size: var(--t-sm); color: var(--muted); padding: 16px 10px; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; border-top: 3px solid transparent; }
.book-tab svg { width: 20px; height: 20px; }
.book-tab[aria-selected="true"] { background: #fff; color: var(--blue-700); border-top-color: var(--blue); }
.book-panel { padding: 22px 24px 24px; }
.book-panel[hidden] { display: none; }
.book-panel h2 { font-size: var(--t-lg); margin-bottom: 4px; }
.book-panel .hint { color: var(--muted); font-size: var(--t-sm); margin-bottom: 16px; }
.plate-row { display: grid; grid-template-columns: 1fr 104px; gap: 10px; margin-bottom: 12px; }
.plate { position: relative; }
.plate input { width: 100%; height: 64px; border: 3px solid var(--navy); border-radius: 10px; background: #fff; text-align: center; font: 600 1.9rem/1 var(--font); letter-spacing: 0.12em; text-transform: uppercase; color: var(--navy); }
.plate input::placeholder { color: #b9c2cb; }
.plate small { position: absolute; left: 0; right: 0; bottom: 4px; text-align: center; font-size: 10px; letter-spacing: 0.18em; color: var(--muted); pointer-events: none; text-transform: uppercase; }
.book-card select, .field select, .field input, .field textarea { width: 100%; min-height: 48px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: #fff; font: inherit; font-size: 16px; color: var(--text); padding: 10px 12px; }
.plate-row select { height: 64px; font-weight: 600; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; pointer-events: none; }
.seg span { display: flex; align-items: center; justify-content: center; min-height: 48px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-weight: 600; font-size: var(--t-sm); cursor: pointer; text-align: center; padding: 6px; }
.seg input:checked + span { border-color: var(--blue); background: var(--blue-50); color: var(--blue-700); box-shadow: inset 0 0 0 1px var(--blue); }
.seg input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.book-card .small-link { display: inline-block; margin-top: 12px; font-size: var(--t-sm); }
.book-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--surface-2); text-align: center; font-size: var(--t-xs); color: var(--muted); line-height: 1.3; }
.book-steps b { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; margin: 0 auto 6px; border-radius: 50%; background: var(--blue-50); color: var(--blue-700); font-size: var(--t-sm); }
.label { display: block; font-weight: 600; font-size: var(--t-sm); margin-bottom: 6px; color: var(--navy); }

/* Benefit strip (mycar grey band) */
.strip { background: var(--surface); border-bottom: 1px solid var(--border); }
.strip ul { list-style: none; margin: 0; padding: 14px 0; display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.strip li { display: flex; align-items: center; gap: 10px; font-size: var(--t-sm); font-weight: 500; color: var(--navy); }
.strip svg { width: 24px; height: 24px; color: var(--blue); flex: none; }
@media (max-width: 960px) { .strip ul { display: grid; grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .strip ul { grid-template-columns: 1fr; } }

/* Sections */
.section { padding: 72px 0; }
.section-alt { background: var(--surface); }
.section-navy { background: var(--navy); color: #dfe8f2; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 32px; }
.section-head p { color: var(--muted); max-width: 60ch; margin: 0; }
.eyebrow { display: inline-block; font-size: var(--t-xs); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-600); margin-bottom: 10px; }
.section-navy .eyebrow { color: #7cc4ee; }
@media (max-width: 720px) { .section { padding: 52px 0; } .section-head { flex-direction: column; align-items: start; } }

/* Service tiles */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; transition: box-shadow 180ms, transform 180ms, border-color 180ms; }
.tile:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: var(--blue-100); color: inherit; }
.tile img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.tile-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.tile h3 { margin-bottom: 6px; }
.tile p { color: var(--muted); font-size: var(--t-sm); margin-bottom: 14px; }
.tile .more { margin-top: auto; font-weight: 600; font-size: var(--t-sm); color: var(--blue-600); display: inline-flex; gap: 6px; align-items: center; }
.tile .more svg { width: 16px; height: 16px; }
@media (max-width: 960px) { .tiles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .tiles { grid-template-columns: 1fr; } }

/* Two choices (repair / replacement car) */
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.choice { display: grid; grid-template-columns: 200px 1fr; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.choice img { height: 100%; object-fit: cover; }
.choice-body { padding: 24px; }
.choice-body p { color: var(--muted); font-size: var(--t-sm); }
@media (max-width: 960px) { .choices { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .choice { grid-template-columns: 1fr; } .choice img { aspect-ratio: 16/9; height: auto; } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius); padding: 22px; }
.step::before { counter-increment: s; content: counter(s); display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 600; margin-bottom: 14px; }
.step h3 { font-size: 1.1rem; margin-bottom: 6px; }
.step p { font-size: var(--t-sm); margin: 0; color: #c5d3e1; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Location finder */
.finder { display: grid; grid-template-columns: 360px 1fr; gap: 28px; align-items: start; }
.finder-box { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; position: sticky; top: 96px; }
.finder-box .row { display: flex; gap: 8px; margin-bottom: 10px; }
.finder-box input { flex: 1; min-height: 48px; border: 1px solid var(--border); border-radius: var(--radius-sm); font: inherit; font-size: 16px; padding: 0 12px; }
.finder-msg { font-size: var(--t-sm); color: var(--muted); min-height: 1.5em; margin: 8px 0 0; }
.loc-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.loc { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; transition: border-color 160ms, box-shadow 160ms; }
.loc.near { border-color: var(--blue); box-shadow: 0 0 0 2px var(--blue-100); }
.loc h3 { font-size: 1.1rem; margin: 0; }
.loc h3 a { color: var(--navy); text-decoration: none; }
.loc h3 a:hover { color: var(--blue-700); }
.loc .addr { color: var(--muted); font-size: var(--t-sm); margin: 0; }
.loc .dist { font-size: var(--t-xs); font-weight: 600; color: var(--blue-700); background: var(--blue-50); border-radius: 999px; padding: 2px 10px; align-self: start; }
.loc .dist:empty { display: none; }
.loc .loc-actions { display: flex; gap: 14px; margin-top: 8px; font-size: var(--t-sm); font-weight: 600; flex-wrap: wrap; }
@media (max-width: 960px) { .finder { grid-template-columns: 1fr; } .finder-box { position: static; } }
@media (max-width: 600px) { .loc-list { grid-template-columns: 1fr; } }

/* Split content */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split img { border-radius: var(--radius-lg); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.ticks { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks svg { width: 22px; height: 22px; color: var(--blue); flex: none; margin-top: 2px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 28px; } .split.rev > :first-child { order: 2; } }

/* CTA band */
.cta-band { background: var(--blue); color: #fff; }
.cta-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 40px; padding-bottom: 40px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0 0 4px; }
.cta-band p { margin: 0; color: #e3f1fa; }
.cta-band .acts { display: flex; gap: 12px; flex-wrap: wrap; }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--border); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; font-weight: 600; color: var(--navy); padding: 16px 36px 16px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 12px; font-size: 1.5rem; color: var(--blue); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 12px; margin: 0; }

/* Breadcrumb + page content */
.crumbs { font-size: var(--t-xs); color: #d8eaf6; margin-bottom: 12px; }
.crumbs a { color: #fff; }
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.chips a, .chips span { display: inline-block; padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--border); font-size: var(--t-sm); color: var(--navy); text-decoration: none; }
.chips a:hover { border-color: var(--blue); color: var(--blue-700); }
.info-card { background: #fff; color: var(--text); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 24px; }
.info-card h2 { font-size: var(--t-lg); }
.info-card dl { margin: 0 0 18px; display: grid; gap: 12px; }
.info-card dt { font-size: var(--t-xs); text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); font-weight: 600; }
.info-card dd { margin: 0; font-weight: 500; }
.info-card .acts { display: grid; gap: 10px; }
.map { width: 100%; aspect-ratio: 16/10; border: 0; border-radius: var(--radius-lg); background: var(--surface-2); }

/* Booking form page */
.booking { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; }
.stepper { display: flex; gap: 6px; list-style: none; padding: 0; margin: 0 0 24px; }
.stepper li { flex: 1; font-size: var(--t-xs); color: var(--faint); font-weight: 600; }
.stepper li::before { content: ""; display: block; height: 4px; border-radius: 4px; background: var(--surface-2); margin-bottom: 8px; }
.stepper li.done, .stepper li.on { color: var(--blue-700); }
.stepper li.done::before, .stepper li.on::before { background: var(--blue); }
.fstep[hidden] { display: none; }
.fstep h2 { font-size: var(--t-xl); margin-bottom: 6px; }
.fstep > p.sub { color: var(--muted); margin-bottom: 22px; }
.field { margin-bottom: 18px; }
.field .opt { font-weight: 400; color: var(--faint); }
.field textarea { min-height: 110px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.check-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.check-grid label { position: relative; }
.check-grid input { position: absolute; opacity: 0; inset: 0; pointer-events: none; }
.check-grid span { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 52px; padding: 8px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-weight: 500; font-size: var(--t-sm); cursor: pointer; }
.check-grid input:checked + span { border-color: var(--blue); background: var(--blue-50); color: var(--blue-700); box-shadow: inset 0 0 0 1px var(--blue); font-weight: 600; }
.check-grid input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.seg.two { grid-template-columns: repeat(2, 1fr); }
.vehicle-found { display: flex; gap: 12px; align-items: center; background: var(--success-50); border: 1px solid #b9e2c9; color: #14532d; border-radius: var(--radius-sm); padding: 12px 14px; margin: 4px 0 16px; font-weight: 500; }
.vehicle-found svg { width: 22px; height: 22px; flex: none; }
.form-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; padding-top: 20px; border-top: 1px solid var(--surface-2); }
.form-nav .btn-primary { margin-left: auto; min-width: 160px; }
.err { color: var(--error); font-size: var(--t-sm); margin: 6px 0 0; }
.err:empty { display: none; }
.consent { font-size: var(--t-xs); color: var(--muted); }
.side-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; position: sticky; top: 96px; }
.side-card h3 { font-size: 1.05rem; }
.side-card .ticks { font-size: var(--t-sm); }
.done-box { text-align: center; padding: 24px 8px; }
.done-box .tickc { width: 64px; height: 64px; border-radius: 50%; background: var(--success-50); color: var(--success); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.done-box .tickc svg { width: 34px; height: 34px; }
.preview-note { background: #fff7e6; border: 1px solid #f1d39a; color: #7a4b00; border-radius: var(--radius-sm); padding: 10px 14px; font-size: var(--t-sm); margin-top: 16px; text-align: left; }
@media (max-width: 960px) { .booking { grid-template-columns: 1fr; } .side-card { position: static; } }
@media (max-width: 560px) { .form-card { padding: 20px; } .check-grid { grid-template-columns: 1fr 1fr; } .field-row { grid-template-columns: 1fr; } }

/* Footer */
.footer { background: var(--navy); color: #b9c8d8; font-size: var(--t-sm); }
.footer .wrap { padding-top: 56px; padding-bottom: 28px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer h4 { color: #fff; font-size: var(--t-sm); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a { color: #dfe8f2; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer .logo img { height: 38px; margin-bottom: 16px; }
.footer .big-phone { font-size: 1.4rem; font-weight: 600; color: #fff; }
.foot-base { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: var(--t-xs); color: #93a6ba; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

/* Mobile sticky call/book bar */
.mbar { display: none; }
@media (max-width: 720px) {
  .mbar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--border); box-shadow: 0 -6px 20px rgba(16,35,58,0.08); }
  body { padding-bottom: 74px; }
}
.finder > *, .booking > *, .split > *, .hero .wrap > * { min-width: 0; }
.finder-box input, .field input, .field select { min-width: 0; }
.loc-list.three { grid-template-columns: repeat(3, 1fr); }
.loc-list.one { grid-template-columns: 1fr; }
@media (max-width: 960px) { .loc-list.three { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .loc-list.three { grid-template-columns: 1fr; } }
/* selects: consistent look on phones */
.book-card select, .field select { -webkit-appearance: none; appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2310233a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center; padding-right: 34px; }
.plate-row select { border: 1px solid var(--border); border-radius: 10px; color: var(--navy); }
.form-tabs { margin: -28px -28px 24px; border-radius: 16px 16px 0 0; overflow: hidden; }
@media (max-width: 560px) { .form-tabs { margin: -20px -20px 20px; } }
@media (max-width: 520px) { .book-tab .tl { display: none; } .book-tab { font-size: 1rem; } }
@media (max-width: 720px) {
  .hero .hero-points, .hero .hero-actions { display: none; }
  .hero .lead { font-size: var(--t-base); margin-bottom: 4px; }
  .hero h1 { font-size: 2rem; }
  .hero .wrap, .hero-sub .wrap { gap: 20px; padding-top: 24px; padding-bottom: 28px; }
  .crumbs { margin-bottom: 8px; }
}
.book-tab .ts { display: none; }
@media (max-width: 520px) { .book-tab .tl { display: none; } .book-tab .ts { display: inline; } .book-tab svg { display: none; } }
.plate-row select { -webkit-appearance: none; appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2310233a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center; padding: 0 30px 0 14px; font: 600 1rem var(--font); width: 100%; height: 64px; }
/* hero: AAL-style watermark photo under brand gradient, with faint diagonal lines */
.hero::before { background: linear-gradient(115deg, rgba(0,70,114,0.95) 0%, rgba(0,124,194,0.88) 55%, rgba(0,124,194,0.74) 100%), var(--hero-img) center 55%/cover no-repeat; }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(115deg, rgba(255,255,255,0.045) 0 2px, transparent 2px 64px), linear-gradient(200deg, transparent 40%, rgba(0,62,102,0.45) 100%); }
.hero .wrap { z-index: 1; }
/* before / after */
.ba { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 9; box-shadow: 0 12px 32px rgba(16,35,58,0.14); --pos: 50%; touch-action: pan-y; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; margin: 0; border-radius: 0; box-shadow: none; aspect-ratio: auto; }
.ba-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; pointer-events: none; }
.ba-line span { position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.25); }
.ba-line span::before, .ba-line span::after { content: ""; position: absolute; top: 50%; width: 0; height: 0; margin-top: -6px; border: 6px solid transparent; }
.ba-line span::before { left: 6px; border-right-color: var(--blue); }
.ba-line span::after { right: 6px; border-left-color: var(--blue); }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba-tag { position: absolute; top: 14px; padding: 4px 10px; border-radius: 6px; background: rgba(16,35,58,0.78); color: #fff; font-size: 0.8125rem; font-weight: 600; pointer-events: none; }
.ba-tag-l { left: 14px; } .ba-tag-r { right: 14px; }
.fig { margin: 0; } .fig figcaption { margin-top: 10px; font-size: 0.875rem; color: var(--muted, #5b6b7b); }
@media (min-width: 521px) { .hero-sub .book-tab svg { display: none; } .hero-sub .book-tab { padding-inline: 10px; } }
/* three booking tabs: Get a quote / Book a repair / Replacement car */
.book-tabs.three { grid-template-columns: repeat(3, 1fr); }
.book-tabs.three .book-tab { flex-direction: column; gap: 4px; padding: 12px 6px 11px; font-size: 0.875rem; line-height: 1.2; text-align: center; }
.book-tabs.three .book-tab svg { display: block !important; width: 20px; height: 20px; }
@media (max-width: 520px) { .book-tabs.three .book-tab { font-size: 0.8125rem; padding: 10px 4px; } }
#bookform[data-type="quote"] .seg.f4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 520px) { #bookform[data-type="quote"] .seg.f4 { grid-template-columns: 1fr 1fr; } }
.nf-offer { margin: 4px 0 16px; padding: 16px; border-radius: var(--radius-sm); background: var(--blue-50); border: 1px solid rgba(0,124,194,0.25); }
.nf-offer strong { display: block; color: var(--navy); margin-bottom: 4px; }
.nf-offer p { margin: 0 0 12px; font-size: var(--t-sm); }
.nf-offer .seg span { background: #fff; }
/* Repair now, pay later banner */
.paylater { background: var(--navy); color: #fff; text-align: center; padding: 22px 0 20px; border-top: 3px solid var(--blue); }
.paylater p { margin: 0; }
.pl-title { font-size: clamp(1.25rem, 1rem + 1vw, 1.625rem); font-weight: 600; letter-spacing: -0.01em; }
.pl-text { margin-top: 6px !important; font-size: var(--t-base); color: #dbe8f3; }
.pl-text a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; margin-left: 4px; white-space: nowrap; }
.pl-fine { margin-top: 6px !important; font-size: 0.8125rem; color: #a9bccd; }
.approvals { margin: 20px 0 24px; padding: 18px 20px; border: 1px solid var(--border); border-left: 4px solid var(--blue); border-radius: 12px; background: #fff; }
.approvals h3 { margin: 0 0 10px; font-size: var(--t-base, 1rem); }
.approvals .chips span { background: var(--navy); border-color: var(--navy); color: #fff; font-weight: 600; }
.approvals p { margin: 12px 0 0; font-size: var(--t-sm); }
