.service-theme .service-review-mobile { display: none; }
.service-theme :is(h1, h2, h3, p) > .service-review-desktop {
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
}

@media (max-width: 820px) {
  body.service-overview .service-mobile-fast__actions { grid-template-columns: 1fr; }
}

@media (min-width: 768px) {
  .service-theme .service-review-extra,
  .service-theme .service-review-fold > .mobile-content-fold { display: contents; }
  .service-theme .service-review-fold > .mobile-content-fold > summary { display: none; }
}

.service-theme .service-review-extra--catalog:not(:has(article)) { display: none; }

@media (max-width: 980px) {
  body.service-theme .service-review-price-jump {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 72px;
    margin: 0 12px;
    padding: 10px 12px;
    border: 1px solid #b9c8be;
    background: #e7eee8;
    color: #174830;
    text-align: left;
  }
  .service-review-price-jump span:first-child { display: grid; gap: 3px; }
  .service-review-price-jump small { color: #3b4f42; font-size: 12px; line-height: 1.25; }
  .service-review-price-jump b { font-size: 23px; line-height: 1.05; font-variant-numeric: tabular-nums; }
  .service-review-price-jump span:last-child { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; white-space: nowrap; }
  body.service-theme .service-review-duration { margin: 6px 12px 0; color: #435149; font-size: 12px; }
}

@media (max-width: 767px) {
  body.service-theme .service-review-desktop { display: none; }
  body.service-theme .service-review-mobile { display: inline; }
  body.service-theme :is(h1, h2, h3, p) > .service-review-mobile {
    color: inherit;
    font: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
  }

  body.service-overview .page > #services {
    min-height: 0;
    height: 0;
    margin: 0;
    padding: 0;
    border: 0;
  }
  body.service-overview .page > #services > * { display: none; }
  body.service-theme :is(#services, #prices, #service-prices, #included),
  body.service-overview .service-price-list article[id] { scroll-margin-top: 70px; }

  body.service-theme .page > :is(.hub-price-board, .service-review-ev-prices) {
    padding: 24px 20px;
    background: var(--service-paper, #f4f6f2);
  }
  body.service-theme :is(.hub-price-board, .service-review-ev-prices, .service-faq) .section__head {
    margin-bottom: 14px;
  }
  body.service-theme :is(.hub-price-board, .service-review-ev-prices, .service-faq) .section__head > span { display: none; }
  body.service-theme :is(.hub-price-board, .service-review-ev-prices, .service-faq) .section__head h2 {
    color: var(--service-ink, #0b1710);
    font-size: 28px;
    line-height: 1.08;
    letter-spacing: -.035em;
  }
  body.service-theme .service-price-list article {
    position: relative;
    min-width: 0;
    gap: 5px 12px;
    padding: 11px 0;
  }
  body.service-theme .service-price-list h3 {
    color: var(--service-ink, #0b1710);
    font-size: 16px;
    font-weight: 750;
  }
  body.service-theme .service-price-list strong {
    align-self: start;
    color: #23583e;
    font-size: 16px;
    font-variant-numeric: tabular-nums;
  }
  body.service-theme .service-price-list p { color: #435149; font-size: 13px; }

  body.service-overview #prices .service-review-route { min-height: 65px; }
  body.service-overview #prices .service-review-route h3 a { text-decoration: none; }
  body.service-overview #prices .service-review-route h3 a::after {
    content: "";
    position: absolute;
    inset: 0;
  }
  body.service-overview #prices .service-review-route:focus-within { outline: 2px solid var(--service-green-strong); outline-offset: 2px; }
  body.service-overview #prices .service-review-route p { display: block; }
  body.service-overview #prices .service-review-route p.service-review-desktop { display: none; }

  body.service-theme .page > .service-review-fold { padding: 7px 20px; }
  body.service-theme .page > .service-faq { padding: 25px 20px; }
  body.service-theme .page .mobile-content-fold:is(.service-review-extra, .service-review-fold > *) > summary {
    min-height: 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    list-style: none;
    padding: 8px 0;
    border: 0;
    border-top: 1px solid var(--line);
    background: transparent;
    color: var(--service-ink, #0b1710);
    font: 750 15px/1.2 var(--sans, sans-serif);
    cursor: pointer;
  }
  .service-theme .mobile-content-fold:is(.service-review-extra, .service-review-fold > *) > summary::-webkit-details-marker { display: none; }
  .service-theme .mobile-content-fold:is(.service-review-extra, .service-review-fold > *) > summary::after {
    content: "+";
    color: var(--service-green-strong);
    font-size: 20px;
  }
  .service-theme .mobile-content-fold:is(.service-review-extra, .service-review-fold > *)[open] > summary::after { content: "−"; }
  .service-theme .service-review-fold .mobile-content-fold > .section__head :is(h2, span),
  .service-theme .service-review-fold .mobile-content-fold > span { display: none; }
  .service-theme .service-review-fold .mobile-content-fold > .section__head { margin-block: 8px 12px; }

  body.service-overview #honest .section__head,
  body.service-overview #honest .proof-item:not(:last-child),
  body.service-overview #honest .proof-item > span { display: none; }
  body.service-overview #honest .proof-item:last-child { display: block; min-height: 0; padding: 8px 0; border: 0; }

  body.service-theme .service-review-ev-note { display: block; margin: 0 0 12px; color: #435149; font-size: 14px; }
  body.service-theme .service-review-ev-prices .hub-price-inline { display: grid; grid-template-columns: 1fr; gap: 0; }
  body.service-theme .service-review-ev-prices .hub-price-inline > article {
    display: block;
    min-height: 0 !important;
    padding: 12px 0;
    border: 0;
    border-top: 1px solid var(--line) !important;
    background: transparent;
  }
  body.service-theme .service-review-ev-prices .hub-price-inline > article > :is(span, strong, a[href="#request"]) { display: none; }
  body.service-theme .service-review-ev-prices .hub-price-inline > article h3 { margin: 0 0 4px; font-size: 17px; }
  body.service-theme .service-review-ev-prices .hub-price-inline > article a { min-height: 44px; }
  body.service-theme .service-review-ev-prices .service-review-extra { margin-top: 10px; }

  body.service-overview.has-service-review-contacts .service-overview__booking { display: none; }
  body.service-theme.has-gadky-action-dock .page:has(.service-review-footer) { padding-bottom: 0; }
  body.service-theme .utility-bar.service-review-footer {
    width: 100%;
    margin: 0;
    padding: 0;
    grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
    gap: 0;
    border: 0;
    background: #e9eeea;
    color: var(--service-ink, #0b1710);
    box-shadow: none;
  }
  body.service-theme .service-review-footer > :is(div, a:not(.service-review-next)) {
    min-height: 0;
    gap: 4px;
    padding: 12px 18px;
    justify-content: center;
    border: 0;
    border-bottom: 1px solid #c5d0c8;
    background: transparent;
    color: inherit;
  }
  body.service-theme .service-review-footer > div:first-child { border-inline-end: 1px solid #c5d0c8; }
  body.service-theme .service-review-footer > .service-review-hours { padding-inline: 13px; }
  .service-review-hours b { white-space: nowrap; }
  body.service-theme .service-review-footer span { color: #42544a; }
  body.service-theme .service-review-footer b { color: inherit; }
  body.service-theme .service-review-footer > a[href^="tel"] { min-height: 48px; box-shadow: none; }
  body.service-theme .service-review-footer > a[href^="tel"] > span { color: #42544a; }
  body.service-theme .service-review-footer > a[href^="tel"] b::after { border-radius: 0; }
  body.service-theme .service-review-footer .rating-stars { color: #315c47; }
  body.service-theme .service-review-footer > .service-review-messengers { display: flex; flex-wrap: wrap; align-items: center; }
  body.service-theme .service-review-messengers a {
    min-height: 44px;
    padding: 4px 10px;
    border: 0;
    color: #23583e;
    background: transparent;
    font-size: 12px;
    text-decoration: underline;
  }
  body.service-theme .service-review-footer > .service-review-next {
    position: relative;
    grid-column: 1 / -1;
    min-height: 105px;
    padding: 14px 54px 16px 20px;
    border: 0;
    border-top: 2px solid #569272;
    gap: 6px;
    color: #fff;
    background: #15221c;
    justify-content: center;
  }
  body.service-theme .service-review-next b { font-size: 22px; }
  body.service-theme .service-review-next span.service-review-mobile { color: #c4d9ca; }
  body.service-theme .service-review-next small { color: #d3ded6; font: 13px/1.3 var(--sans, sans-serif); }
  body.service-theme .service-review-next svg { position: absolute; right: 20px; top: calc(50% - 11px); }
}

@media (max-width: 767px) {
  body.service-theme .first-view--strip .hero--summary-service {
    --service-hero-paper: #f5f6f1;
    --service-hero-inset: 12px;
    --service-hero-rule: #cdd5cd;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0 0 14px;
    background: #e9ede7;
  }

  body.service-theme .first-view--strip .hero--summary-service .hero__media {
    order: -1;
    width: 100%;
    max-width: none;
    height: clamp(174px, 49vw, 310px);
    margin: 0;
    border: 0;
    background: #16221b;
  }

  body.service-theme .first-view--strip .hero--summary-service .hero__media img {
    filter: brightness(var(--service-photo-exposure, 1.18)) contrast(1.02);
  }
  .hero--summary-service-diagnostics,
  .hero--summary-service-electronics { --service-photo-exposure: 1.34; }
  .hero--summary-service-ev { --service-photo-exposure: 1.02; }
  body.service-theme .first-view--strip .hero--summary-service-electronics .hero__media img {
    object-position: 68% 62%;
    transform: scale(1.22);
    transform-origin: 80% 74%;
  }

  body.service-theme .first-view--strip .hero--summary-service .hero__copy {
    z-index: 6;
    width: calc(100% - 2 * var(--service-hero-inset));
    max-width: none;
    margin: -32px var(--service-hero-inset) 0;
    padding: 22px 18px 14px;
    border: 1px solid var(--service-hero-rule);
    border-top: 3px solid #48765a;
    border-bottom: 0;
    background: var(--service-hero-paper);
  }

  body.service-theme .hero--summary-service .hero__copy .crumb { display: none; }

  body.service-theme .first-view--strip .hero--summary-service .hero__copy h1 {
    max-width: none !important;
    margin: 0 0 8px;
    font-size: clamp(29px, 8.2vw, 43px) !important;
    line-height: 1.04 !important;
    letter-spacing: -.045em;
    text-wrap: balance;
    overflow-wrap: normal !important;
    hyphens: none;
  }

  body.service-theme .first-view--strip .hero--summary-service .hero__copy > p:not(.crumb) {
    max-width: 42ch !important;
    margin: 0;
    font-size: 14px !important;
    line-height: 1.42;
  }
  body.service-theme .first-view--strip .hero--summary-service .hero__copy > .hero-claim {
    margin: 0 0 5px;
    font-weight: 700;
  }

  body.service-theme .first-view--strip .hero--summary-service .mobile-service-summary {
    width: calc(100% - 2 * var(--service-hero-inset)) !important;
    max-width: none !important;
    margin: 0 var(--service-hero-inset);
    padding: 0 18px 12px;
    border: 1px solid var(--service-hero-rule);
    border-top: 0;
    background: var(--service-hero-paper);
    box-shadow: none;
  }

  body.service-theme .hero--summary-service .service-review-price-jump {
    min-height: 64px;
    margin: 0;
    padding: 9px 0 3px;
    border: 0;
    border-top: 1px solid var(--service-hero-rule);
    background: transparent;
  }
  .hero--summary-service .service-review-price-jump small { font-size: 12px; }
  .hero--summary-service .service-review-price-jump b {
    color: #173e2b;
    font-size: clamp(21px, 6.1vw, 27px);
    font-weight: 800;
    letter-spacing: -.035em;
  }
  .hero--summary-service .service-review-price-jump span:last-child {
    padding: 8px 9px;
    border: 1px solid #a5baab;
    color: #234f39;
    background: #e7eee7;
    font-size: 12px;
  }
  .hero--summary-service .service-review-price-jump:focus-visible {
    outline: 2px solid #36694b;
    outline-offset: -2px;
  }
  body.service-theme .hero--summary-service .service-review-duration {
    margin: 4px 0 0;
    color: #49594e;
    line-height: 1.3;
  }

  body.service-theme.photo-case-brakes .service-evidence {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body.service-theme.photo-case-brakes .service-evidence figure {
    min-height: 0;
    background: #f4f6f2;
  }
  body.service-theme.photo-case-brakes .service-evidence figure img {
    display: block;
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
    filter: brightness(1.08) contrast(1.02);
  }
  body.service-theme.photo-case-brakes .service-evidence figcaption {
    position: static;
    max-width: none;
    padding: 8px;
    border: 0;
    border-radius: 0;
    color: #31473a;
    background: transparent;
    font: 700 11px/1.3 var(--sans, sans-serif);
    letter-spacing: 0;
    text-transform: none;
    backdrop-filter: none;
  }

  body.service-theme:has(.hero--summary-service-ev) .service-evidence article > span {
    color: #b8d8c4;
  }
}

@media (min-width: 768px) and (max-width: 980px) {
  body.service-theme { --service-mobile-hero-ratio: 16 / 10; }
}

@media (max-width: 980px) {
  body.service-theme .first-view--strip .hero--summary-service:not(.hero--summary-service-ev) .hero__media {
    height: auto;
    aspect-ratio: var(--service-mobile-hero-ratio, 10 / 7);
  }

  body.service-theme.photo-case-brakes .first-view--strip .hero--summary-service .hero__media img {
    object-position: 50% 78%;
    transform: none;
  }
}

/* Frame the new real hero photos separately from the existing service covers. */
body.service-theme .first-view--strip .hero__media .service-photo {
  object-position: var(--service-photo-desktop);
}

@media (max-width: 980px) {
  body.service-theme .first-view--strip .hero__media .service-photo {
    object-position: var(--service-photo-mobile);
    transform: none;
  }
}
