/* Abbey Motorists Centre
   Colours are workshop and number-plate tones. One typeface (Archivo),
   using its width axis: wide for headings, normal for text, narrow for the plate. */

:root {
  --ink: #18232e;
  --ink-2: #26343f;
  --ink-soft: #c4cdd4;
  --steel: #56636f;
  --concrete: #e6e8e4;
  --line: #cfd3cd;
  --white: #ffffff;
  --plate: #f5c400;
  --plate-deep: #d9ac00;
  --band: #1f4b99;
  --ok: #1d7a46;
  --warn: #9a5b00;

  --radius-s: 4px;
  --radius-m: 6px;

  --wrap: 72rem;
  --gutter: 1rem;
  --header-h: 4.25rem;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  padding-bottom: 5.25rem; /* room for the mobile action bar */
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--band); text-underline-offset: 0.18em; }
a:hover { color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--band);
  outline-offset: 3px;
}
.on-dark :focus-visible { outline-color: var(--plate); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -4rem;
  z-index: 100;
  background: var(--plate);
  color: var(--ink);
  padding: 0.75rem 1rem;
  font-weight: 700;
  border-radius: var(--radius-m);
}
.skip-link:focus { top: 1rem; }

.wrap {
  width: min(100% - 2 * var(--gutter), var(--wrap));
  margin-inline: auto;
}

/* ---------- Type ---------- */

h1, h2, h3, h4 {
  margin: 0;
  line-height: 1.08;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.1rem, 1.35rem + 3.8vw, 4.1rem);
  font-weight: 800;
  font-stretch: 106%;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.7rem, 1.25rem + 2vw, 2.6rem);
  font-weight: 780;
  font-stretch: 106%;
  letter-spacing: -0.015em;
}

h3 {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
}

p { margin: 0; }
p + p { margin-top: 1em; }

.lead {
  font-size: clamp(1.125rem, 1.05rem + 0.4vw, 1.3rem);
  line-height: 1.5;
  max-width: 36em;
}

.prose { max-width: 38em; }
.prose > * + * { margin-top: 1em; }
.prose h3 { margin-top: 1.75em; }

.muted { color: var(--steel); }

@media (min-width: 960px) {
  h1 { font-stretch: 114%; }
  h2 { font-stretch: 110%; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3.25rem;
  padding: 0.75rem 1.35rem;
  border: 2px solid transparent;
  border-radius: var(--radius-m);
  font: inherit;
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 120ms ease, color 120ms ease, border-color 120ms ease;
}
.btn svg { width: 1.2em; height: 1.2em; flex: none; }

.btn-plate { background: var(--plate); color: var(--ink); }
.btn-plate:hover { background: var(--plate-deep); color: var(--ink); }

.btn-white { background: var(--white); color: var(--ink); }
.btn-white:hover { background: var(--concrete); color: var(--ink); }

.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: var(--ink-2); color: var(--white); }

.btn-line { border-color: currentColor; color: inherit; background: transparent; }
.btn-line:hover { background: rgba(127, 127, 127, 0.12); color: inherit; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.btn-row .btn { flex: 1 1 100%; }

@media (min-width: 480px) {
  .btn-row .btn { flex: 0 0 auto; }
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  flex-direction: column;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.1;
  min-width: 0;
}
.brand:hover { color: var(--ink); }
.brand-name {
  font-weight: 800;
  font-stretch: 112%;
  font-size: 1.08rem;
  letter-spacing: -0.01em;
}
.brand-tag {
  font-size: 0.8rem;
  color: var(--steel);
  margin-top: 0.2rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header-call {
  min-height: 2.75rem;
  padding: 0.5rem 0.9rem;
  font-size: 1rem;
}
.header-call .num { display: none; }

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 2px solid var(--ink);
  border-radius: var(--radius-m);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}
.menu-toggle svg { width: 1.35rem; height: 1.35rem; }
.menu-toggle .i-close { display: none; }
.menu-toggle[aria-expanded="true"] .i-open { display: none; }
.menu-toggle[aria-expanded="true"] .i-close { display: block; }

.site-nav {
  display: none;
  position: absolute;
  left: 0; right: 0;
  top: 100%;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 24px -12px rgba(24, 35, 46, 0.35);
}
.site-nav.is-open { display: block; }

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0.5rem 0 1rem;
}
.site-nav a {
  display: block;
  padding: 0.85rem var(--gutter);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}
.site-nav a[aria-current="page"] {
  box-shadow: inset 4px 0 0 var(--plate);
  background: var(--concrete);
}

@media (min-width: 420px) {
  .header-call .num { display: inline; }
  .header-call .word { display: none; }
}

@media (min-width: 1000px) {
  .menu-toggle { display: none; }
  .site-nav {
    display: block;
    position: static;
    border: 0;
    box-shadow: none;
    background: none;
  }
  .site-nav ul {
    display: flex;
    gap: 0.25rem;
    padding: 0;
  }
  .site-nav a {
    padding: 0.5rem 0.7rem;
    font-size: 1rem;
    border-radius: var(--radius-s);
  }
  .site-nav a:hover { background: var(--concrete); }
  .site-nav a[aria-current="page"] {
    background: none;
    box-shadow: inset 0 -3px 0 var(--plate);
    border-radius: 0;
  }
  .header-inner { gap: 1.5rem; }
}

/* ---------- Hero ---------- */

.hero {
  background: var(--ink);
  color: var(--white);
  padding-top: clamp(2.25rem, 1.5rem + 4vw, 4.5rem);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  gap: 2.25rem;
}

.hero h1 { max-width: 13ch; }
.hero .lead { color: var(--ink-soft); margin-top: 1.1rem; }
.hero .btn-row { margin-top: 1.75rem; }

.hero-facts {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
  color: var(--ink-soft);
  font-size: 1rem;
}
.hero-facts li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.hero-facts svg { width: 1.15rem; height: 1.15rem; flex: none; color: var(--plate); }
.hero-facts strong { color: var(--white); font-weight: 650; }

.hero-photo {
  position: relative;
  margin-inline: calc(-1 * var(--gutter));
}
.hero-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.rating-tab {
  position: absolute;
  left: var(--gutter);
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--white);
  color: var(--ink);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-m) var(--radius-m) 0 0;
  text-decoration: none;
  line-height: 1.2;
}
.rating-tab:hover { color: var(--ink); }
.rating-tab .score {
  font-size: 1.9rem;
  font-weight: 800;
  font-stretch: 110%;
}
.rating-tab small { display: block; color: var(--steel); font-size: 0.85rem; }

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: end;
    gap: 3.5rem;
  }
  .hero-copy { padding-bottom: clamp(3rem, 5vw, 5rem); }
  .hero-photo { margin-inline: 0; }
  .hero-photo img {
    aspect-ratio: 4 / 5;
    border-radius: var(--radius-m) var(--radius-m) 0 0;
  }
}

/* Open-now status */
.status { display: inline-flex; align-items: center; gap: 0.5rem; }
.status::before {
  content: "";
  width: 0.6rem; height: 0.6rem;
  border-radius: 50%;
  background: var(--steel);
  flex: none;
}
.status.is-open::before { background: #3ccf7a; }
.status.is-closed::before { background: #e0a43a; }

/* ---------- Inner page header ---------- */

.page-hero {
  background: var(--ink);
  color: var(--white);
  padding-block: clamp(2.5rem, 1.75rem + 4vw, 5rem);
}
.page-hero h1 { max-width: 16ch; }
.page-hero .lead { color: var(--ink-soft); margin-top: 1rem; }
.page-hero .btn-row { margin-top: 1.75rem; }

/* ---------- Sections ---------- */

.section { padding-block: clamp(3rem, 2rem + 5vw, 6rem); }
.section-concrete { background: var(--concrete); }
.section-ink { background: var(--ink); color: var(--white); }

.section-head { max-width: 40rem; margin-bottom: clamp(1.75rem, 1rem + 2vw, 3rem); }
.section-head p { margin-top: 0.85rem; color: var(--steel); font-size: 1.125rem; }
.section-ink .section-head p { color: var(--ink-soft); }

/* ---------- Discount band ---------- */

.discount {
  background: var(--plate);
  color: var(--ink);
  padding-block: clamp(2.5rem, 1.75rem + 3.5vw, 4.5rem);
}
.discount-grid {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}
.discount h2 { max-width: 18ch; }
.discount p { margin-top: 0.85rem; max-width: 34em; font-size: 1.125rem; }
.discount-who {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}
.discount-who li {
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  font-weight: 650;
  font-size: 0.95rem;
}

@media (min-width: 860px) {
  .discount-grid { grid-template-columns: 1fr auto; gap: 3rem; }
}

/* ---------- Service groups (home) ---------- */

.service-groups {
  display: grid;
  gap: 2.5rem 3rem;
}
.service-group {
  border-top: 4px solid var(--ink);
  padding-top: 1.25rem;
}
.service-group > p { margin-top: 0.5rem; color: var(--steel); }
.service-group .link-more { margin-top: 1rem; display: inline-block; font-weight: 650; }

.ticks {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}
.ticks li {
  display: grid;
  grid-template-columns: 1.25rem 1fr;
  gap: 0.6rem;
  align-items: start;
}
.ticks svg { width: 1.25rem; height: 1.25rem; margin-top: 0.2rem; color: var(--band); }

@media (min-width: 760px) {
  .service-groups { grid-template-columns: 1fr 1fr; }
}

/* Plain facts strip */
.facts {
  display: grid;
  gap: 1.25rem;
  margin-top: clamp(2.5rem, 2rem + 2vw, 4rem);
  padding: 1.5rem;
  background: var(--concrete);
  border-radius: var(--radius-m);
}
.fact {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 0.85rem;
  align-items: start;
}
.fact svg { width: 2.5rem; height: 2.5rem; color: var(--ink); }
.fact strong { display: block; font-size: 1.08rem; }
.fact span { color: var(--steel); font-size: 0.98rem; }

@media (min-width: 760px) {
  .facts { grid-template-columns: repeat(3, 1fr); padding: 2rem; }
}

/* ---------- Booking ---------- */

.booking-grid {
  display: grid;
  gap: 2rem;
}
.booking-aside p { margin-top: 0.85rem; color: var(--steel); }
.booking-aside .call-line {
  margin-top: 1.5rem;
  font-size: 1.125rem;
  color: var(--ink);
}
.booking-aside .call-line a {
  display: inline-block;
  font-size: 1.6rem;
  font-weight: 800;
  font-stretch: 110%;
  color: var(--ink);
  text-decoration: none;
  margin-top: 0.15rem;
}

@media (min-width: 960px) {
  .booking-grid { grid-template-columns: 0.8fr 1.2fr; gap: 4rem; align-items: start; }
  .booking-aside { position: sticky; top: calc(var(--header-h) + 2rem); }
}

.form {
  background: var(--white);
  border-radius: var(--radius-m);
  padding: 1.25rem;
  border: 1px solid var(--line);
}
@media (min-width: 600px) {
  .form { padding: 2rem; }
}

.form-grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 600px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-grid .span-2 { grid-column: span 2; }
}

.field label,
.field legend {
  display: block;
  font-weight: 650;
  margin-bottom: 0.4rem;
  padding: 0;
}
.field .hint {
  display: block;
  font-size: 0.9rem;
  color: var(--steel);
  margin-top: 0.35rem;
}
.field .error {
  display: none;
  font-size: 0.92rem;
  color: #b42318;
  font-weight: 600;
  margin-top: 0.35rem;
}
.field.has-error .error { display: block; }
.field.has-error input,
.field.has-error select { border-color: #b42318; }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 3.1rem;
  padding: 0.7rem 0.85rem;
  font: inherit;
  font-size: 1.0625rem; /* 17px stops iOS zoom on focus */
  color: var(--ink);
  background: var(--white);
  border: 2px solid #9aa3aa;
  border-radius: var(--radius-m);
}
.field textarea { min-height: 6.5rem; resize: vertical; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2318232e' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.8rem center;
  background-size: 1.2rem;
  padding-right: 2.6rem;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--band);
  box-shadow: 0 0 0 3px rgba(31, 75, 153, 0.25);
}

/* The number plate */
.plate {
  display: flex;
  align-items: stretch;
  max-width: 20rem;
  background: var(--plate);
  border: 2px solid var(--ink);
  border-radius: var(--radius-m);
  overflow: hidden;
  box-shadow: inset 0 0 0 2px var(--plate), inset 0 0 0 3px rgba(24, 35, 46, 0.55);
}
.plate:focus-within {
  box-shadow: inset 0 0 0 2px var(--plate), inset 0 0 0 3px rgba(24, 35, 46, 0.55), 0 0 0 3px rgba(31, 75, 153, 0.35);
}
.plate-band {
  flex: none;
  width: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 0.15rem;
  padding: 0.4rem 0;
  background: var(--band);
  color: var(--white);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}
.plate-band svg { width: 1.2rem; height: 1.2rem; }
.field .plate input {
  flex: 1;
  min-width: 0;
  min-height: 3.6rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0.3rem 0.5rem;
  text-align: center;
  text-transform: uppercase;
  font-weight: 760;
  font-stretch: 82%;
  font-size: 2rem;
  letter-spacing: 0.06em;
  color: #121a22;
}
.field .plate input::placeholder { color: rgba(18, 26, 34, 0.32); }
.field.has-error .plate { border-color: #b42318; }

.check {
  display: grid;
  grid-template-columns: 1.5rem 1fr;
  gap: 0.75rem;
  align-items: start;
  padding: 0.9rem 1rem;
  border: 2px solid var(--line);
  border-radius: var(--radius-m);
  cursor: pointer;
}
.check input {
  width: 1.4rem; height: 1.4rem;
  margin: 0.1rem 0 0;
  accent-color: var(--ink);
}
.check strong { display: block; }
.check span { color: var(--steel); font-size: 0.95rem; }

.form-foot {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.85rem;
}
.form-foot .btn { width: 100%; }
.form-foot p { font-size: 0.92rem; color: var(--steel); }
@media (min-width: 600px) {
  .form-foot { grid-template-columns: auto 1fr; align-items: center; gap: 1.25rem; }
  .form-foot .btn { width: auto; }
}

.form-note {
  display: none;
  margin-top: 0.5rem;
  font-size: 0.92rem;
  color: var(--warn);
  font-weight: 600;
}
.form-note.is-visible { display: block; }

.form-success {
  display: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 6px solid var(--ok);
  border-radius: var(--radius-m);
  padding: 1.5rem;
}
.form-success.is-visible { display: block; }
.form-success h3 { font-size: 1.4rem; }
.form-success p { margin-top: 0.6rem; }

/* ---------- Reviews ---------- */

.reviews-head {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
@media (min-width: 860px) {
  .reviews-head { grid-template-columns: 1fr auto; align-items: end; }
}

.rating-block {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.rating-block .score {
  font-size: 3.25rem;
  font-weight: 800;
  font-stretch: 112%;
  line-height: 1;
}
.rating-block small { display: block; color: var(--steel); margin-top: 0.25rem; }

.stars {
  position: relative;
  display: inline-block;
  width: 7.5rem;
  height: 1.5rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23cfd3cd' d='M12 2.5l2.9 6.1 6.6.8-4.9 4.6 1.3 6.6L12 17.3l-5.9 3.3 1.3-6.6-4.9-4.6 6.6-.8z'/%3E%3C/svg%3E") repeat-x;
  background-size: 1.5rem 1.5rem;
}
.stars::after {
  content: "";
  position: absolute;
  inset: 0;
  width: var(--fill, 92%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23e2a400' d='M12 2.5l2.9 6.1 6.6.8-4.9 4.6 1.3 6.6L12 17.3l-5.9 3.3 1.3-6.6-4.9-4.6 6.6-.8z'/%3E%3C/svg%3E") repeat-x;
  background-size: 1.5rem 1.5rem;
}

.review-list {
  display: grid;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 860px) {
  .review-list { grid-template-columns: repeat(3, 1fr); }
}

.review {
  position: relative;
  padding: 1.5rem;
  border: 2px dashed #9aa3aa;
  border-radius: var(--radius-m);
  background: repeating-linear-gradient(-45deg, #fafaf9 0 10px, #f2f3f1 10px 20px);
}
.review blockquote { margin: 0; }
.review blockquote p { color: var(--steel); font-style: italic; }
.review footer { margin-top: 1rem; font-weight: 650; color: var(--steel); }
.placeholder-tag {
  display: inline-block;
  margin-bottom: 0.85rem;
  padding: 0.2rem 0.6rem;
  background: var(--ink);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: var(--radius-s);
}

/* ---------- Find us ---------- */

.find-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 900px) {
  .find-grid { grid-template-columns: 1.25fr 1fr; gap: 3rem; align-items: start; }
}

.map {
  position: relative;
  border-radius: var(--radius-m);
  overflow: hidden;
  background: var(--concrete);
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
}
.map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.details { display: grid; gap: 1.75rem; }
.details h3 { margin-bottom: 0.5rem; }
.details address { font-style: normal; font-size: 1.125rem; line-height: 1.5; }
.details .big-link {
  font-size: 1.5rem;
  font-weight: 800;
  font-stretch: 108%;
  color: var(--ink);
  text-decoration: none;
}
.details .big-link:hover { text-decoration: underline; }

.hours {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.02rem;
}
.hours th,
.hours td {
  text-align: left;
  padding: 0.55rem 0.5rem;
  border-bottom: 1px solid var(--line);
  font-weight: 400;
}
.hours th { font-weight: 600; }
.hours td { text-align: right; }
.hours .closed td { color: var(--steel); }
.hours tr.is-today th,
.hours tr.is-today td {
  background: rgba(245, 196, 0, 0.22);
  font-weight: 700;
}

/* ---------- Media + text blocks (inner pages) ---------- */

.split {
  display: grid;
  gap: 2rem;
  align-items: center;
}
.split img,
.media-fig img {
  width: 100%;
  border-radius: var(--radius-m);
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: var(--concrete);
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .split.flip > :first-child { order: 2; }
}

/* Services page: index + detail */
.svc-layout {
  display: grid;
  gap: 2.5rem;
}
.svc-index {
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 1rem 1.25rem;
}
.svc-index h2 { font-size: 1.1rem; font-stretch: 100%; margin-bottom: 0.5rem; }
.svc-index ul { list-style: none; margin: 0; padding: 0; }
.svc-index a {
  display: block;
  padding: 0.45rem 0;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}
.svc-index a:hover { color: var(--band); text-decoration: underline; }

.svc {
  padding-block: 2.25rem;
  border-top: 1px solid var(--line);
}
.svc:first-child { border-top: 0; padding-top: 0; }
.svc h2 { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.1rem); }
.svc .prose { margin-top: 0.9rem; }
.svc .ticks { max-width: 38em; }
.svc .btn { margin-top: 1.5rem; }

@media (min-width: 960px) {
  .svc-layout { grid-template-columns: 15rem 1fr; gap: 4rem; align-items: start; }
  .svc-index {
    position: sticky;
    top: calc(var(--header-h) + 1.5rem);
    border: 0;
    padding: 0;
  }
}

/* Steps — a real sequence, so numbered */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
  counter-reset: step;
}
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
}
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--plate);
  color: var(--ink);
  font-weight: 800;
  font-size: 1.25rem;
}
.steps strong { display: block; font-size: 1.15rem; margin-top: 0.6rem; }
.steps span { display: block; color: var(--steel); margin-top: 0.3rem; }

@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
  .steps li { grid-template-columns: 1fr; }
  .steps strong { margin-top: 0.25rem; }
}

/* Owner-supplied placeholder copy */
.todo {
  border: 2px dashed #9aa3aa;
  border-radius: var(--radius-m);
  padding: 1.25rem 1.5rem;
  background: #fafaf9;
  color: var(--steel);
}
.todo .placeholder-tag { margin-bottom: 0.6rem; }

/* Closing call-to-action band */
.cta-band {
  background: var(--ink);
  color: var(--white);
  padding-block: clamp(2.75rem, 2rem + 3.5vw, 4.5rem);
}
.cta-band-grid { display: grid; gap: 1.5rem; align-items: center; }
.cta-band p { color: var(--ink-soft); margin-top: 0.75rem; max-width: 34em; }
@media (min-width: 860px) {
  .cta-band-grid { grid-template-columns: 1fr auto; gap: 3rem; }
}

/* ---------- Footer ---------- */

.site-footer {
  background: #101920;
  color: var(--ink-soft);
  padding-block: 3rem 2rem;
  font-size: 0.98rem;
}
.footer-grid {
  display: grid;
  gap: 2rem;
}
.site-footer h2 {
  font-size: 1.05rem;
  font-stretch: 100%;
  color: var(--white);
  margin-bottom: 0.6rem;
}
.site-footer a { color: var(--white); }
.site-footer address { font-style: normal; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; }
.footer-brand .brand-name { color: var(--white); font-size: 1.25rem; }
.footer-brand p { margin-top: 0.5rem; }
.footer-base {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.88rem;
}
@media (min-width: 760px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}

/* ---------- Mobile action bar ---------- */

.action-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  padding: 0.6rem var(--gutter) calc(0.6rem + env(safe-area-inset-bottom));
  background: var(--white);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 20px -12px rgba(24, 35, 46, 0.4);
}
.action-bar .btn { min-height: 3.1rem; padding-inline: 0.75rem; }

@media (min-width: 1000px) {
  .action-bar { display: none; }
  body { padding-bottom: 0; }
}

@media print {
  .site-header, .action-bar, .map, .site-nav { display: none !important; }
  body { padding: 0; }
}

/* Default icon size */
.i { width: 1.2em; height: 1.2em; flex: none; }

/* In the hero list the status dot stands in for an icon, so match the icon column */
.hero-facts .status { gap: 0.6rem; }
.hero-facts .status::before { margin-inline: 0.275rem; }

/* Tablet: single column hero, so keep the photo from taking over the screen */
@media (min-width: 600px) and (max-width: 959px) {
  .hero-photo img { aspect-ratio: 16 / 9; }
}

/* Small phones (iPhone SE 1st gen, small Androids: under 375px) */
@media (max-width: 374px) {
  :root { --gutter: 0.875rem; }
  .brand-name { font-size: 0.95rem; font-stretch: 100%; }
  .brand-tag { font-size: 0.72rem; }
  .header-call { padding-inline: 0.75rem; }
  .header-call .word {
    position: absolute; width: 1px; height: 1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
  }
  .action-bar { gap: 0.5rem; }
  .action-bar .btn { font-size: 0.95rem; gap: 0.4rem; padding-inline: 0.5rem; }
}

/* Hero photo: the workshop shot is landscape, so use 4:3 at every size
   and keep the technicians (left of frame) in view when it's cropped */
.hero-photo img { object-position: 30% 50%; }
@media (min-width: 960px) {
  .hero-photo img { aspect-ratio: 4 / 3; }
}
/* Rating badge sits bottom-right so it doesn't cover the people */
.rating-tab { left: auto; right: var(--gutter); }
@media (min-width: 960px) {
  .rating-tab { right: 1rem; }
}
