.exhaust-repair {
  --ex-paper: #f3f1ec;
  --ex-ink: #181818;
  --ex-muted: #55585c;
  --ex-line: #d3d0ca;
  --ex-red: #b51f24;
  --ex-bright: #ff8a84;
  background: var(--ex-paper);
  color: var(--ex-ink);
  font-family: var(--body);
}

.exhaust-repair__frame { width: min(1280px, calc(100% - 64px)); }
.exhaust-repair__section { padding-block: 80px; scroll-margin-top: 8px; }
.exhaust-repair__heading { max-width: 680px; }
.exhaust-repair__heading h2 {
  margin: 8px 0 0;
  color: inherit;
  font: 700 2.25rem/2.5rem var(--body);
  letter-spacing: -.04em;
  text-transform: none;
  text-wrap: balance;
}
.exhaust-repair__heading p { margin: 16px 0 0; color: var(--ex-muted); font-size: 1rem; line-height: 1.5rem; text-wrap: pretty; }
.exhaust-repair__label { color: var(--ex-red); font-size: .875rem; line-height: 1.25rem; font-weight: 700; }
.exhaust-repair :where(a, button, summary, input):focus-visible { outline: 2px solid #1873c9; outline-offset: 4px; }
.exhaust-repair h3 { margin: 0; color: inherit; font: 700 1.25rem/1.75rem var(--body); letter-spacing: -.025em; text-transform: none; }
.exhaust-repair figure { margin: 0; }
.exhaust-repair figure img { display: block; width: 100%; height: auto; }
.exhaust-repair figure figcaption { margin-top: 8px; color: #c4c2bf; font-size: .75rem; line-height: 1rem; }

.exhaust-repair__hero { padding: calc(var(--header) + 32px) 0 32px; background: #181818; color: white; }
.exhaust-repair__crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; color: #b8b7b5; font-size: .875rem; line-height: 1.25rem; }
.exhaust-repair__crumbs a { color: white; }
.exhaust-repair__crumbs a:hover { text-decoration: underline; }
.exhaust-repair__hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: 32px; }
.exhaust-repair__hero .exhaust-repair__label, .exhaust-repair__diagnostic .exhaust-repair__label, .exhaust-repair__form .exhaust-repair__label { color: var(--ex-bright); }
.exhaust-repair__hero-copy { max-width: 680px; padding-block: 24px; }
.exhaust-repair__hero-copy .exhaust-repair__label { margin: 0 0 16px; }
.exhaust-repair__hero h1 {
  margin: 0;
  color: #fff;
  font: 700 3rem/1 var(--body);
  letter-spacing: -.055em;
  text-transform: none;
  text-wrap: balance;
}
@supports (background-clip: text) {
  .exhaust-repair__hero h1 { background-image: linear-gradient(90deg, #fff, #c7c7c7); background-clip: text; color: transparent; }
}
.exhaust-repair__lead { margin: 24px 0 0; max-width: 680px; color: #ddd9d5; font-size: 1.125rem; line-height: 1.75rem; text-wrap: pretty; }
.exhaust-repair__hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 32px; }
.exhaust-repair__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 8px 12px;
  border: 0;
  border-radius: 8px;
  background: var(--ex-red);
  color: white;
  font: 700 1rem/1.5rem var(--body);
  text-align: center;
  cursor: pointer;
}
.exhaust-repair__button:hover, .exhaust-repair__form .de-lead-form__row button:hover { background: #951a1e; }
.exhaust-repair__button:active { transform: translateY(1px); }
.exhaust-repair__text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: white; font-size: .875rem; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.exhaust-repair__text-link:hover { color: var(--ex-bright); }
.exhaust-repair__hero-photo img, .exhaust-repair__diagnostic-photo img { border-radius: 16px; aspect-ratio: 3/2; object-fit: cover; background: #272727; }
.exhaust-repair__trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 32px 0 0; padding: 16px; border: 1px solid #4b4b4b; border-radius: 16px; }
.exhaust-repair__trust > div { padding: 8px; }
.exhaust-repair__trust dt { color: #fff; font-size: 1rem; line-height: 1.5rem; font-weight: 700; }
.exhaust-repair__trust dd { margin: 4px 0 0; color: #c4c2bf; font-size: .875rem; line-height: 1.25rem; }

.exhaust-repair__symptoms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 32px 0 0; padding: 0; list-style: none; }
.exhaust-repair__symptoms li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; padding: 24px; background: white; border: 1px solid var(--ex-line); border-radius: 16px; }
.exhaust-repair__symptoms li > span, .exhaust-repair__process li > span { color: var(--ex-red); font-size: .875rem; line-height: 1.75rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.exhaust-repair__symptoms p, .exhaust-repair__repair-copy p, .exhaust-repair__choice article p { margin: 8px 0 0; color: var(--ex-muted); font-size: 1rem; line-height: 1.5rem; text-wrap: pretty; }

.exhaust-repair__diagnostic { background: #181818; color: white; }
.exhaust-repair__diagnostic .exhaust-repair__heading p { color: #ddd9d5; }
.exhaust-repair__diagnostic-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; margin-top: 32px; }
.exhaust-repair__steps { display: grid; align-content: start; gap: 8px; margin: 0; padding: 0; list-style: none; }
.exhaust-repair__steps li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; padding: 16px; background: #272727; border: 1px solid #505050; border-radius: 12px; }
.exhaust-repair__steps li > span { color: var(--ex-bright); font-weight: 700; font-size: .875rem; line-height: 1.75rem; font-variant-numeric: tabular-nums; }
.exhaust-repair__steps p { margin: 4px 0 0; color: #ddd9d5; font-size: 1rem; line-height: 1.5rem; text-wrap: pretty; }
.exhaust-repair__diagnostic-note { margin: 24px 0 0; padding: 16px; border: 1px solid #69615e; border-radius: 12px; color: #fff; font-size: .875rem; line-height: 1.25rem; text-wrap: pretty; }

.exhaust-repair__repairs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.exhaust-repair__repairs article { border: 1px solid var(--ex-line); border-radius: 16px; overflow: hidden; background: #fff; }
.exhaust-repair__repairs img { display: block; width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; background: #272727; }
.exhaust-repair__repair-copy { padding: 24px; }
.exhaust-repair__repair-copy h3 { margin-top: 8px; }
.exhaust-repair__repair-copy ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.exhaust-repair__repair-copy li { padding: 4px 8px; border: 1px solid var(--ex-line); border-radius: 8px; color: var(--ex-muted); font-size: .875rem; line-height: 1.25rem; }
.exhaust-repair__choice { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 32px; margin-top: 48px; padding: 24px; border: 1px solid var(--ex-line); border-radius: 16px; background: #eae7e0; }
.exhaust-repair__choice > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.exhaust-repair__choice article { padding: 16px; border-radius: 12px; background: #fff; }

.exhaust-repair__process { background: #eae7e0; }
.exhaust-repair__process ol { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 32px 0 0; padding: 0; list-style: none; }
.exhaust-repair__process li { padding: 16px; border: 1px solid var(--ex-line); border-radius: 12px; background: var(--ex-paper); }
.exhaust-repair__process li p { margin: 8px 0 0; font-size: 1rem; line-height: 1.5rem; }

.exhaust-repair__price { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); align-items: start; gap: 48px; }
.exhaust-repair__price ul { display: grid; gap: 16px; margin: 24px 0; padding: 0; list-style: none; }
.exhaust-repair__price li p { margin: 4px 0 0; color: var(--ex-muted); font-size: 1rem; line-height: 1.5rem; }
.exhaust-repair__warranty { display: grid; gap: 4px; margin: 0; padding: 16px; border: 1px solid var(--ex-line); border-radius: 12px; background: #fff; }
.exhaust-repair__warranty span { color: var(--ex-muted); font-size: .875rem; line-height: 1.25rem; }
.exhaust-repair__form { padding: 32px; border-radius: 16px; background: #181818; color: white; --de-accent: #b51f24; --de-accent-rgb: 181, 31, 36; }
.exhaust-repair__form h3 { margin-top: 8px; }
.exhaust-repair__form > p { margin: 8px 0 0; color: #ddd9d5; font-size: 1rem; line-height: 1.5rem; }
.exhaust-repair__form .de-lead-form__row button { font: 700 1rem/1.5rem var(--body); text-transform: none; letter-spacing: normal; cursor: pointer; }
.exhaust-repair__form .de-lead-form__direct { display: flex; flex-wrap: wrap; gap: 8px; }
.exhaust-repair__form .de-lead-form__direct a { flex: 1 0 auto; padding-inline: 8px; color: white; }
.exhaust-repair__form .de-privacy-notice { color: #c4c2bf; }

.exhaust-repair__booking { background: #eae7e0; }
.exhaust-repair__booking .catalyst-original { margin-top: 24px; }
.exhaust-repair :is(#engineering-studio-title, #works-title, #reviews-title) {
  font-family: var(--body);
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 2.5rem;
  text-transform: none;
  letter-spacing: -.04em;
}

.exhaust-repair__faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 32px; align-items: start; }
.exhaust-repair__faq details { margin-bottom: 8px; border: 1px solid var(--ex-line); border-radius: 12px; background: white; }
.exhaust-repair__faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 48px; padding: 16px; font-weight: 700; line-height: 1.5rem; list-style: none; cursor: pointer; }
.exhaust-repair__faq summary::-webkit-details-marker { display: none; }
.exhaust-repair__faq summary::after { content: "+"; flex: none; color: var(--ex-red); font-size: 1.25rem; }
.exhaust-repair__faq details[open] summary::after { content: "−"; }
.exhaust-repair__faq summary:hover { color: var(--ex-red); }
.exhaust-repair__faq details p { margin: 0; padding: 0 16px 16px; color: var(--ex-muted); font-size: 1rem; line-height: 1.5rem; text-wrap: pretty; }

.exhaust-repair__related { padding-top: 0; }
.exhaust-repair__related ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 24px 0 0; padding: 0; list-style: none; }
.exhaust-repair__related a { display: flex; height: 100%; min-height: 48px; align-items: center; justify-content: space-between; gap: 12px; padding: 16px; border: 1px solid var(--ex-line); border-radius: 12px; background: white; color: var(--ex-ink); font-weight: 700; }
.exhaust-repair__related a:hover, .exhaust-repair__related a span { color: var(--ex-red); }

@media (max-width: 899px) {
  .exhaust-repair__frame { width: calc(100% - 48px); }
  .exhaust-repair__section { padding-block: 48px; }
  .exhaust-repair__hero-grid, .exhaust-repair__price, .exhaust-repair__faq { grid-template-columns: 1fr; gap: 24px; }
  .exhaust-repair__hero-copy { padding-block: 0; }
  .exhaust-repair__hero h1 { font-size: 2.25rem; line-height: 2.5rem; }
  .exhaust-repair__symptoms, .exhaust-repair__process ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .exhaust-repair__choice { grid-template-columns: 1fr; gap: 24px; }
  .exhaust-repair__related { padding-top: 0; }
}

@media (max-width: 599px) {
  .exhaust-repair__frame { width: calc(100% - 32px); }
  .exhaust-repair__hero { padding-block: calc(var(--header) + 16px) 24px; }
  .exhaust-repair__hero h1, .exhaust-repair__heading h2, .exhaust-repair :is(#engineering-studio-title, #works-title, #reviews-title) { font-size: 1.875rem; line-height: 2.25rem; }
  .exhaust-repair__crumbs { margin-bottom: 16px; }
  .exhaust-repair__hero-copy .exhaust-repair__label { margin-bottom: 8px; }
  .exhaust-repair__lead { margin-top: 16px; font-size: 1rem; line-height: 1.5rem; }
  .exhaust-repair__hero-actions { margin-top: 16px; gap: 8px 16px; }
  .exhaust-repair__hero-grid, .exhaust-repair__trust, .exhaust-repair__symptoms, .exhaust-repair__diagnostic-grid, .exhaust-repair__repairs, .exhaust-repair__choice > div, .exhaust-repair__process ol, .exhaust-repair__related ul { grid-template-columns: 1fr; gap: 12px; }
  .exhaust-repair__trust { margin-top: 16px; padding: 12px; }
  .exhaust-repair__trust > div { padding: 4px; }
  .exhaust-repair__symptoms li, .exhaust-repair__repair-copy, .exhaust-repair__choice, .exhaust-repair__form { padding: 16px; }
  .exhaust-repair__repairs img { aspect-ratio: 3/2; }
}

@media (forced-colors: active) {
  .exhaust-repair__hero h1 { background-image: none; color: CanvasText; }
}
