:root {
  --zx-panel: #0d1728;
  --zx-panel-soft: #121f34;
  --zx-line: rgba(245, 158, 11, 0.28);
  --zx-amber: #f59e0b;
  --zx-amber-light: #fbbf24;
  --zx-green: #22c55e;
  --zx-copy: #e2e8f0;
}

.zx-specialty {
  width: min(1100px, calc(100% - 32px));
  margin: 32px auto;
  color: var(--zx-copy);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.zx-specialty__inner {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--zx-line);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(245, 158, 11, 0.09), transparent 42%),
    linear-gradient(180deg, var(--zx-panel-soft), var(--zx-panel));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
}

.zx-specialty__inner::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(var(--zx-amber-light), var(--zx-amber));
}

.zx-eyebrow {
  margin: 0 0 8px;
  color: var(--zx-amber-light) !important;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.zx-specialty h2 {
  margin: 0;
  color: #fff !important;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.15;
}

.zx-specialty__intro {
  max-width: 760px;
  margin: 10px 0 24px !important;
  color: #cbd5e1 !important;
  font-size: 1rem;
}

.zx-specialty__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.zx-specialty__item {
  padding: 19px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 12px;
  background: rgba(2, 6, 23, 0.46);
}

.zx-specialty__item strong {
  display: block;
  margin-bottom: 6px;
  color: #fff;
  font-size: 1rem;
}

.zx-specialty__item p {
  margin: 0 !important;
  color: #aebdd0 !important;
  font-size: 0.92rem;
}

.zx-mobile-actions {
  display: none;
}

@media (max-width: 767.98px) {
  body {
    padding-bottom: calc(92px + env(safe-area-inset-bottom)) !important;
  }

  .sticky-cta {
    display: none !important;
  }

  .zx-specialty {
    width: min(100% - 20px, 1100px);
    margin: 18px auto;
  }

  .zx-specialty__inner {
    padding: 24px 18px;
    border-radius: 14px;
  }

  .zx-specialty__grid {
    grid-template-columns: 1fr;
  }

  .zx-mobile-actions {
    position: fixed;
    z-index: 2147483000;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 9px 10px calc(9px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(3, 7, 18, 0.96);
    box-shadow: 0 -12px 32px rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(12px);
  }

  .zx-mobile-actions a {
    display: flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    padding: 10px 8px;
    border-radius: 9px;
    text-align: center;
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 950;
    line-height: 1.15;
  }

  .zx-mobile-actions__call {
    background: var(--zx-amber);
    color: #111827 !important;
  }

  .zx-mobile-actions__text {
    background: var(--zx-green);
    color: #04130a !important;
  }
}




.zx-specialty__makes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -8px 0 22px;
}

.zx-specialty__makes span {
  padding: 7px 11px;
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.08);
  color: #fbbf24;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.zx-diagnostic-local {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(220px, 0.7fr);
  gap: 22px;
  margin-top: 20px;
  padding: 22px;
  border: 1px solid rgba(34, 197, 94, 0.22);
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.08), rgba(2, 6, 23, 0.56));
}

.zx-diagnostic-local__label {
  display: block;
  margin-bottom: 7px;
  color: #4ade80;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.zx-diagnostic-local h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 1.2rem;
}

.zx-diagnostic-local p {
  margin: 0 !important;
  color: #b8c5d6 !important;
  font-size: 0.92rem;
}

.zx-diagnostic-links {
  display: grid;
  align-content: center;
  gap: 9px;
}

.zx-diagnostic-link {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 9px 12px;
  border: 1px solid rgba(245, 158, 11, 0.34);
  border-radius: 8px;
  color: #fbbf24 !important;
  text-align: center;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 850;
}

.zx-diagnostic-link:hover,
.zx-diagnostic-link:focus-visible {
  border-color: #f59e0b;
  background: rgba(245, 158, 11, 0.1);
}

.zx-diagnostic-link--call {
  border-color: #f59e0b;
  background: #f59e0b;
  color: #111827 !important;
}

.zx-diagnostic-link--current {
  color: #94a3b8 !important;
  cursor: default;
}

@media (max-width: 767.98px) {
  .zx-diagnostic-local {
    grid-template-columns: 1fr;
    padding: 18px;
  }
}

/* The diagnostics panel now sits inside the page content wrapper (after the
   page-specific intro) rather than full-bleed under the hero. Inside a wrapper
   it should run flush with the body copy instead of keeping its own inset. */
.container > .zx-specialty,
.wrap > .zx-specialty,
.content > .zx-specialty {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

/* ---------------------------------------------------------------------------
   Trust blocks
   Added across every page over several passes with their own inline styles.
   These rules normalise the ones that differ and give new blocks a home so
   future pages only need class="trust-block".
   --------------------------------------------------------------------------- */
.trust-block {
  margin: 2.5rem 0;
  padding: 1.4rem 1.5rem;
  border: 1px solid rgba(245, 158, 11, 0.22);
  border-left: 4px solid var(--zx-amber);
  border-radius: 10px;
  background: rgba(245, 158, 11, 0.05);
}

.trust-block h3 {
  margin: 0 0 10px;
  color: var(--zx-amber) !important;
  font-size: 1.15rem;
  line-height: 1.3;
}

.trust-block p {
  margin: 0 !important;
  color: #cbd5e1 !important;
  line-height: 1.8;
}

.trust-block a {
  color: var(--zx-amber) !important;
  font-weight: 700;
  text-decoration: none;
}

.trust-block a:hover,
.trust-block a:focus-visible {
  text-decoration: underline;
}

/* ---------------------------------------------------------------------------
   Homepage service cards — the six most-booked repairs
   --------------------------------------------------------------------------- */
.zx-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.zx-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.zx-card:hover,
.zx-card:focus-within {
  border-color: rgba(245, 158, 11, 0.5);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
  transform: translateY(-3px);
}

.zx-card h3 {
  margin: 12px 0 4px;
  font-size: 1.1rem;
}

.zx-card h3 a {
  display: inline-block;
  min-height: 44px;
  padding: 10px 0;
  color: #fff !important;
  text-decoration: none;
  line-height: 1.4;
}

.zx-card h3 a:hover,
.zx-card h3 a:focus-visible {
  color: var(--zx-amber) !important;
}

/* The whole card is clickable via the heading link; stretch its hit area. */
.zx-card h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.zx-card__price {
  margin: 0 0 6px !important;
  color: var(--zx-amber) !important;
  font-size: 1.15rem;
  font-weight: 800;
}

.zx-card__desc {
  margin: 0 !important;
  color: #94a3b8 !important;
  font-size: .92rem;
  line-height: 1.6;
}

/* ---------------------------------------------------------------------------
   FAQ accordion
   The markup stays expanded in the HTML so crawlers and no-JS visitors get the
   full answers; site-enhancements.js collapses it and adds the toggle button.
   Styles below only apply once JS has marked the list as enhanced.
   --------------------------------------------------------------------------- */
[data-zx-accordion] .faq-item {
  margin-bottom: 0 !important;
  padding: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

[data-zx-accordion] .faq-item:last-child {
  border-bottom: none;
}

[data-zx-accordion] .zx-faq-toggle {
  display: flex;
  width: 100%;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 4px;
  border: 0;
  background: none;
  color: #fff;
  cursor: pointer;
  text-align: left;
  font: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
}

[data-zx-accordion] .zx-faq-toggle:hover,
[data-zx-accordion] .zx-faq-toggle:focus-visible {
  color: var(--zx-amber);
}

[data-zx-accordion] .zx-faq-icon {
  flex-shrink: 0;
  width: 22px;
  color: var(--zx-amber);
  text-align: center;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
  transition: transform .25s ease;
}

[data-zx-accordion] .zx-faq-toggle[aria-expanded="true"] .zx-faq-icon {
  transform: rotate(45deg);
}

[data-zx-accordion] .zx-faq-answer {
  padding: 0 4px 18px;
}

[data-zx-accordion] .zx-faq-answer > p {
  margin: 0 !important;
}

/* ---------------------------------------------------------------------------
   Tap targets — bring the small standalone links up to the 44px iOS/Android
   minimum. Deliberately narrow: a blanket `a { min-height: 44px }` would
   blockify links set inside body copy, and the big .cta / .btn buttons already
   clear 44px on their own padding, so touching them here would only shrink
   them (an `a.cta` rule outranks each page's own `.cta { display: block }`).
   --------------------------------------------------------------------------- */
.city-tag,
.internal-links a,
.zx-diagnostic-link,
.back-home {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.city-tag {
  padding: 12px 14px;
}

.internal-links a,
.back-home {
  padding: 10px 2px;
}

button,
input[type="submit"],
[type="button"] {
  min-height: 44px;
}

/* ---------------------------------------------------------------------------
   Request form validation feedback
   --------------------------------------------------------------------------- */
.zx-field-error {
  display: block;
  margin: -8px 0 12px;
  color: #fca5a5;
  font-size: .85rem;
  font-weight: 600;
}

input[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: #ef4444 !important;
}

.zx-form-note {
  margin-top: 12px;
  color: #64748b;
  font-size: .85rem;
  text-align: center;
}

/* Some FAQ items mark the question with <strong itemprop="name"> instead of a
   heading. Once it wraps a toggle it has to behave like a block. */
[data-zx-accordion] strong:has(> .zx-faq-toggle),
[data-zx-accordion] h3:has(> .zx-faq-toggle),
[data-zx-accordion] h4:has(> .zx-faq-toggle) {
  display: block;
  margin: 0 !important;
  padding: 0;
}

/* ---------------------------------------------------------------------------
   Tap targets — the dense link rows
   Three rows ship as unclassed, inline-styled flex containers: the sticky nav's
   social icons, the footer's social row, and the footer's site-wide link grid.
   All three sit well under the 44px touch minimum.
   --------------------------------------------------------------------------- */

/* The nav is sticky and already exactly 44px tall (20px icons + 12px padding
   each side), so growing these links would grow the bar and eat viewport on a
   phone. Expand the hit area with a pseudo-element instead — it overlays the
   link, so taps on it still land on the link, and nothing reflows. */
.zx-header-social a {
  position: relative;
}

.zx-header-social a::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  height: 44px;
  transform: translate(-50%, -50%);
}

/* Icon-only links: 34px wide, which is the icon pitch (20px icon + 14px gap).
   A full 44px would spill into the next icon and steal its taps. */
.zx-header-social a[aria-label]::after {
  width: 34px;
}

/* The phone number is the row's real CTA and is already wide enough — it just
   needs the height, so its hit area tracks the pill it sits in. */
.zx-header-social a[href^="tel:"]::after {
  width: 100%;
}

/* The footer rows have room to grow, but only where it buys something: with a
   mouse these read fine at their natural size, and 44px rows would add real
   height to a grid that runs fifteen-plus links. */
@media (pointer: coarse) {
  .zx-footer-links a,
  .zx-footer-social a {
    min-height: 44px;
    align-items: center;
    justify-content: center;
  }

  .zx-footer-links a {
    display: inline-flex;
    padding: 0 8px;
  }
}

/* ---------------------------------------------------------------------------
   Ask-the-mechanic assistant
   A launcher and chat panel injected by site-enhancements.js on every page.
   Bottom-right is where people look for a chat bubble. On phones the fixed
   call/text bar owns the bottom edge, so the launcher lifts above it (see the
   media query at the end of this block).
   --------------------------------------------------------------------------- */
.zx-ask-launcher {
  position: fixed;
  z-index: 2147482000;
  bottom: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 18px 12px 14px;
  border: 1px solid var(--zx-line);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--zx-panel-soft), #0a1424);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.5);
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.zx-ask-launcher:hover {
  transform: translateY(-2px);
  border-color: var(--zx-amber);
}

.zx-ask-launcher:focus-visible {
  outline: 3px solid var(--zx-amber-light);
  outline-offset: 3px;
}

.zx-ask-launcher__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--zx-green);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18);
}

.zx-ask-launcher[hidden],
.zx-ask-panel[hidden] {
  display: none;
}

.zx-ask-panel {
  position: fixed;
  z-index: 2147482100;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  width: min(390px, calc(100vw - 40px));
  max-height: min(620px, calc(100vh - 40px));
  overflow: hidden;
  border: 1px solid var(--zx-line);
  border-radius: 16px;
  background: linear-gradient(180deg, var(--zx-panel-soft), var(--zx-panel));
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.6);
  color: var(--zx-copy);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.zx-ask-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px 14px 13px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.13), transparent 60%);
}

.zx-ask-head__text {
  flex: 1;
  min-width: 0;
}

.zx-ask-head strong {
  display: block;
  color: #fff;
  font-size: 1rem;
  line-height: 1.2;
}

.zx-ask-head span {
  display: block;
  margin-top: 3px;
  color: #94a3b8;
  font-size: 0.76rem;
  line-height: 1.35;
}

.zx-ask-head span a {
  color: var(--zx-amber-light);
  font-weight: 700;
  text-decoration: none;
}

.zx-ask-close {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.04);
  color: #cbd5e1;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}

.zx-ask-close:hover {
  border-color: var(--zx-amber);
  color: var(--zx-amber);
}

.zx-ask-log {
  flex: 1;
  overflow-y: auto;
  padding: 16px 16px 4px;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.zx-ask-msg {
  max-width: 88%;
  margin-bottom: 12px;
  padding: 10px 13px;
  border-radius: 13px;
  font-size: 0.9rem;
  line-height: 1.5;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.zx-ask-msg--bot {
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom-left-radius: 4px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--zx-copy);
}

.zx-ask-msg--me {
  margin-left: auto;
  border-bottom-right-radius: 4px;
  background: var(--zx-amber);
  color: #111827;
  font-weight: 600;
}

.zx-ask-msg--error {
  border-color: rgba(248, 113, 113, 0.35);
  background: rgba(248, 113, 113, 0.1);
  color: #fca5a5;
}

.zx-ask-msg a {
  color: inherit;
  font-weight: 800;
  text-decoration: underline;
}

.zx-ask-msg--bot a {
  color: var(--zx-amber-light);
}

/* Three dots while the model is still thinking. */
.zx-ask-typing {
  display: inline-flex;
  gap: 4px;
  padding: 2px 0;
}

.zx-ask-typing i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--zx-amber);
  animation: zx-ask-bounce 1.1s infinite ease-in-out;
}

.zx-ask-typing i:nth-child(2) {
  animation-delay: 0.15s;
}

.zx-ask-typing i:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes zx-ask-bounce {
  0%, 80%, 100% { opacity: 0.3; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-4px); }
}

@media (prefers-reduced-motion: reduce) {
  .zx-ask-launcher,
  .zx-ask-typing i {
    transition: none;
    animation: none;
  }
}

.zx-ask-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 0 16px 12px;
}

.zx-ask-chips button {
  padding: 8px 12px;
  border: 1px solid var(--zx-line);
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.07);
  color: var(--zx-amber-light);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.zx-ask-chips button:hover {
  background: rgba(245, 158, 11, 0.16);
}

.zx-ask-form {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(3, 7, 18, 0.5);
}

.zx-ask-form textarea {
  flex: 1;
  max-height: 110px;
  min-height: 44px;
  padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-family: inherit;
  font-size: 0.9rem;
  line-height: 1.4;
  resize: none;
}

.zx-ask-form textarea::placeholder {
  color: #64748b;
}

.zx-ask-form textarea:focus {
  border-color: var(--zx-amber);
  outline: none;
}

.zx-ask-send {
  flex-shrink: 0;
  width: 46px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(180deg, var(--zx-amber-light), var(--zx-amber));
  color: #111827;
  font-size: 1.05rem;
  font-weight: 900;
  cursor: pointer;
}

.zx-ask-send:disabled {
  opacity: 0.45;
  cursor: default;
}

.zx-ask-foot {
  margin: 0;
  padding: 0 14px 11px;
  color: #64748b;
  font-size: 0.7rem;
  line-height: 1.4;
  text-align: center;
}

@media (max-width: 767.98px) {
  /* Clear of the fixed call/text bar that owns the bottom edge on phones. */
  .zx-ask-launcher {
    bottom: calc(100px + env(safe-area-inset-bottom));
    right: 12px;
    padding: 10px 15px 10px 12px;
    font-size: 0.85rem;
  }

  .zx-ask-panel {
    top: 10px;
    right: 10px;
    bottom: calc(84px + env(safe-area-inset-bottom));
    left: 10px;
    width: auto;
    max-height: none;
    border-radius: 14px;
  }
}
