/* Loaded only on /service. Shared navigation destinations and form logic stay intact. */
.nx-boot-failsafe .nx-lcp-hero__cta a:only-child {
  background: var(--nx-accent, #2563eb);
  border-color: transparent;
  color: #fff;
}
#hero .nx-hero-grid--space .nx-repair-linework {
  width: 100%;
  max-width: none;
  min-width: 0;
  height: auto;
  margin: 0;
  padding: 0;
  display: grid;
  align-items: center;
  justify-items: stretch;
  contain: none;
  overflow: visible;
}
#hero .nx-repair-linework__plate {
  width: 100%;
  max-width: 37rem;
  min-width: 0;
  margin-inline: auto;
}
#hero .nx-repair-linework__art {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 504 / 178;
  pointer-events: none;
}
#hero .nx-repair-linework__strands { stroke-width: 1.15; }
#hero .nx-repair-linework__stem { stroke: #4e6790; stroke-width: 1; }
#hero .nx-repair-linework__pin { fill: #121820; stroke: #a7c7ff; stroke-width: 1.5; }
#hero .nx-repair-linework__sweep {
  opacity: 0;
  stroke: #cadaff;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-dasharray: 10 110;
}
#hero .nx-repair-linework__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  list-style: none;
  margin: .35rem 0 0;
  padding: 0;
  color: var(--nx-text, #f4f6fa);
  font: inherit;
  font-size: clamp(.8125rem, 1.1vw, 1rem);
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
}
#hero .nx-repair-linework__steps li {
  min-width: 0;
  overflow-wrap: anywhere;
}
@media (max-width: 63.99rem) {
  #hero .nx-repair-linework__plate { max-width: 31rem; }
  #hero .nx-repair-linework__art { aspect-ratio: 504 / 127; }
}
@media (prefers-reduced-motion: no-preference) {
  #hero .nx-repair-linework[data-linework-capable][data-nx-motion-suspended] .nx-repair-linework__sweep {
    animation: nx-repair-linework-pass 2.25s cubic-bezier(.22,.59,.37,1) .12s 1 both paused;
  }
  #hero .nx-repair-linework[data-linework-capable][data-nx-motion-suspended="false"] .nx-repair-linework__sweep {
    animation-play-state: running;
  }
}
@keyframes nx-repair-linework-pass {
  0% { stroke-dashoffset: 10; opacity: 0; }
  9%, 82% { opacity: 1; }
  100% { stroke-dashoffset: -100; opacity: 0; }
}

/* Keep the language hint adjacent to the business link, not on a second row. */
html body header.nx-site-header .nx-sector-switch[data-sector-nav="header"] .nx-sector-link {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  align-content: center;
  gap: 0 5px;
  padding-inline: 5px;
  border-block-end-width: 2px;
  border-start-start-radius: 8px;
  border-start-end-radius: 8px;
  overflow-wrap: normal;
}
html body header.nx-site-header .nx-sector-switch[data-sector-nav="header"] .nx-sector-link[aria-current] {
  background: #172337;
  color: var(--nx-accent-soft, #82b6ff);
}
header .nx-sector-switch[data-sector-nav="header"] .nx-sector-language {
  flex: none;
  color: var(--nx-accent-soft, #82b6ff);
  font-size: .625rem;
  line-height: 1;
  white-space: nowrap;
}
@media (max-width: 47.99rem) {
  header.nx-site-header .nx-sector-switch[data-sector-nav="header"] {
    grid-template-columns: minmax(0, 1.25fr) repeat(2, minmax(0, 1fr));
  }
  html body header.nx-site-header .nx-sector-switch[data-sector-nav="header"] .nx-sector-link {
    font-size: clamp(.75rem, 3.35vw, .875rem);
    gap: 2px 3px;
    padding-inline: 3px;
  }
}
@media (max-width: 22.5rem) {
  header.nx-site-header .nx-sector-switch[data-sector-nav="header"] {
    grid-template-columns: minmax(0, 1.65fr) repeat(2, minmax(0, 1fr));
  }
}

/* The stepper echoes the hero strands without duplicating its motion. */
#quote #quote-steps {
  --repair-rail: #3f526d;
  --repair-rail-filled: var(--nx-accent-soft, #82b6ff);
  --repair-rail-strands: linear-gradient(to bottom, currentColor 0 1px, transparent 1px 3px,
    currentColor 3px 4px, transparent 4px 6px, currentColor 6px 7px);
}
#quote #quote-steps .nx-quote-step__rail,
#quote #quote-steps .nx-quote-progress-mobile__track {
  height: 7px;
  color: var(--repair-rail);
  background: var(--repair-rail-strands);
  border-radius: 1px;
}
#quote #quote-steps .nx-quote-step__rail {
  top: 9px;
  inset-inline-start: calc(50% + 14px);
  width: calc(100% - 28px);
}
#quote #quote-steps .nx-quote-step__rail.is-filled,
#quote #quote-steps .nx-quote-progress-mobile__track > span {
  color: var(--repair-rail-filled);
  background: var(--repair-rail-strands);
}
#quote #quote-steps .nx-quote-step__rail-flow { display: none; }
#quote #quote-steps .nx-quote-step__dot {
  width: 18px;
  height: 18px;
  border-width: 1px;
  border-color: #687e9d;
  background: #121820;
  box-shadow: none;
}
#quote #quote-steps .nx-quote-step[aria-current="step"] .nx-quote-step__dot {
  border-color: var(--repair-rail-filled);
  background: var(--nx-accent, #2563eb);
}
#quote #quote-steps .nx-quote-step.is-done .nx-quote-step__dot {
  border-color: var(--repair-rail-filled);
  color: var(--repair-rail-filled);
}
#quote #quote-steps .nx-quote-progress-mobile__track > span { transition: none; }

/* /service: the three existing review links follow the visual language of the hero. */
#reviews { padding-block: clamp(1.5rem, 4vw, 2.75rem); }
#reviews .nx-reviews-sources {
  --review-ink: #526d94;
  --review-pin: var(--nx-accent-soft, #82b6ff);
  --review-surface: var(--nx-ink, #090c10);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  position: relative;
  margin: 20px 0 0;
  padding-block-start: 7px;
  border-block-end: 1px solid var(--nx-border, #2c3745);
}
#reviews .nx-reviews-sources::before {
  position: absolute;
  inset: 0 0 auto;
  height: 7px;
  content: '';
  pointer-events: none;
  background: linear-gradient(to bottom, var(--review-ink) 0 1px, transparent 1px 3px,
    var(--review-ink) 3px 4px, transparent 4px 6px, var(--review-ink) 6px 7px);
}
#reviews .nx-reviews-sources > a.nx-reviews-source {
  display: flex;
  position: relative;
  min-width: 0;
  min-height: 76px;
  align-items: center;
  padding: 12px 16px;
  gap: 0;
  border: none;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  transform: none;
  transition: none;
}
#reviews .nx-reviews-sources > a.nx-reviews-source::before {
  position: absolute;
  inset-block-start: -9px;
  inset-inline-start: 16px;
  box-sizing: border-box;
  width: 11px;
  height: 11px;
  border: 1.5px solid var(--review-pin);
  border-radius: 50%;
  background: var(--review-surface);
  content: '';
  pointer-events: none;
}
#reviews .nx-reviews-source__mark,
#reviews .nx-reviews-source__arrow { display: none; }
#reviews .nx-reviews-source .nx-reviews-source__body {
  display: grid;
  gap: 4px;
  text-align: start;
}
#reviews .nx-reviews-source .nx-reviews-source__name {
  color: var(--nx-text, #f4f6fa);
  font-size: 1rem;
  line-height: 1.25;
  text-decoration: underline;
  text-decoration-color: var(--review-ink);
  text-underline-offset: .22em;
}
#reviews .nx-reviews-sources > a.nx-reviews-source .nx-reviews-source__meta {
  display: block;
  color: var(--nx-muted, #aab6c7);
  font-size: .875rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
#reviews .nx-reviews-sources > a.nx-reviews-source:is(:hover, :focus-visible) {
  background: var(--nx-surface, #121820);
  transform: none;
}
#reviews .nx-reviews-sources > a.nx-reviews-source:is(:hover, :focus-visible) .nx-reviews-source__name {
  text-decoration-color: var(--review-pin);
}
#reviews .nx-reviews-sources > a.nx-reviews-source:focus-visible {
  outline: 2px solid var(--review-pin);
  outline-offset: -2px;
}
@media (max-width: 40rem) {
  #reviews .nx-reviews-sources {
    grid-template-columns: minmax(0, 1fr);
    padding-block-start: 0;
    padding-inline-start: 20px;
  }
  #reviews .nx-reviews-sources::before {
    inset: 8px auto 8px 2px;
    width: 7px;
    height: auto;
    background: linear-gradient(to right, var(--review-ink) 0 1px, transparent 1px 3px,
      var(--review-ink) 3px 4px, transparent 4px 6px, var(--review-ink) 6px 7px);
  }
  #reviews .nx-reviews-sources > a.nx-reviews-source { min-height: 64px; padding: 8px 12px; }
  #reviews .nx-reviews-sources > a.nx-reviews-source::before {
    inset-block-start: calc(50% - 5.5px);
    inset-inline-start: -20px;
  }
  #reviews .nx-reviews-sources > a.nx-reviews-source + a { border-block-start: 1px solid var(--nx-border, #2c3745); }
}

/* /service only. Keep the hero composition and compact quote entrance; align the rest of the page to their system. */
:root {
  --nx-repair-section-space: clamp(1.5rem, 2.9vw, 2.5rem);
  --nx-repair-section-title: clamp(1.5rem, .95rem + 1.25vw, 1.875rem);
  --nx-repair-heading-gap: clamp(1rem, 1.65vw, 1.5rem);
  --nx-repair-panel-inset: clamp(1rem, 2.25vw, 2rem);
  --nx-repair-panel-radius: 1rem;
  --nx-repair-link: var(--nx-accent-soft, #82b6ff);
  --nx-repair-line: var(--nx-border, #2c3745);
}
.landing-app #main-content > .nx-page-cluster > :is(#how, #workshop, #reviews, #location, #faq, #guides) {
  padding-block: var(--nx-repair-section-space);
}
.landing-app :is(#how, #workshop, #reviews, #faq, #guides) > .nx-shell {
  text-align: start;
}
.landing-app :is(#quote, #workshop, #reviews, #location, #faq) h2.nx-h2,
.landing-app #how .nx-how-timeline__heading h2.nx-h2,
.landing-app #guides h2.nx-guide-shortcuts__lead {
  color: var(--nx-text, #f4f6fa);
  font-size: var(--nx-repair-section-title);
  font-weight: 800;
  line-height: 1.24;
  letter-spacing: -.025em;
  text-align: start;
  text-wrap: balance;
}
.landing-app #quote .nx-quote-head__title,
.landing-app #quote .nx-quote-head__note { text-align: start; margin-inline: 0; }
.landing-app #quote .nx-quote-head { justify-items: start; align-items: start; }
.landing-app :is(#hero .nx-hero-ctas .nx-btn--primary, #location .nx-location-card__route) { min-height: 48px; }

/* Text sections use the same two columns; compact reading order is retained on phones. */
.landing-app :is(#how, #faq) > .nx-shell { gap: var(--nx-repair-heading-gap); }
@media (min-width: 64rem) {
  .landing-app :is(#how, #faq) > .nx-shell {
    grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
    column-gap: clamp(2rem, 4.45vw, 4rem);
  }
}
.landing-app #how .nx-how-timeline__heading .nx-home-statement {
  margin-block: 8px 0;
  max-width: 42ch;
  color: var(--nx-muted, #aab6c7);
  font-size: clamp(1rem, .94rem + .32vw, 1.25rem);
  font-weight: 550;
  line-height: 1.5;
  letter-spacing: normal;
}
.landing-app #how .nx-how-timeline__body h3 {
  font-size: 1rem;
  font-weight: 750;
  line-height: 1.4;
}
.landing-app #how .nx-how-timeline__steps { gap: clamp(16px, 1.8vw, 24px); }
.landing-app #faq .nx-faq__q {
  font-size: 1rem;
  line-height: 1.5;
  min-height: 48px;
  text-align: start;
}

/* The two functional panels share radius and internal alignment, not content. */
.landing-app :is(#quote .nx-quote, #location .nx-location-card) {
  padding: var(--nx-repair-panel-inset);
  border-radius: var(--nx-repair-panel-radius);
  border-color: var(--nx-repair-line);
}
.landing-app #workshop .nx-workshop__head { margin-block-end: var(--nx-repair-heading-gap); }
.landing-app #workshop .nx-workshop__photo,
.landing-app #location .nx-location-card :is(.nx-location-map, .nx-location-map-preview) {
  border-radius: var(--nx-repair-panel-radius);
}
.landing-app #workshop .nx-workshop__more { margin-block: 12px 0; }

/* Simple reading links stay distinct from the hero's primary action. */
.landing-app :is(#workshop .nx-workshop__more, #faq .nx-faq__more) a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--nx-repair-link);
  font-size: .9375rem;
  text-decoration: underline;
  text-underline-offset: .22em;
}
.landing-app #guides .nx-guide-shortcuts__grid { gap: clamp(12px, 1.4vw, 20px); }
.landing-app #guides .nx-guide-shortcut {
  border-radius: .75rem;
  text-underline-offset: .2em;
}
.landing-app #guides .nx-guide-shortcut__label {
  font-size: .9375rem;
  font-weight: 650;
  line-height: 1.45;
  text-wrap: pretty;
}
.landing-app #guides .nx-guide-shortcut:hover .nx-guide-shortcut__label {
  color: var(--nx-repair-link);
  text-decoration: underline;
}
.landing-app :is(#faq .nx-faq__q, #faq .nx-faq__more a, #workshop .nx-workshop__more a, #guides .nx-guide-shortcut):focus-visible {
  outline: 2px solid var(--nx-repair-link);
  outline-offset: -2px;
}
@media (max-width: 47.99rem) {
  .landing-app :is(#how, #faq) > .nx-shell { grid-template-columns: minmax(0, 1fr); }
  :root { scroll-padding-block-end: calc(88px + env(safe-area-inset-bottom, 0px)); }
  /* Repeated quick actions must not cover the actual link receiving keyboard focus. */
  body:has(main :focus-visible, footer :focus-visible) .nx-sticky-mobile-cta:not(:focus-within) {
    visibility: hidden;
    pointer-events: none;
  }
}

/* /service only. The active Repairs link already identifies the current section. */
header.nx-site-header[data-context="service"] .nx-service-brand .nx-brand-context[data-nx-service-section] {
  display: none;
}
.nx-site-header[data-context="service"] .nx-sector-switch[data-sector-nav="header"] {
  justify-content: center;
}
html body header.nx-site-header[data-context="service"] .nx-sector-switch[data-sector-nav="header"] .nx-sector-link {
  border-radius: 0;
}
html body header.nx-site-header[data-context="service"] .nx-sector-switch[data-sector-nav="header"] .nx-sector-link[aria-current] {
  background: transparent;
}
@media (min-width: 48rem) {
  .nx-site-header[data-context="service"] .nx-sector-switch[data-sector-nav="header"] {
    grid-template-columns: repeat(3, max-content);
    column-gap: clamp(16px, 2.25vw, 32px);
  }
  html body header.nx-site-header[data-context="service"] .nx-sector-switch[data-sector-nav="header"] .nx-sector-link {
    padding-inline: 12px;
  }
}
