/* Home-page lower sections. Visual source: supplied desktop and mobile mockups. */
.ui-icon { display: inline-block; flex: none; width: 24px; height: 24px; vertical-align: middle; }
.btn .ui-icon { width: 18px; height: 18px; }
.btn--primary .ui-icon { color: #12171a; }
.btn--ghost .ui-icon { color: var(--accent); }
.work-types,
.works-section,
.services-section,
.trust-section,
.cost-section,
.about-section,
.faq-section,
.contact-stage,
.news-section,
.site-footer {
  --section-space: clamp(40px, 4vw, 56px);
  --heading-space: 20px;
  color: var(--text);
  font-family: var(--font-main);
}

.work-types,
.works-section,
.services-section,
.trust-section,
.cost-section,
.about-section,
.faq-section,
.news-section {
  padding: var(--section-space) 0 0;
  border: 0;
  background: var(--page);
}

.work-types { padding-top: clamp(36px, 3.5vw, 48px); }
.news-section { padding-bottom: 48px; }

.work-types::before,
.works-section::before,
.services-section::before,
.trust-section::before,
.cost-section::before,
.about-section::before,
.faq-section::before,
.news-section::before { display: none; }

.work-types .section-heading,
.works-section .section-heading,
.trust-section .section-heading,
.cost-section .section-heading,
.about-section .section-heading,
.news-section .section-heading,
.services-section .services-heading,
.faq-section .faq-layout__heading {
  max-width: none;
  margin: 0 0 var(--heading-space);
}

.work-types .section-heading,
.works-section .section-heading,
.news-section .section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.work-types h2,
.works-section h2,
.services-section h2,
.trust-section h2,
.cost-section h2,
.about-section h2,
.faq-section h2,
.contact-stage h2,
.news-section h2 {
  margin: 0;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(25px, 2.4vw, 37px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.13;
}

.work-types .section-more,
.works-section .section-more,
.news-section .section-more {
  flex: none;
  color: var(--accent);
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}

.work-types .section-more:hover,
.works-section .section-more:hover,
.news-section .section-more:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

/* The extra source explanation stays available without occupying the visual
   card header in the supplied reference. */
.works-section .section-heading > p,
.news-section .section-heading > p,
.services-section .services-heading > p,
.cost-section .about-heading > p {
  max-width: 74ch;
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
.works-expand, .news-expand { display: none; }

/* Main types of work */
.work-types__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.work-type-card {
  position: relative;
  display: flex;
  min-height: 280px;
  flex-direction: column;
  justify-content: flex-end;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: #202629;
}

.work-type-card > img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 144px;
  object-fit: cover;
}

.work-type-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(18 23 26 / 10%) 0%, rgb(18 23 26 / 35%) 36%, #202629 55%);
  content: "";
  pointer-events: none;
}

.work-type-card > div {
  position: relative;
  z-index: 1;
  padding: 156px 22px 22px;
}


.work-type-card h3 {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
}

.work-type-card h3::before { display: none; }

.work-type-card ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.work-type-card li {
  position: relative;
  min-width: 0;
  padding-left: 17px;
  color: var(--soft);
  font-size: 14px;
  line-height: 1.4;
}

.work-type-card li::before {
  position: absolute;
  top: 5px;
  left: 1px;
  width: 7px;
  height: 4px;
  border-bottom: 2px solid var(--accent);
  border-left: 2px solid var(--accent);
  content: "";
  transform: rotate(-45deg);
}

/* Real before and after cases retain their existing dialog buttons. */
.works-accordion {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.case-summary {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100%;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow);
}

.case-summary:hover,
.case-summary:focus-visible {
  border-color: var(--accent);
  transform: none;
}

.case-summary > strong {
  order: -2;
  min-height: 2.4em;
  margin: 0 0 9px;
  color: var(--text);
  font-size: 16px;
  line-height: 1.2;
}

.case-summary__photos {
  order: -1;
  width: 100%;
  height: 158px;
  gap: 5px;
  margin: 0 0 10px;
  border-radius: 4px;
}

.case-summary__photos > span {
  position: relative;
  min-height: 0;
  aspect-ratio: auto;
  border-radius: 3px;
}

.case-summary__photos > span::after {
  display: none;
}

.case-summary__photos > span::before {
  position: absolute;
  bottom: 4px;
  left: 5px;
  z-index: 1;
  padding: 2px 5px;
  border-radius: 2px;
  background: rgb(18 23 26 / 78%);
  color: #fff;
  content: "До";
  font-size: 11px;
}

.case-summary__photos > span:last-child::before { content: "После"; }

.case-summary__meta { display: none; }

.case-summary__excerpt {
  flex: 1;
  min-height: 2.6em;
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.case-summary__action {
  display: grid;
  min-height: 39px;
  place-items: center;
  margin: 0;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  color: var(--text);
  font-size: 13px;
  text-decoration: none;
  transition: background-color 950ms ease, border-color 950ms ease, color 950ms ease;
}

.case-summary:hover .case-summary__action,
.case-summary:focus-visible .case-summary__action,
.case-summary:active .case-summary__action {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-text);
}

.works-note {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 12px;
}

/* Service families and consultation strip. */
.service-navigator {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-direction,
.service-direction--srs {
  grid-column: auto;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
}

.service-direction__head { position: relative; min-height: 75px; padding: 15px 16px 10px 54px; }
.service-direction__icon { position: absolute; top: 15px; left: 16px; width: 28px; height: 28px; color: var(--accent); }
.service-direction__label,
.about-card__label { color: var(--accent); }
.service-direction__head h3 { margin: 0 0 6px; font-size: 18px; }
.service-direction__head p { font-size: 12px; line-height: 1.35; }
.service-direction .service-list,
.service-direction--mechanic .service-list,
.service-direction--srs .service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  padding: 8px;
}
.service-direction--mechanic .service-list,
.service-direction--srs .service-list { grid-template-columns: 1fr; }

.service-list > li:nth-child(odd) .service-row,
.service-direction--srs .service-list > li:not(:last-child) .service-row {
  border-right: 0;
}

.service-row {
  min-height: 39px;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgb(18 23 26 / 16%);
}

.service-list > li + li .service-row { margin-top: 0; }
.service-row__copy { gap: 2px; }
.service-row__copy strong { font-size: 13px; line-height: 1.25; }
.service-row__copy span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.service-row__marker { color: var(--accent); font-size: 0; }
.service-row__marker .ui-icon { width: 18px; height: 18px; color: var(--accent); }
.mobile-service-list { display: none; }

.services-cta {
  min-height: 126px;
  margin-top: 17px;
  padding: 19px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: linear-gradient(90deg, rgb(18 23 26 / 98%), rgb(18 23 26 / 62%) 70%, rgb(18 23 26 / 20%)), url("/assets/works/case-03-after.jpg") center 55% / cover;
}

.services-cta h3 { margin: 0 0 5px; font-size: 22px; }
.services-cta p { color: var(--soft); font-size: 14px; }

/* Repair process, cost factors, and station facts. */
.trust-grid { position: relative; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; border: 0; }
.trust-grid::before { display: none; }

.trust-card,
.trust-card:last-child { position: relative; display: block; min-width: 0; padding: 0 14px 0 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.trust-card::before { display: none; }
.trust-card:not(:last-child)::after { position: absolute; top: 24px; left: 43px; width: calc(100% + 20px); height: 1px; background: var(--line); content: ""; pointer-events: none; }
.trust-card:last-child::after { display: none; content: none; }
.trust-card:hover { transform: none; box-shadow: none; }

.trust-card > span { position: relative; z-index: 1; display: inline-flex; width: auto; min-width: 86px; height: 48px; align-items: center; justify-content: center; gap: 7px; margin: 0 0 15px; padding: 0 10px; border: 1px solid var(--accent); border-radius: var(--radius-control); background: var(--page); color: var(--accent); font-size: 17px; font-weight: 800; }
.trust-card > span .ui-icon { width: 20px; height: 20px; }
.trust-card h3 { margin: 0 0 6px; font-size: 17px; }
.trust-card p { max-width: 26ch; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }

.cost-section .about-shell,
.about-section .about-shell {
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
}

.cost-section .about-shell::before,
.about-section .about-shell::before { display: none; }

.about-card-grid { gap: 18px; }
.cost-section .about-card,
.about-section .about-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.cost-section .about-card { position: relative; padding-left: 64px; }
.about-card__icon { position: absolute; top: 18px; left: 18px; width: 30px; height: 30px; color: var(--accent); }

.about-card::before,
.about-bottom::before { display: none; }
.about-card h3 { margin: 0 0 7px; font-size: 16px; }
.about-card__text { max-width: 48ch; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.35; }
.about-list { gap: 4px; padding-left: 17px; color: var(--muted); font-size: 12px; }
.about-list li::before { color: var(--accent); }

.about-section .about-shell { display: grid; grid-template-columns: minmax(0, .46fr) minmax(0, .54fr); align-items: center; column-gap: 24px; }
.about-section .about-heading { display: block; margin: 0; }
.about-section .about-heading h2 { margin-bottom: 8px; }
.about-section .about-heading > p { margin: 0 0 3px; color: var(--soft); font-size: 13px; line-height: 1.4; }
.about-stat-grid { align-self: center; gap: 12px; margin: 0; border: 0; }
.about-stat { padding: 0; border: 0; }
.about-stat:first-child { padding-left: 0; }
.about-stat data { margin: 0 0 5px; color: var(--accent); font-size: 28px; line-height: 1; }
.about-stat dd { color: var(--soft); font-size: 11px; line-height: 1.25; }
.about-section > .page-shell > .about-card-grid { margin-top: 14px; }
.about-extra { grid-column: 1 / -1; margin-top: 8px; }
.about-extra > summary { display: inline-flex; min-height: 38px; align-items: center; color: var(--accent); font-size: 12px; font-weight: 700; cursor: pointer; }
.about-extra[open] > .about-card-grid { margin-top: 8px; }
.about-bottom {
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 11px 28px;
  min-height: clamp(120px, 10.5vw, 150px);
  margin-top: 18px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: linear-gradient(90deg, rgb(18 23 26 / 96%) 0%, rgb(18 23 26 / 78%) 40%, rgb(18 23 26 / 12%) 73%, rgb(18 23 26 / 83%) 100%), url('/assets/rebrand-polish-banner.png') center 52% / cover;
}

.about-bottom h3 { margin: 0 0 4px; font-size: 19px; }
.about-bottom__copy p,
.about-why-list { font-size: 12px; }
.about-bottom__copy { grid-column: 1; }
.about-bottom__copy p { display: none; }
.about-why-list { display: flex; grid-column: 1; flex-wrap: wrap; gap: 9px 22px; align-self: end; }
.about-why-list span { display: inline-flex; align-items: center; gap: 7px; max-width: 190px; line-height: 1.25; }
.about-why-list .ui-icon { width: 22px; height: 22px; color: var(--accent); }
.about-bottom__actions { grid-column: 2; grid-row: 1 / span 2; align-self: end; }
.about-bottom__actions .btn { min-height: 42px; padding: 8px 13px; font-size: 12px; }
.about-bottom__actions .btn, .services-cta .btn, .form-submit, .mobile-action-dock .btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; }

/* FAQ keeps every answer reachable through native details. */
.faq-layout { display: block; }
.faq-layout__heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.faq-expand { padding: 0; border: 0; background: transparent; color: var(--accent); font: 750 13px var(--font-main); cursor: pointer; }
.faq-section:not(.faq-section--expanded) .faq-category:nth-child(n+3),
.faq-section:not(.faq-section--expanded) .faq-category:first-child .faq-item:nth-child(n+4) { display: none; }
.faq-categories { display: block; columns: 2; column-gap: 18px; }
.faq-category {
  break-inside: avoid;
  margin-bottom: 14px;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
}
.faq-category::before { display: none; }
.faq-category__head { display: none; }
.faq-category__head > span { color: var(--accent); }
.faq-category h3 { font-size: 14px; }
.faq-list { display: grid; gap: 8px; }
.faq-item,
.faq-item:first-child {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #262c2f;
}

.faq-item summary { min-height: 39px; padding: 8px 36px 8px 14px; font-size: 13px; }
.faq-item::before, .faq-item summary::before { display: none; }
.faq-item summary::after { top: 13px; right: 15px; width: 8px; height: 8px; border-top: 0; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); border-left: 0; background: none; color: transparent; content: ""; font-size: 0; transform: rotate(45deg); }
.faq-item[open] summary::after { border-color: var(--accent); content: ""; transform: rotate(225deg); }
.faq-item[open] { border-color: #666e72; background: #2b3235; }
.faq-item__answer { padding: 0 14px 13px; color: var(--muted); font-size: 13px; }

/* Contact / existing request form, kept fully functional and readable. */
.contact-stage {
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 0;
  margin-top: var(--section-space);
  margin-bottom: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
}
.contact-photo { display: none; min-width: 0; border-left: 1px solid var(--line); background: linear-gradient(0deg, rgb(18 23 26 / 48%), transparent 56%), url('/assets/rebrand-editorial-strip.png') right center / auto 100% no-repeat; }
@media (min-width: 1101px) {
  .contact-stage { grid-template-columns: minmax(0, .38fr) minmax(0, .42fr) minmax(0, .2fr); }
  .contact-photo { display: block; }
}

.contact-stage > .contact-lead[data-local-facts] {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.contact-copy,
.request-modal__shell {
  padding: 22px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.contact-stage .request-inline { border-left: 1px solid var(--line); background: #202629; }
.contact-copy h2 { font-size: 23px; }
.contact-copy > .contact-lead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.contact-links { gap: 0; margin: 0; }
.contact-link { grid-template-columns: 25px 1fr; gap: 7px; padding: 6px 0; border: 0; border-bottom: 1px solid rgb(168 175 178 / 18%); }
.contact-link > .ui-icon { grid-column: 1; grid-row: 1; align-self: center; width: 19px; height: 19px; color: var(--accent); }
.contact-link__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.contact-link__value { color: var(--soft); font-size: 13px; }
.contact-link__note { color: var(--muted); font-size: 10px; }
.call-option { grid-template-columns: 24px minmax(0, 1fr); align-items: center; }
.call-option > .ui-icon { grid-column: 1; grid-row: 1 / span 2; width: 22px; height: 22px; color: var(--accent); }
.call-option > span, .call-option > strong { grid-column: 2; }
.request-form { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px 12px; }
.request-form__head, .form-options, .form-row--task, .legal-consents, .form-note, .form-status, .form-submit { grid-column: 1 / -1; }
.form-options[open] { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.form-options > summary { display: none; }
.channel-choice { grid-column: 1; }
.form-row--time { grid-column: 2; }
.request-form__head h3 { margin: 0 0 4px; font-size: 20px; }
.request-form__head h3 .ui-icon { width: 20px; height: 20px; margin-right: 7px; color: var(--accent); }
.request-form__head p { margin: 0; font-size: 12px; }
.request-form__head > p:last-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.form-row { gap: 4px; font-size: 12px; }
.form-row input,
.form-row textarea {
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface-raised);
  color: var(--text);
}

.form-row textarea { min-height: 62px; }
.channel-choice legend,
.legal-consents__legend { font-size: 12px; }
.channel-choice__options span { min-height: 38px; border-radius: 4px; font-size: 12px; }
.legal-consents { gap: 5px; }
.legal-consent { min-height: 0; font-size: 11px; }
.form-note { font-size: 11px; }
.form-submit { min-height: 42px; }

/* News and footer preserve verified content while adopting the same cards. */
.news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.news-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  min-width: 0;
  padding: 16px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
}
.news-card > * { min-width: 0; overflow-wrap: anywhere; }

.news-card__meta { color: var(--accent); font-size: 12px; line-height: 1.5; }
.news-card h3 { margin: 0; font-size: clamp(18px, 1.5vw, 20px); line-height: 1.35; }
.news-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.news-card__actions { justify-content: flex-start; gap: 8px 12px; margin-top: auto; padding-top: 8px; }
.news-card__actions-label { flex-basis: 100%; color: var(--muted); }
.news-card__link { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 16px; border: 1px solid var(--line); border-radius: var(--radius-control); color: var(--accent); font-size: 14px; text-decoration: none; }
.news-card__link:hover { border-color: var(--accent); background: var(--surface-raised); }
@media (max-width: 1100px) {
  .news-grid { grid-template-columns: 1fr; }
}
.site-footer { padding: 32px 0 30px; border-top: 1px solid var(--line); background: var(--page); }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, .6fr); gap: 26px; }
.site-footer__pages { display: flex; align-content: start; flex-wrap: wrap; gap: 9px 15px; padding-top: 7px; }
.site-footer__pages a { color: var(--soft); font-size: 12px; text-decoration: none; }
.site-footer__pages a:hover, .site-footer__pages a:focus-visible { color: var(--accent); }
.site-footer h2 { margin: 0 0 6px; color: var(--text); font-size: 22px; }
.site-footer p { margin: 0 0 6px; color: var(--muted); font-size: 12px; }
.site-footer__links { display: grid; align-content: start; gap: 8px; margin: 0; }
.site-footer__links a { min-height: 32px; color: var(--soft); font-size: 12px; }

@media (max-width: 900px) {
  .work-types__grid { gap: 9px; }
  .works-accordion { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .service-navigator { grid-template-columns: 1fr; gap: 8px; }
  .trust-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .about-section .about-shell { grid-template-columns: minmax(0, .46fr) minmax(0, .54fr); }
  .about-stat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .about-stat dd { font-size: 10px; }
  .about-bottom { grid-template-columns: 1fr auto; padding: 14px 18px; }
  .about-bottom__actions { grid-column: 2; grid-row: 1 / span 2; }
  .about-bottom__actions .btn { min-height: 38px; padding-inline: 10px; font-size: 11px; }
}

@media (min-width: 621px) and (max-width: 760px) {
  .about-section { min-height: 150px; background: linear-gradient(90deg, #12171a 0%, rgb(18 23 26 / 94%) 52%, rgb(18 23 26 / 15%) 100%), url('/assets/rebrand-polish-banner.png') right center / auto 100% no-repeat; }
  .about-section .about-shell { display: block; }
  .about-section .about-heading { max-width: 310px; }
  .about-section .about-heading > p { font-size: 12px; }
  .about-section .about-stat-grid,
  .about-section .about-bottom { display: none; }
}

@media (max-width: 620px) {
  body { padding-bottom: 0; }
  .mobile-action-dock { display: none; }
  .work-types,
  .works-section,
  .services-section,
  .trust-section,
  .cost-section,
  .about-section,
  .faq-section,
  .news-section { --section-space: 30px; --heading-space: 14px; padding: var(--section-space) 0 0; }
  .news-section { padding-bottom: 30px; }

  .work-types { padding-top: 26px; }

  .work-types h2,
  .works-section h2,
  .services-section h2,
  .trust-section h2,
  .cost-section h2,
  .about-section h2,
  .faq-section h2,
  .contact-stage h2,
  .news-section h2 { font-size: 20px; }

  .work-types .section-heading,
  .works-section .section-heading,
  .news-section .section-heading { gap: 7px; }
  .work-types .section-more,
  .works-section .section-more,
  .news-section .section-more { font-size: 11px; white-space: nowrap; }
  .work-types .section-heading,
  .works-section .section-heading,
  .trust-section .section-heading,
  .cost-section .section-heading,
  .about-section .section-heading,
  .news-section .section-heading,
  .services-section .services-heading,
  .faq-section .faq-layout__heading { margin-bottom: var(--heading-space); }

  .work-types__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
  .work-type-card { display: flex; min-height: 186px; justify-content: flex-end; }
  .work-type-card > img { position: absolute; height: 70px; min-height: 0; }
  .work-type-card::after { inset: 0; width: auto; background: linear-gradient(180deg, rgb(18 23 26 / 12%) 0%, #202629 38%); }
  .work-type-card > div { padding: 77px 7px 8px; }
  .work-type-card h3 { min-height: 2.2em; margin-bottom: 5px; font-size: 11px; line-height: 1.1; }
  .work-type-card ul { grid-template-columns: 1fr; gap: 3px; }
  .work-type-card li { padding-left: 9px; font-size: 9px; line-height: 1.18; }
  .work-type-card li::before { top: 2px; width: 6px; height: 4px; }

  .works-accordion { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .works-expand, .news-expand { display: inline-flex; flex: none; padding: 0; border: 0; background: transparent; font: 750 11px var(--font-main); cursor: pointer; }
  .works-section .section-heading > p,
  .services-section .services-heading > p,
  .news-section .section-heading > p { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .work-case:nth-child(3) { display: none; grid-column: 1 / -1; }
  .works-section--expanded .work-case:nth-child(3) { display: block; }
  .case-summary { padding: 8px; }
  .case-summary > strong { min-height: 2.3em; margin-bottom: 5px; font-size: 11px; }
  .case-summary__photos { height: 70px; gap: 3px; margin-bottom: 5px; }
  .case-summary__photos > span::before { font-size: 8px; }
  .case-summary__excerpt { min-height: 3.6em; margin-bottom: 5px; font-size: 10px; }
  .case-summary__action { min-height: 30px; font-size: 10px; }
  .works-note { font-size: 10px; }

  .service-navigator { display: none; }
  .mobile-service-list { display: grid; gap: 5px; }
  .mobile-service-list details { overflow: hidden; border: 1px solid var(--line); border-radius: 5px; background: var(--surface); }
  .mobile-service-list summary { display: flex; min-height: 42px; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 12px; font-size: 13px; font-weight: 650; cursor: pointer; list-style: none; }
  .mobile-service-list summary > .ui-icon { width: 20px; height: 20px; color: var(--accent); }
  .mobile-service-list summary::-webkit-details-marker { display: none; }
  .mobile-service-list summary::after { width: 8px; height: 8px; border-top: 2px solid var(--accent); border-right: 2px solid var(--accent); content: ""; transform: rotate(45deg); }
  .mobile-service-list details[open] summary::after { transform: rotate(135deg); }
  .mobile-service-list details > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; padding: 5px 7px 8px; border-top: 1px solid var(--line); }
  .mobile-service-list a { display: flex; min-height: 36px; align-items: center; padding: 6px 8px; border: 1px solid var(--line); border-radius: 4px; color: var(--text); font-size: 11px; text-decoration: none; }
  .mobile-service-list a:hover { border-color: var(--accent); }
  .service-direction__head { padding: 9px 10px 7px; }
  .service-direction__head h3 { font-size: 15px; }
  .service-direction__head p { font-size: 11px; }
  .service-direction .service-list,
  .service-direction--mechanic .service-list,
  .service-direction--srs .service-list { padding: 5px; }
  .service-row { min-height: 32px; padding: 6px 8px; }
  .service-row__copy strong { font-size: 11px; }
  .service-row__copy span { font-size: 10px; }
  .services-cta { min-height: 95px; grid-template-columns: 1fr; gap: 6px; margin-top: 9px; padding: 10px; }
  .services-cta h3 { font-size: 15px; }
  .services-cta p { font-size: 10px; }
  .services-cta .btn { width: auto; min-height: 35px; font-size: 11px; }

  .trust-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; }
  .trust-card,
  .trust-card:nth-child(2),
  .trust-card:last-child {
    display: flex;
    min-height: 43px;
    align-items: center;
    gap: 5px;
    min-width: 0;
    padding: 0;
    border: 0;
    background: transparent;
  }
  .trust-card > span { display: grid; flex: none; width: 23px; height: 23px; place-items: center; margin: 0; border-radius: 50%; background: var(--accent); color: var(--accent-text); font-size: 11px; font-weight: 800; }
  .trust-card > span .ui-icon { display: none; }
  .trust-card h3 { margin: 0; font-size: 9px; line-height: 1.15; }
  .trust-card p { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

  .cost-section .about-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .cost-section .about-heading > p { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .cost-section .about-card { padding: 9px; }
  .cost-section .about-card__icon { position: static; display: block; width: 21px; height: 21px; margin-bottom: 4px; }
  .about-card__label { font-size: 10px; }
  .cost-section .about-card h3 { font-size: 11px; }
  .cost-section .about-card__text { font-size: 10px; line-height: 1.25; }
  .about-stat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3px; }
  .about-stat { padding: 5px; border: 0 !important; }
  .about-stat data { font-size: 17px; }
  .about-stat dd { font-size: 8px; line-height: 1.15; }
  .about-bottom { gap: 8px; padding: 10px; }
  .about-bottom h3 { font-size: 14px; }
  .about-bottom__copy p,
  .about-why-list { font-size: 10px; }

  .about-section { min-height: 112px; padding: 30px 0 12px; background: linear-gradient(90deg, #12171a 0%, rgb(18 23 26 / 94%) 52%, rgb(18 23 26 / 15%) 100%), url('/assets/rebrand-polish-banner.png') right center / auto 100% no-repeat; }
  .about-section .about-shell { display: block; }
  .about-section .about-heading { max-width: 265px; }
  .about-section .about-heading h2 { margin-bottom: 6px; }
  .about-section .about-heading > p { font-size: 11px; line-height: 1.32; }
  .about-section .about-heading > p:last-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .about-section .about-extra { display: none; }
  .about-section .about-stat-grid,
  .about-section .about-bottom { display: none; }

  .faq-categories { columns: 1; }
  .faq-section:not(.faq-section--expanded) .faq-category:first-child .faq-item:nth-child(n+2),
  .faq-section:not(.faq-section--expanded) .faq-category:nth-child(2) .faq-item:nth-child(n+3) { display: none; }
  .faq-expand { font-size: 11px; white-space: nowrap; }
  .faq-category__head h3 { font-size: 12px; }
  .faq-list { gap: 4px; }
  .faq-category { margin-bottom: 4px; }
  .faq-item summary { min-height: 34px; padding: 7px 34px 7px 12px; font-size: 11px; }
  .faq-item summary::after { top: 11px; right: 12px; }
  .faq-item__answer { padding: 0 12px 12px; font-size: 12px; }

  .contact-stage { --section-space: 30px; grid-template-columns: 1fr; margin: var(--section-space) auto 0; }
  .contact-stage > .contact-lead[data-local-facts] { grid-column: auto; }
  .contact-stage .request-inline { border-top: 1px solid var(--line); border-left: 0; }
  .contact-copy,
  .request-modal__shell { padding: 11px; }
  .contact-copy h2 { font-size: 17px; }
  .contact-copy > .contact-lead { font-size: 10px; }
  .contact-link { grid-template-columns: 20px 1fr; gap: 6px; padding: 4px 0; }
  .contact-link__label { font-size: 10px; }
  .contact-link__note { display: none; }
  .contact-link__value { font-size: 11px; }
  .request-form__head h3 { font-size: 17px; }
  .request-form__head p,
  .form-row,
  .channel-choice legend,
  .legal-consents__legend { font-size: 11px; }
  .request-form { grid-template-columns: 1fr; }
  .form-options { display: block; }
  .form-options > summary { display: block; padding: 4px 0; color: var(--accent); font-size: 11px; cursor: pointer; }
  .form-options[open] { display: block; }
  .form-options[open] .channel-choice { margin-top: 5px; }
  .channel-choice, .form-row--time { grid-column: 1; }
  .form-row--time { margin-top: 5px; }
  .channel-choice__options { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .legal-consent { font-size: 10px; }
  .news-grid { display: none; grid-template-columns: 1fr; gap: 8px; }
  .news-section--expanded .news-grid { display: grid; }
  .news-card h3 { font-size: 18px; }
  .site-footer { padding: 24px 0 24px; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 6px; }
  .site-footer__pages { display: none; }
  .site-footer__links { display: flex; flex-wrap: wrap; gap: 2px 13px; }
  .site-footer h2 { font-size: 17px; }
  .site-footer p,
  .site-footer__links a { font-size: 10px; }
}

@media (min-width: 420px) and (max-width: 620px) {
  .contact-stage { grid-template-columns: minmax(0, .48fr) minmax(0, .52fr); }
  .contact-stage .request-inline { border-top: 0; border-left: 1px solid var(--line); }
  .contact-copy, .request-modal__shell { padding: 8px; }
  .contact-copy h2 { font-size: 14px; }
  .contact-link { grid-template-columns: 14px 1fr; gap: 4px; padding: 3px 0; }
  .contact-link > .ui-icon { width: 13px; height: 13px; }
  .contact-link__value { font-size: 9px; line-height: 1.2; }
  .request-form { gap: 5px; }
  .request-form__head h3 { font-size: 14px; }
  .form-row { font-size: 9px; }
  .form-row input, .form-row textarea { min-height: 31px; padding: 6px; font-size: 10px; }
  .form-row textarea { min-height: 54px; }
  .legal-consents__legend { font-size: 9px; }
  .legal-consent { font-size: 8px; line-height: 1.2; }
  .form-note { font-size: 8px; }
  .form-submit { min-height: 34px; padding: 5px; font-size: 10px; }
}

@media (min-width: 621px) and (max-width: 1100px) {
  .work-types__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .work-type-card:nth-child(3) { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .trust-grid { display: grid; grid-template-columns: 1fr; gap: 0; }
  .trust-card:not(:last-child)::after { top: 30px; bottom: -30px; left: 22px; width: 1px; height: auto; }
  .trust-card, .trust-card:nth-child(2), .trust-card:last-child { display: grid; grid-template-columns: 56px minmax(0, 1fr); align-content: start; gap: 0 12px; min-height: 92px; padding: 0 0 22px; border: 0; background: transparent; }
  .trust-card:nth-child(-n + 2) { border-bottom: 0; }
  .trust-card:last-child { min-height: 0; padding-bottom: 0; }
  .trust-card > span { display: grid; grid-row: 1 / span 2; width: 44px; min-width: 44px; height: 44px; align-self: start; place-items: center; gap: 0; margin: 8px 0 0; padding: 2px; border-radius: 50%; font-size: 11px; line-height: 1; }
  .trust-card > span .ui-icon { display: block; width: 16px; height: 16px; }
  .trust-card h3 { margin: 3px 0 4px; font-size: 16px; }
  .trust-card p { position: static; width: auto; height: auto; max-width: 48ch; overflow: visible; clip-path: none; white-space: normal; font-size: 13px; line-height: 1.45; }
}

@media (max-width: 620px) {
  .work-types__grid { grid-template-columns: 1fr; gap: 14px; }
  .work-type-card { min-height: 0; }
  .work-type-card > img { height: 144px; }
  .work-type-card::after { background: linear-gradient(180deg, rgb(18 23 26 / 8%) 0%, rgb(18 23 26 / 30%) 35%, #202629 54%); }
  .work-type-card > div { padding: 156px 18px 20px; }
  .work-type-card h3 { min-height: 0; margin-bottom: 12px; font-size: 17px; line-height: 1.2; }
  .work-type-card ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 12px; }
  .work-type-card li { padding-left: 16px; font-size: 14px; line-height: 1.38; }
  .work-type-card li::before { top: 5px; width: 7px; height: 4px; }
  .case-summary__action { min-height: 40px; }
}

@media (max-width: 420px) {
  .work-type-card ul { grid-template-columns: 1fr; }
}

/* A single featured case leads; the existing toggle reveals the remaining cases. */
.works-accordion { grid-template-columns: 1fr; gap: 16px; }
.works-expand { display: inline-flex; min-height: 40px; align-items: center; padding: 0 4px; border: 0; background: transparent; color: var(--accent); font: 750 13px var(--font-main); cursor: pointer; }
.work-case:nth-child(n + 2) { display: none; }
.works-section--expanded .work-case:nth-child(n + 2) { display: block; }
.case-summary { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); grid-template-rows: 1fr auto auto auto 1fr; gap: 0 24px; min-height: 240px; padding: 18px; text-align: left; }
.case-summary > strong { order: 0; grid-column: 2; grid-row: 2; min-height: 0; margin: 0 0 12px; font-size: 19px; }
.case-summary__photos { order: 0; grid-column: 1; grid-row: 1 / span 5; height: 100%; min-height: 204px; margin: 0; }
.case-summary__excerpt { grid-column: 2; grid-row: 3; min-height: 0; margin: 0; font-size: 14px; line-height: 1.5; }
.case-summary__action { grid-column: 2; grid-row: 4; width: min(100%, 240px); min-height: 44px; margin-top: 18px; }
.works-note { margin-top: 16px; }

/* Contact details read as separate actions, followed by a clear request form. */
.contact-copy, .request-modal__shell { padding: clamp(22px, 2.7vw, 34px); }
.contact-copy h2 { margin-bottom: 14px; font-size: clamp(23px, 2.1vw, 30px); }
.contact-copy > .contact-lead { position: static; width: auto; height: auto; margin: 0 0 16px; overflow: visible; clip-path: none; white-space: normal; color: var(--muted); font-size: 13px; line-height: 1.5; }
.contact-links { gap: 5px; margin-top: 18px; }
.contact-link { display: grid; grid-template-columns: 24px minmax(0, 1fr); align-items: start; gap: 10px; padding: 9px 0; border: 0; }
.contact-link > .ui-icon { grid-column: 1; grid-row: 1; width: 22px; height: 22px; }
.contact-link__value { grid-column: 2; grid-row: 1; color: var(--text); font-size: 14px; font-weight: 600; line-height: 1.45; }
.request-form { gap: 16px 14px; }
.request-form__head .eyebrow { display: none; }
.request-form__head h3 { margin-bottom: 10px; font-size: clamp(21px, 2vw, 27px); }
.request-form__head > p:last-child { position: static; width: auto; height: auto; margin: 0; overflow: visible; clip-path: none; white-space: normal; color: var(--muted); font-size: 13px; line-height: 1.5; }
.form-row { gap: 8px; font-size: 14px; line-height: 1.4; }
.form-row input, .form-row textarea { min-height: 48px; padding: 11px 13px; font-size: 14px; }
.form-row textarea { min-height: 110px; }
.form-options > summary { min-height: 44px; align-content: center; padding: 8px 0; font-size: 13px; }
.form-options[open] { display: grid; grid-template-columns: 1fr; gap: 14px; }
.channel-choice, .form-row--time { grid-column: 1; margin-top: 0; }
.legal-consents { gap: 13px; padding-top: 8px; border: 0; }
.legal-consents__legend { padding-top: 0; font-size: 13px; }
.legal-consent { gap: 11px; font-size: 12px; line-height: 1.5; }
.form-note { margin: 0; font-size: 12px; line-height: 1.5; }
.form-submit { min-height: 48px; }

@media (max-width: 620px) {
  .works-accordion { grid-template-columns: 1fr; gap: 14px; }
  .works-expand { min-height: 40px; font-size: 12px; }
  .case-summary { display: flex; min-height: 0; flex-direction: column; gap: 0; padding: 14px; }
  .case-summary > strong { order: -2; min-height: 0; margin-bottom: 11px; font-size: 16px; line-height: 1.3; }
  .case-summary__photos { order: -1; width: 100%; height: 170px; min-height: 0; margin-bottom: 12px; }
  .case-summary__photos > span::before { font-size: 11px; }
  .case-summary__excerpt { min-height: 0; margin-bottom: 14px; font-size: 13px; line-height: 1.45; }
  .case-summary__action { width: 100%; min-height: 44px; margin-top: 0; font-size: 13px; }
  .works-note { margin-top: 14px; font-size: 12px; line-height: 1.45; }

  .contact-stage { display: grid; grid-template-columns: 1fr; }
  .contact-stage .request-inline { border-top: 1px solid var(--line); border-left: 0; }
  .contact-copy { padding: 22px 18px 24px; }
  .request-modal__shell { padding: 24px 18px 26px; }
  .contact-copy h2 { margin-bottom: 16px; font-size: 21px; }
  .contact-links { gap: 5px; margin-top: 0; }
  .contact-link { grid-template-columns: 24px minmax(0, 1fr); gap: 10px; padding: 8px 0; border: 0; }
  .contact-link > .ui-icon { width: 21px; height: 21px; }
  .contact-link__value { font-size: 13px; line-height: 1.45; }
  .request-form { grid-template-columns: 1fr; gap: 18px; }
  .request-form__head h3 { margin-bottom: 10px; font-size: 21px; }
  .request-form__head > p:last-child { font-size: 13px; line-height: 1.45; }
  .form-row { gap: 8px; font-size: 14px; }
  .form-row input, .form-row textarea { min-height: 48px; padding: 11px 13px; font-size: 14px; }
  .form-row textarea { min-height: 110px; }
  .form-options { display: block; }
  .form-options > summary { display: block; min-height: 44px; padding: 11px 0; color: var(--accent); font-size: 13px; }
  .legal-consent { font-size: 12px; line-height: 1.5; }
  .form-note { font-size: 12px; line-height: 1.5; }
  .form-submit { min-height: 48px; font-size: 14px; }
}

/* Approved lacquer direction: a representative treatment for work types only. */
.work-types__grid { gap: 20px; }
.work-type-card {
  display: flex;
  min-height: 0;
  flex-direction: column;
  justify-content: flex-start;
  isolation: isolate;
  border-color: rgb(217 226 231 / 24%);
  border-radius: 6px;
  background: linear-gradient(135deg, #2a3033 0%, #202629 48%, #191f22 100%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 12%), 0 12px 28px rgb(0 0 0 / 18%);
}
.work-type-card::before {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 5%, rgb(255 255 255 / 33%) 36%, rgb(255 255 255 / 5%) 85%);
  content: "";
  pointer-events: none;
}
.work-type-card > img {
  position: relative;
  inset: auto;
  width: 100%;
  height: 174px;
  min-height: 0;
  object-fit: cover;
  filter: saturate(.88) contrast(1.06);
  /* Fade into the card's continuous surface rather than a separate end color. */
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 42%, rgb(0 0 0 / 78%) 62%, rgb(0 0 0 / 30%) 84%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 42%, rgb(0 0 0 / 78%) 62%, rgb(0 0 0 / 30%) 84%, transparent 100%);
}
.work-type-card::after {
  display: none;
}
.work-type-card > div { flex: 1; padding: 18px 23px 22px; }
.work-type-card h3 { min-height: 0; margin-bottom: 13px; font-size: 19px; line-height: 1.25; }
.work-type-card ul { grid-template-columns: 1fr; gap: 0; }
.work-type-card li {
  display: block;
  min-height: 38px;
  padding: 9px 0;
  border-top: 1px solid rgb(222 232 237 / 12%);
  color: var(--soft);
  font-size: 14px;
  line-height: 1.4;
}
.work-type-card li::before {
  display: none;
  content: none;
}

@media (min-width: 621px) and (max-width: 799px) {
  .work-types__grid { grid-template-columns: 1fr; }
  .work-type-card:nth-child(3) { grid-column: auto; }
}
@media (max-width: 620px) {
  .work-types__grid { grid-template-columns: 1fr; gap: 15px; }
  .work-type-card > img { height: 155px; }
  .work-type-card > div { padding: 17px 19px 21px; }
  .work-type-card h3 { margin-bottom: 12px; font-size: 18px; }
  .work-type-card ul { grid-template-columns: 1fr; }
  .work-type-card li { min-height: 39px; font-size: 14px; }
}

/* Approved direction: one workshop image dissolves into three service panels. */
.work-types--panels {
  --work-panel: #212629;
  --work-padding: 24px;
}
.work-types--panels #work-types-title { scroll-margin-top: 100px; }
.work-types--panels .work-types__stage {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--work-panel);
}
.work-types--panels .work-types__visual {
  display: block;
  height: clamp(200px, 23vw, 300px);
  overflow: hidden;
}
.work-types--panels .work-types__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
  filter: saturate(.72) brightness(.8);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 32%, rgb(0 0 0 / 82%) 54%, rgb(0 0 0 / 32%) 80%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 32%, rgb(0 0 0 / 82%) 54%, rgb(0 0 0 / 32%) 80%, transparent 100%);
}
.work-types--panels .work-types__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: -24px;
}
.work-types--panels .work-type-card {
  display: flex;
  grid-column: auto;
  min-height: 0;
  padding: var(--work-padding);
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition: transform 180ms cubic-bezier(.16, 1, .3, 1), background-color 180ms ease-out, box-shadow 180ms ease-out, opacity 180ms ease-out, filter 180ms ease-out;
}
.work-types--panels .work-type-card + .work-type-card { border-left: 1px solid rgb(228 229 230 / 14%); }
.work-types--panels .work-type-card::before,
.work-types--panels .work-type-card::after { display: none; }
.work-types--panels .work-type-card__heading {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 60px;
}
.work-types--panels .work-type-card__heading > .ui-icon {
  width: 28px;
  height: 28px;
  color: var(--accent);
}
.work-types--panels .work-type-card h3 {
  min-height: 0;
  margin: 2px 0 0;
  font-size: 20px;
  line-height: 1.25;
  text-wrap: balance;
}
.work-types--panels .work-type-card ul { display: grid; grid-template-columns: 1fr; gap: 0; }
.work-types--panels .work-type-card li { min-height: 0; padding: 0; border-top: 1px solid rgb(228 229 230 / 12%); }
.work-types--panels .work-type-card li::before { display: none; }
.work-types--panels .work-type-card a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  padding: 10px 0;
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
  text-decoration: none;
  transition: color 160ms ease-out;
}
.work-types--panels .work-type-card a > .ui-icon { width: 16px; height: 16px; color: var(--accent); }
.work-types--panels .work-type-card a:focus-visible {
  outline: 3px solid var(--focus, #ffaa61);
  outline-offset: 2px;
  border-radius: 2px;
}
.work-types--panels .work-type-card:focus-within { background-color: rgb(228 229 230 / 4%); }
@media (hover: hover) and (pointer: fine) {
  .work-types--panels .work-type-card:hover {
    z-index: 1;
    background-color: rgb(228 229 230 / 5%);
    box-shadow: 0 8px 20px rgb(0 0 0 / 16%);
    transform: translateY(-.6px);
  }
  .work-types--panels .work-types__grid:has(.work-type-card:hover) .work-type-card:not(:hover):not(:focus-within) { opacity: .84; filter: blur(.2px); }
  .work-types--panels .work-type-card a:hover { color: var(--accent); }
}
@media (max-width: 900px) {
  .work-types--panels { --work-padding: 20px; }
  .work-types--panels .work-types__grid { grid-template-columns: 1fr; margin-top: -16px; }
  .work-types--panels .work-types__visual { height: 220px; }
  .work-types--panels .work-type-card + .work-type-card { border-left: 0; border-top: 1px solid rgb(228 229 230 / 14%); }
  .work-types--panels .work-type-card__heading { min-height: 0; margin-bottom: 16px; }
  .work-types--panels .work-type-card h3 { font-size: 19px; }
}
@media (max-width: 380px) {
  .work-types--panels { --work-padding: 16px; }
  .work-types--panels .work-types__visual { height: 180px; }
  .work-types--panels .work-type-card__heading { gap: 10px; }
  .work-types--panels .work-type-card h3 { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .work-types--panels .work-type-card,
  .work-types--panels .work-type-card a { transition: none; }
  .work-types--panels .work-type-card:hover { transform: none; }
  .work-types--panels .work-types__grid:has(.work-type-card:hover) .work-type-card:not(:hover):not(:focus-within) { opacity: 1; filter: none; }
}

/* Equal service targets; quiet depth makes the pointed-to task stand out. */
.services-section .service-direction .service-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}
.services-section .service-row,
.services-section .mobile-service-list a {
  position: relative;
  display: flex;
  width: 100%;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgb(18 23 26 / 16%);
  color: var(--text);
  text-align: center;
  transform: none;
  opacity: 1;
  filter: none;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 4%);
  transition: transform 180ms cubic-bezier(.16, 1, .3, 1), box-shadow 180ms ease-out, background-color 180ms ease-out, border-color 180ms ease-out, opacity 160ms ease-out, filter 160ms ease-out;
}
.services-section .service-row {
  --service-border: var(--line);
  height: 64px;
  min-height: 64px;
  padding: 6px 10px;
  border-color: var(--service-border);
}
.services-section .service-list > li:nth-child(n) .service-row { border-right: 1px solid var(--service-border); }
.services-section .service-row__copy { flex: 0 1 auto; }
.services-section .service-row__copy strong { color: var(--text); text-align: center; }
.services-section .service-row__marker {
  display: inline-flex;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  min-height: 0;
  align-self: center;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: none;
}
.services-section .mobile-service-list a { height: 56px; min-height: 56px; padding: 8px; }
.services-section .service-row:focus-visible,
.services-section .mobile-service-list a:focus-visible {
  --service-border: var(--accent);
  z-index: 1;
  border-color: var(--accent);
  background: rgb(252 128 30 / 9%);
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 8%), 0 4px 10px rgb(0 0 0 / 18%);
}
@media (min-width: 901px) and (max-width: 1100px) {
  .services-section .service-direction .service-list { grid-template-columns: 1fr; }
}
@media (hover: hover) and (pointer: fine) {
  .services-section .service-row:hover,
  .services-section .mobile-service-list a:hover {
    --service-border: var(--accent);
    z-index: 1;
    border-color: var(--accent);
    background: rgb(252 128 30 / 9%);
    transform: translateY(-.6px);
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 8%), 0 4px 10px rgb(0 0 0 / 18%);
  }
  .service-navigator:has(.service-row:hover) .service-row:not(:hover, :focus-visible),
  .mobile-service-list:has(a:hover) a:not(:hover, :focus-visible) {
    opacity: .88;
    filter: blur(.2px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .services-section .service-row,
  .services-section .mobile-service-list a { transform: none !important; filter: none !important; }
}

/* VAZ 2107 has different camera angles: show both complete frames. */
.work-case--vaz-2107 .case-summary__photos { align-self: center; height: auto; min-height: 0; }
.work-case--vaz-2107 .case-summary__photos > span { aspect-ratio: 1672 / 941; }
.work-case--vaz-2107 .case-summary__photos img { display: block; height: auto; object-fit: contain; }
.case-detail[data-source-slug="vaz-2107-full-repaint"] .case-photo img { aspect-ratio: auto; object-fit: contain; }

/* Expanded Kia Sportage case: preserve the complete source frames. */
.work-case--kia-sportage-expanded .case-summary__photos { align-self: center; height: auto; min-height: 0; }
.work-case--kia-sportage-expanded .case-summary__photos > span { aspect-ratio: 1672 / 941; }
.work-case--kia-sportage-expanded .case-summary__photos img { display: block; height: auto; object-fit: contain; }
.case-detail[data-source-slug="kia-sportage-body-and-srs-repair"] .case-photo img { aspect-ratio: auto; object-fit: contain; }
