/* Mobile Tyre Repair visual system. Original rules, white page, near-black header. */

:root {
  --ink: #0e0e0e;
  --text: #1c242c;
  --muted: #5b6670;
  --yellow: #f5c400;
  --yellow-2: #ffe14a;
  --red: #e10600;
  --red-2: #b80500;
  --line: #e5e7ea;
  --wash: #f5f6f7;
  --white: #fff;
  --shadow: 0 10px 28px rgba(14, 14, 14, 0.07);
  --radius: 14px;
  --max: 1120px;
  --space: 8px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; background: var(--white); }

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: Manrope, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 500;
  overflow-wrap: break-word;
}

img, svg { max-width: 100%; height: auto; }

img { display: block; }

a { color: inherit; }

h1, h2, h3, p { margin: 0; }

h1, h2, h3 {
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  overflow-wrap: break-word;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.7rem); }

h1 span { color: var(--red); }

h2 { font-size: clamp(1.7rem, 3vw, 2.05rem); }

h3 { font-size: 1.15rem; letter-spacing: -0.02em; }

.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  background: var(--yellow);
  color: var(--ink);
  padding: 8px 12px;
  border-radius: 999px;
  z-index: 80;
  font-weight: 800;
}

.skip:focus { top: 12px; }

.wrap {
  width: min(var(--max), calc(100% - 32px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px)));
  max-width: 100%;
  min-width: 0;
  margin: 0 auto;
}

.topbar {
  background: #141414;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 600;
}

.topbar-row {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.topbar p { margin: 0; }

.topbar a { color: #fff; text-decoration: none; }

.topbar a:hover { color: var(--yellow); }

.topbar-side { display: flex; gap: 16px; align-items: center; }

.topbar-side a:first-child { color: var(--yellow); font-weight: 800; }

.site-head,
.headbar,
.band,
.foot {
  width: 100%;
  max-width: 100%;
}

.headbar {
  background: var(--ink);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 40;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
  padding-top: env(safe-area-inset-top, 0px);
}

.head-row {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  max-width: 100%;
}

.brand {
  display: flex;
  align-items: center;
  margin-right: auto;
  min-width: 0;
  max-width: 100%;
  text-decoration: none;
}

.logo { height: 46px; width: auto; max-width: 100%; }

.nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px 18px;
  min-width: 0;
}

.nav a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 700;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.nav a:hover,
.nav a[aria-current="page"] { color: var(--yellow); }

.nav-drawer { display: none; position: relative; }

.nav-drawer summary {
  list-style: none;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 800;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.nav-drawer summary::-webkit-details-marker { display: none; }

.drawer {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  background: var(--white);
  color: var(--ink);
  min-width: min(240px, calc(100vw - 32px));
  max-width: calc(100vw - 24px);
  padding: 8px;
  border-radius: 16px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.2);
}

.drawer a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  color: var(--ink);
}

.drawer a:hover,
.drawer a[aria-current="page"] { background: var(--wash); color: var(--red); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 2px solid transparent;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  line-height: 1;
}

.btn svg { width: 18px; height: 18px; flex: 0 0 auto; }

.btn-yellow { background: var(--yellow); color: var(--ink); }

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

.btn-red { background: var(--red); color: #fff; }

.btn-red:hover { background: var(--red-2); color: #fff; }

.btn-dark { background: var(--ink); color: #fff; }

.btn-dark:hover { background: #2a2a2a; color: #fff; }

.btn-line {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-line:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, 0.06); }

.head-call { min-height: 52px; padding: 12px 22px; box-shadow: 0 8px 18px rgba(245, 196, 0, 0.22); }

.hero { padding: 56px 0 24px; }

.hero-copy {
  min-width: 0;
  max-width: 100%;
  text-align: center;
}

.hero-copy .eyebrow { justify-content: center; }

.hero-copy .lede { margin-left: auto; margin-right: auto; }

.hero-copy .actions,
.band-copy .actions { justify-content: center; max-width: 100%; }

.hero-copy .ticks { justify-content: center; max-width: 100%; }

.hero-copy .ticks li,
.hero-copy .actions .btn,
.band-copy .actions .btn {
  max-width: 100%;
  min-width: 0;
  white-space: normal;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 40px;
  align-items: center;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 3px;
  border-radius: 2px;
  background: var(--red);
}

.eyebrow-light { color: var(--yellow); }

.eyebrow-light::before { background: var(--yellow); }

.lede {
  margin-top: 16px;
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.125rem;
  line-height: 1.55;
}

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

.ticks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.ticks li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14.5px;
}

.ticks li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
}

.hero-photo {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(14, 14, 14, 0.16);
  background: var(--wash);
}

.hero-photo img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.section { padding: 56px 0; }

.section-head {
  max-width: 720px;
  margin: 0 auto 24px;
  text-align: center;
}

.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.section-head .eyebrow,
.section-head.center .eyebrow { justify-content: center; }

.section-head .lede { margin-left: auto; margin-right: auto; }

.wash { background: var(--wash); }

.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  min-height: 100%;
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.card:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(14, 14, 14, 0.1); }

.card h3 { margin-top: 8px; }

.card p { color: var(--muted); font-size: 1rem; }

.card-icon {
  width: 48px;
  height: 48px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #fff1f0;
  color: var(--red);
}

.card-icon svg { width: 26px; height: 26px; }

.card-link {
  margin-top: auto;
  padding-top: 12px;
  font-weight: 800;
  color: var(--red);
  text-decoration: none;
}

.card-link:hover { text-decoration: underline; }

.card-feature {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.card-feature h3,
.card-feature p { color: #fff; }

.card-feature .card-icon { background: rgba(255, 255, 255, 0.16); color: #fff; }

.card-feature .card-link { color: #fff; }

.brand-strip {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  background: transparent;
  max-width: 100%;
  min-width: 0;
}

.brand-label {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: center;
}

.brand-scroller {
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  contain: paint;
  -webkit-overflow-scrolling: touch;
}

.brand-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 28px;
  width: max-content;
  max-width: none;
  margin: 0 auto;
  padding: 0 0 8px;
  list-style: none;
}

.brand-row li {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 40px;
}

.brand-row img {
  display: block;
  width: auto;
  height: 40px;
  max-width: 148px;
  max-height: 48px;
  object-fit: contain;
}

.promise-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  min-width: 0;
  max-width: 100%;
}

.promise {
  min-width: 0;
  max-width: 100%;
  background: var(--ink);
  color: #fff;
  border-radius: 16px;
  border-top: 3px solid var(--red);
  padding: 14px 8px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
}

.promise-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: var(--yellow);
  flex: 0 0 auto;
  margin-bottom: 2px;
}

.promise-icon svg {
  width: 26px;
  height: 26px;
  display: block;
}

.promise-title {
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: -0.03em;
  line-height: 1.15;
  overflow-wrap: break-word;
  max-width: 100%;
}

.promise-line {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.3;
  overflow-wrap: break-word;
  max-width: 100%;
}

.promise-label {
  margin-top: 2px;
  color: var(--yellow);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.2;
}

@media (min-width: 960px) {
  .promise-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
  }

  .promise { padding: 20px 12px 16px; gap: 6px; }

  .promise-icon { width: 32px; height: 32px; }

  .promise-title { font-size: 1.2rem; }

  .promise-line { font-size: 0.92rem; }

  .promise-label { font-size: 11px; letter-spacing: 0.14em; }
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 20px;
  min-width: 0;
  max-width: 100%;
  text-align: center;
}

.step b {
  display: block;
  color: var(--red);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}

.step p { margin-top: 8px; color: var(--muted); }

.repair-note {
  margin-top: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  border-radius: var(--radius);
  padding: 20px 22px;
  min-width: 0;
  max-width: 100%;
  text-align: center;
}

.repair-note p { margin-top: 8px; color: var(--muted); }

.repair-note a { color: var(--red); font-weight: 800; }

.prose-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
}

.prose-grid article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 20px;
  min-width: 0;
  max-width: 100%;
  text-align: center;
}

.prose-grid p { margin-top: 8px; color: var(--muted); }

.prose-grid a { color: var(--red); font-weight: 800; }

.city-list, .region-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  max-width: 100%;
  min-width: 0;
}

.city-list a, .region-list a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 14.5px;
}

.city-list a:hover, .region-list a:hover {
  border-color: var(--red);
  color: var(--red);
}

.region-list { margin-top: 12px; }

.areas h3 { margin-top: 24px; font-size: 1rem; text-align: center; }

.areas .wrap > p { text-align: center; }

#city-empty { text-align: center; }

label[for="city-search"] {
  display: block;
  font-weight: 800;
  margin: 8px 0;
  text-align: center;
}

.search {
  display: block;
  width: min(28rem, 100%);
  max-width: 100%;
  min-height: 48px;
  margin: 0 auto 8px;
  padding: 10px 14px;
  border: 1px solid #cfd3d8;
  border-radius: 12px;
  background: var(--white);
  color: var(--text);
  font: inherit;
  font-size: 16px;
}

.warn {
  margin-top: 16px;
  background: #fff5f5;
  border: 1px solid #ffd0d0;
  border-left: 4px solid var(--red);
  border-radius: 12px;
  padding: 16px 18px;
}

.warn p { color: var(--text); }

.fact-block {
  margin-top: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
}

.fact-block p { margin-top: 8px; color: var(--muted); }

.fact-block a, .text-link { color: var(--red); font-weight: 800; }

.google-reviews { padding: 56px 0; max-width: 100%; min-width: 0; }

.reviews-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  justify-items: center;
  align-items: center;
  margin-bottom: 20px;
  text-align: center;
}

.reviews-head > div { max-width: 100%; min-width: 0; }

.reviews-head .btn { align-self: center; }

.reviews-head .eyebrow { justify-content: center; }

.reviews-titleline {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 100%;
  min-width: 0;
}

.reviews-titleline h2 {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  text-align: center;
}

.reviews-scoreline {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin: 0;
  font-weight: 800;
}

.review-score { font-size: 1.7rem; letter-spacing: -0.04em; color: var(--ink); }

.review-meta { color: var(--muted); font-weight: 700; }

.reviews-lede { color: var(--muted); max-width: 40rem; margin-left: auto; margin-right: auto; }

.review-scroller {
  /* The track is wider than the page on purpose. Paint containment keeps that
     width inside this scroller so it cannot stretch the document. The track
     moves with a transform, so the animation does not change document flow. */
  overflow: hidden;
  max-width: 100%;
  min-width: 0;
  contain: paint;
  padding: 4px 2px 16px;
}

.review-track {
  display: flex;
  width: max-content;
  animation: review-marquee 70s linear infinite;
}

.review-scroller.is-paused .review-track,
.review-scroller:hover .review-track,
.review-scroller:focus-within .review-track {
  animation-play-state: paused;
}

@keyframes review-marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

.review-set { display: flex; gap: 16px; padding-right: 16px; }

.review-card {
  flex: 0 0 min(320px, 82vw);
  min-width: 0;
  min-height: 292px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.review-who { display: flex; gap: 12px; align-items: center; }

.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--yellow);
  font-weight: 800;
  font-size: 13px;
  flex: 0 0 auto;
}

.review-name { font-weight: 800; color: var(--ink); overflow-wrap: anywhere; }

.review-when { color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }

.review-stars {
  margin: 0;
  color: #e0a800;
  letter-spacing: 0.08em;
  font-size: 15px;
  line-height: 1;
}

.review-text { color: var(--text); font-size: 1rem; }

.review-clamp { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }

.review-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  border: 0;
}

.review-clamp .review-text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}

.review-toggle:checked ~ .review-text {
  display: block;
  -webkit-line-clamp: unset;
  /* Stay inside the reserved card so opening a review does not push the page. */
  max-height: 8.6em;
  overflow: auto;
}

.review-more {
  background: none;
  border: 0;
  padding: 0;
  color: var(--red);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.review-more .when-less { display: none; }

.review-toggle:checked ~ .review-more .when-more { display: none; }

.review-toggle:checked ~ .review-more .when-less { display: inline; }

.faq-list { display: grid; gap: 8px; }

.faq-list details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 16px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 800;
  padding: 16px 0;
  color: var(--ink);
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr) 16px;
  align-items: center;
  gap: 8px;
  text-align: center;
  list-style: none;
  overflow-wrap: break-word;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::marker { content: ""; }

.faq-list summary::before {
  content: "";
  width: 8px;
  height: 8px;
  justify-self: center;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
}

.faq-list details[open] > summary::before { transform: rotate(45deg); }

.faq-list details p {
  color: var(--muted);
  padding-bottom: 16px;
  text-align: center;
  overflow-wrap: break-word;
}

.band { background: var(--ink); color: #fff; padding: 56px 0; }

.band h2, .band p { color: #fff; }

.band .lede { color: rgba(255, 255, 255, 0.78); }

.band-row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr);
  gap: 32px;
  align-items: center;
}

.band-copy {
  min-width: 0;
  max-width: 100%;
  text-align: center;
}

.band-copy .eyebrow { justify-content: center; }

.band-copy .lede { margin-left: auto; margin-right: auto; }

.proof {
  background: #1a1a1a;
  border-radius: 16px;
  padding: 20px 22px;
  text-align: center;
  min-width: 0;
  max-width: 100%;
}

.proof-score { font-weight: 800; font-size: 1.15rem; }

.proof-score span { color: var(--yellow); letter-spacing: 0.08em; margin-right: 8px; }

.proof ul { margin: 12px 0 0; padding: 0; list-style: none; }

.proof li { padding: 6px 0; border-top: 1px solid rgba(255, 255, 255, 0.08); font-weight: 700; }

.foot { background: #0a0a0a; color: rgba(255, 255, 255, 0.78); padding: 48px 0 32px; }

.foot a { color: #fff; text-decoration: none; }

.foot a:hover { color: var(--yellow); }

.foot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  text-align: center;
}

.foot-name { color: #fff; font-weight: 800; font-size: 1.2rem; letter-spacing: -0.03em; }

.foot p { margin-top: 8px; }

.foot-h {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
}

.foot ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; justify-items: center; }

.foot li,
.foot a { max-width: 100%; overflow-wrap: anywhere; }

.foot-bottom {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  gap: 12px;
  text-align: center;
  justify-items: center;
}

.foot-cities, .foot-links { display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: 14px; }

.dock { display: none; }

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 24px;
  align-items: start;
}

.address-card, .form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 24px;
}

.address-card p { margin-top: 8px; color: var(--muted); }

.address-card a.mail { color: var(--red); font-weight: 800; }

.fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }

.field { display: grid; gap: 6px; text-align: left; }

.form-card,
.address-card,
.field label { text-align: left; }

.field.wide { grid-column: 1 / -1; }

.field label { font-weight: 800; font-size: 14px; }

.field input, .field select, .field textarea {
  width: 100%;
  max-width: 100%;
  min-height: 48px;
  border: 1px solid #d5d8dd;
  border-radius: 12px;
  padding: 10px 12px;
  font: inherit;
  font-size: 16px;
  color: var(--text);
  background: #fff;
}

.field textarea { min-height: 120px; resize: vertical; }

.hp {
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.hp label,
.hp input {
  width: 1px;
  height: 1px;
  max-width: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.form-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 8px; }

.pin {
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font: inherit;
  font-weight: 800;
  padding: 8px 16px;
  cursor: pointer;
}

.pin:hover { border-color: var(--ink); }

.note, .legal { color: var(--muted); font-size: 14px; }

.legal { font-size: 12px; margin-top: 8px; }

.legal a { color: var(--red); }

.alert {
  border: 1px solid #ffd0d0;
  background: #fff5f5;
  color: var(--red);
  border-radius: 12px;
  padding: 10px 12px;
  font-weight: 700;
}

.alert:empty { display: none; }

.crumb { font-size: 14px; color: var(--muted); margin-bottom: 16px; }

.crumb a { color: var(--muted); font-weight: 700; }

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

.btn-yellow:focus-visible { outline-color: var(--ink); }

@media (max-width: 1080px) {
  .nav { display: none; }
  .nav-drawer { display: block; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

@media (max-width: 860px) {
  .hero-grid, .band-row, .contact-grid, .prose-grid, .steps { grid-template-columns: minmax(0, 1fr); }
  .head-row { flex-wrap: wrap; row-gap: 8px; }
  .head-call {
    display: inline-flex;
    flex: 0 1 auto;
    max-width: 100%;
    min-height: 44px;
  }
  .reviews-head { grid-template-columns: minmax(0, 1fr); }
  .brand { flex: 1 1 auto; overflow: hidden; }
  .nav-drawer { flex: 0 0 auto; }
  .logo { height: auto; max-height: 38px; width: auto; max-width: 100%; }
  .hero { padding-top: 32px; }
  .section, .google-reviews, .band { padding: 40px 0; }
  .dock {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 0.75fr);
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    gap: 8px;
    max-width: 100%;
    padding:
      8px
      max(8px, env(safe-area-inset-right, 0px))
      calc(8px + env(safe-area-inset-bottom, 0px))
      max(8px, env(safe-area-inset-left, 0px));
    background: var(--ink);
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.18);
  }
  .dock .btn { min-height: 48px; min-width: 0; max-width: 100%; font-size: 14px; padding: 8px 10px; }
  /* The bar is position:fixed, so it does not take flow space. Padding on the
     body is painted with the white page background and shows as a band above
     the bar. The footer's own padding is painted with its black background.
     32px is that footer padding, so the copyright stays readable. 64px is the
     bar (8px + 48px button + 8px). Safe-area matches the bar's bottom inset.
     This query does not apply on desktop, where the bar is hidden. */
  body { padding-bottom: 0; }
  .foot { padding-bottom: calc(32px + 64px + env(safe-area-inset-bottom, 0px)); }
}

@media (max-width: 700px) {
  .cards,
  .fields,
  .foot-grid,
  .steps,
  .prose-grid,
  .hero-grid,
  .band-row,
  .contact-grid,
  .reviews-head { grid-template-columns: minmax(0, 1fr); }
  .foot-grid,
  .foot-bottom { text-align: center; }
  .foot ul { justify-items: center; }
  .foot li,
  .foot a { max-width: 100%; }
  .brand { order: 1; flex: 1 1 0%; min-width: 0; }
  .nav-drawer { order: 2; }
  .head-call { order: 3; flex: 1 1 100%; justify-content: center; }
  .head-row { min-height: 0; padding-top: 10px; padding-bottom: 10px; }
  .review-card {
    flex-basis: calc(100vw - 56px);
    max-width: calc(100vw - 56px);
  }
  .card p,
  .step p,
  .prose-grid p,
  .repair-note p,
  .fact-block p,
  .review-text,
  .faq-list details p,
  .lede,
  .address-card p,
  .warn p,
  .note,
  .ticks li { font-size: 1rem; }
  .form-row .btn { max-width: 100%; }
}

@media (max-width: 360px) {
  h1 { font-size: clamp(1.7rem, 8.2vw, 2.15rem); }
  h2 { font-size: clamp(1.3rem, 6.2vw, 1.65rem); }
  h3 { font-size: 1.05rem; }
  .dock { grid-template-columns: minmax(0, 1.85fr) minmax(0, 0.7fr); }
  .dock .btn { font-size: 13px; padding: 8px 8px; gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card { transition: none; }
  .review-track { animation: none; }
}
