@media (max-width: 820px) {
  body.performance-theme {
    --performance-ink: #07090b;
    --performance-steel: #687078;
    --performance-panel: rgba(10, 13, 15, .94);
    background: #f1f2f1;
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }

  body.performance-theme .shell,
  body.performance-theme .page,
  body.performance-theme .first-view,
  body.performance-theme .hero {
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }

  body.performance-theme .topbar {
    width: 100% !important;
    max-width: 100vw !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    background: rgba(245, 246, 245, .97);
    border-bottom-color: rgba(7, 9, 11, .14);
  }

  body.performance-theme .brand__logo--dark { display: block; }
  body.performance-theme .brand__logo--light { display: none; }

  body.performance-theme .top-cta,
  body.performance-theme .mobile-service-summary__cta,
  body.performance-theme .mobile-dock__contact summary {
    color: #fff;
    background: #2b3034;
    box-shadow: 0 14px 34px rgba(7, 9, 11, .24);
  }

  body.performance-theme .top-cta {
    width: 114px !important;
    max-width: 114px !important;
    margin-right: 10px !important;
  }

  body.performance-theme.overview-theme .first-view {
    height: auto;
    min-height: 0;
    display: block;
    overflow: visible;
    color: var(--performance-ink);
    background:
      linear-gradient(180deg, rgba(241, 242, 241, .98), rgba(241, 242, 241, .9)),
      radial-gradient(circle at 92% 14%, rgba(104, 112, 120, .2), transparent 38%);
  }

  body.performance-theme.overview-theme .hero--overview {
    min-height: 0;
    display: block;
    overflow: visible;
    color: var(--performance-ink);
    background: transparent;
  }

  body.performance-theme.overview-theme .hero__copy {
    width: 100% !important;
    max-width: 100vw !important;
    padding: 25px 20px 14px;
  }

  body.performance-theme.overview-theme .kicker {
    margin-bottom: 14px;
    color: #4d565e;
  }

  body.performance-theme.overview-theme .hero h1 {
    max-width: 350px;
    margin-bottom: 12px;
    color: var(--performance-ink);
    font-size: clamp(38px, 10.8vw, 46px);
    line-height: .92;
    letter-spacing: -.05em;
  }

  body.performance-theme.overview-theme .hero__copy > p:not(.kicker):not(.crumb) {
    display: -webkit-box;
    overflow: hidden;
    max-width: 350px;
    margin: 14px 0 16px;
    color: rgba(7, 9, 11, .68);
    font-size: 15px;
    line-height: 1.38;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  body.performance-theme.overview-theme .actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin: 16px 0 0;
  }

  body.performance-theme.overview-theme .actions .btn--secondary {
    display: none !important;
  }

  body.performance-theme.overview-theme .btn {
    width: 100%;
    min-width: 0;
    height: 54px;
    min-height: 54px;
    border-color: rgba(7, 9, 11, .26);
  }

  body.performance-theme.overview-theme .btn--primary {
    background: #2b3034;
    border-color: #2b3034;
  }

  body.performance-theme.overview-theme .hero-microbar {
    display: none !important;
  }

  body.performance-theme.overview-theme .hero-microbar div {
    min-height: 48px;
    padding: 9px 10px;
    background: rgba(255, 255, 255, .72);
    border: 1px solid rgba(7, 9, 11, .13);
  }

  body.performance-theme.overview-theme .hero__media {
    position: relative !important;
    inset: auto !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    width: calc(100vw - 40px) !important;
    height: 224px !important;
    min-height: 224px !important;
    max-height: 224px !important;
    display: block;
    margin: 0 20px 12px;
    overflow: hidden;
    background: #0b0d0f;
    border: 1px solid rgba(7, 9, 11, .16);
    border-radius: 12px;
    box-shadow: 0 22px 54px rgba(7, 9, 11, .16);
  }

  body.performance-theme.overview-theme .hero__media img,
  body.performance-theme.overview-theme .hero-deck__slide {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 48%;
    filter: contrast(1.04) brightness(1.08);
    transform: none;
    transition: none;
  }

  body.performance-theme.overview-theme .hero-deck__slide:not(.is-active) {
    display: none !important;
  }

  body.performance-theme.overview-theme .hero__panel,
  body.performance-theme.overview-theme .hero-deck__controls {
    display: none;
  }

  body.performance-theme.overview-theme .service-switcher--performance {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
    padding: 0 20px 22px;
    overflow: hidden !important;
  }

  body.performance-theme.overview-theme .service-switcher--performance a {
    min-width: 0 !important;
    min-height: 88px;
    padding: 12px;
    align-content: end;
    overflow: hidden;
    color: #fff;
    background: #090b0d;
    border: 0;
    border-radius: 10px;
    box-shadow: 0 16px 36px rgba(7, 9, 11, .18);
  }

  body.performance-theme.overview-theme .service-switcher--performance a::before {
    opacity: .48;
    filter: contrast(1.08);
  }

  body.performance-theme.overview-theme .service-switcher--performance a::after {
    background: linear-gradient(180deg, transparent, rgba(7, 9, 11, .86));
  }

  body.performance-theme.overview-theme .service-switcher--performance a b {
    color: #fff;
    font-size: 18px;
    line-height: 1;
  }

  body.performance-theme .first-view--strip .hero--mobile-summary .hero__media {
    height: 210px;
    background: linear-gradient(135deg, #22272b, #0d0f11);
    border-color: rgba(255, 255, 255, .14);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 20px 48px rgba(7, 9, 11, .24);
  }

  body.performance-theme .first-view--strip .hero--mobile-summary .hero__media img {
    position: relative;
    inset: auto;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
    filter: contrast(1.04) brightness(1.16);
    transform: none;
  }

  body.performance-theme .mobile-service-summary {
    width: calc(100vw - 40px) !important;
    max-width: calc(100vw - 40px) !important;
    box-sizing: border-box !important;
    margin-top: -12px;
    padding: 12px;
    background: var(--performance-panel);
    border-color: rgba(255, 255, 255, .14);
  }

  body.performance-theme .mobile-service-summary ol,
  body.performance-theme .mobile-service-summary__items,
  body.performance-theme .mobile-service-summary__result {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    min-width: 0 !important;
  }

  body.performance-theme .mobile-service-summary__items {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.performance-theme .performance-project-brief {
    gap: 0;
    padding: 0;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(17, 20, 23, .98), rgba(8, 10, 12, .98));
    border-color: rgba(255, 255, 255, .18);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.06), 0 22px 52px rgba(0,0,0,.28);
  }

  body.performance-theme .performance-project-brief .mobile-service-summary__block {
    padding: 14px 14px 12px;
    border-bottom-color: rgba(255, 255, 255, .12);
  }

  body.performance-theme .performance-project-brief .mobile-service-summary__block strong {
    margin-bottom: 12px;
    color: rgba(255,255,255,.72);
    font-size: 10px;
    letter-spacing: .12em;
  }

  body.performance-theme .performance-project-brief .mobile-service-summary__items {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 0;
    border-top: 1px solid rgba(255,255,255,.12);
  }

  body.performance-theme .performance-project-brief .mobile-service-summary__items span {
    min-height: 40px;
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: rgba(255,255,255,.88);
    border-bottom: 1px solid rgba(255,255,255,.1);
    font-size: 12px;
    line-height: 1.2;
  }

  body.performance-theme .performance-project-brief .mobile-service-summary__items span:last-child {
    border-bottom: 0;
  }

  body.performance-theme .performance-project-brief .mobile-service-summary__items span::before {
    display: none;
  }

  body.performance-theme .performance-project-brief .mobile-service-summary__items b {
    color: #fff;
    font: 850 12px/1 var(--mono);
    text-transform: uppercase;
  }

  body.performance-theme .performance-project-brief .mobile-service-summary__items em {
    color: rgba(255,255,255,.6);
    font-style: normal;
    font-size: 11px;
    line-height: 1.18;
  }

  body.performance-theme .performance-project-brief .mobile-service-summary__block--flow {
    padding-top: 14px;
  }

  body.performance-theme .performance-project-brief .mobile-service-summary ol {
    grid-template-columns: 1fr !important;
    gap: 6px;
  }

  body.performance-theme .performance-project-brief .mobile-service-summary li {
    min-height: 34px;
    display: flex;
    align-items: center;
    padding-left: 34px;
    color: rgba(255,255,255,.82);
    font-size: 12px;
  }

  body.performance-theme .performance-project-brief .mobile-service-summary li::before {
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    border-color: rgba(255,255,255,.42);
  }

  body.performance-theme .performance-project-brief .mobile-service-summary__result {
    grid-template-columns: 1fr !important;
    margin: 0 14px 14px;
    background: rgba(255,255,255,.06);
    border-color: rgba(255,255,255,.12);
  }

  body.performance-theme .performance-project-brief .mobile-service-summary__result span {
    min-height: 34px;
    justify-content: start;
    padding: 0 12px;
    color: rgba(255,255,255,.82);
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.1);
    text-align: left;
  }

  body.performance-theme .performance-project-brief .mobile-service-summary__result span:last-child {
    border-bottom: 0;
  }

  body.performance-theme .performance-project-brief .mobile-service-summary__cta {
    width: auto;
    margin: 0 14px 12px;
    background: #515a62;
  }

  body.performance-theme .mobile-service-summary li,
  body.performance-theme .mobile-service-summary__items span,
  body.performance-theme .mobile-service-summary__result span {
    min-width: 0 !important;
    overflow-wrap: break-word;
  }

  body.performance-theme .hero--summary-performance:not(.hero--summary-performance-project) .mobile-service-summary {
    gap: 9px;
    margin-top: -8px;
    padding: 10px;
    border-radius: 16px;
  }

  body.performance-theme .hero--summary-performance:not(.hero--summary-performance-project) .mobile-service-summary__block {
    padding: 12px;
    background: rgba(255,255,255,.055);
    border: 1px solid rgba(255,255,255,.11);
    border-radius: 11px;
  }

  body.performance-theme .hero--summary-performance:not(.hero--summary-performance-project) .mobile-service-summary__items span {
    min-height: 38px;
    padding: 10px 2px;
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(255,255,255,.12);
    border-radius: 0;
  }

  body.performance-theme .hero--summary-performance:not(.hero--summary-performance-project) .mobile-service-summary__items span::before {
    display: none;
  }

  body.performance-theme .hero--summary-performance:not(.hero--summary-performance-project) .mobile-service-summary ol {
    grid-template-columns: 1fr !important;
    gap: 0;
  }

  body.performance-theme .hero--summary-performance:not(.hero--summary-performance-project) .mobile-service-summary li {
    min-height: 38px;
    padding: 10px 2px;
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(255,255,255,.12);
    border-radius: 0;
    font-size: 12px;
    line-height: 1.15;
  }

  body.performance-theme .hero--summary-performance:not(.hero--summary-performance-project) .mobile-service-summary li::before {
    display: none;
  }

  body.performance-theme .hero--summary-performance-exhaust .hero__media img {
    object-position: 48% 45%;
  }

  body.performance-theme .hero--summary-performance-exhaust .mobile-service-summary__block:first-child {
    border-left: 4px solid #89939b;
  }

  body.performance-theme .hero--summary-performance-exhaust .mobile-service-summary__result {
    display: flex;
    gap: 6px;
    background: transparent;
    border: 0;
  }

  body.performance-theme .hero--summary-performance-exhaust .mobile-service-summary__result span {
    flex: 1;
    min-height: 36px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 999px;
    background: rgba(255,255,255,.055);
  }

  body.performance-theme .hero--summary-performance-brakes .hero__media img {
    object-position: 56% 42%;
  }

  body.performance-theme .hero--summary-performance-brakes .mobile-service-summary ol {
    grid-template-columns: 1fr !important;
    padding-left: 0;
    border-left: 0;
  }

  body.performance-theme .hero--summary-performance-brakes .mobile-service-summary li {
    min-height: 38px;
    padding: 10px 2px;
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(255,255,255,.12);
    border-radius: 0;
  }

  body.performance-theme .hero--summary-performance-brakes .mobile-service-summary li::before {
    display: none;
  }

  body.performance-theme .hero--summary-performance-body .hero__media img {
    object-position: 42% 46%;
  }

  body.performance-theme .hero--summary-performance-body .mobile-service-summary__items {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.performance-theme .hero--summary-performance-body .mobile-service-summary__items span {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-right: 2px;
  }

  body.performance-theme .hero--summary-performance-body .mobile-service-summary__items span::after {
    content: none;
  }

  body.performance-theme .page > .section {
    padding-top: 34px;
    padding-bottom: 36px;
  }

  body.performance-theme .section__head {
    margin-bottom: 18px;
  }

  body.performance-theme .utility-bar {
    margin-top: 0;
    padding-bottom: 112px;
  }

  body.performance-theme .mobile-dock--service-menu {
    display: none !important;
  }

  body.performance-theme .performance-quick-dock {
    position: fixed;
    z-index: 70;
    left: 10px;
    right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    min-height: 62px;
    display: grid;
    grid-template-columns: .82fr 1.18fr;
    gap: 6px;
    padding: 6px;
    background:
      linear-gradient(135deg, rgba(255,255,255,.08), transparent 38%),
      rgba(8, 10, 12, .95);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 10px;
    box-shadow: 0 18px 56px rgba(0, 0, 0, .38);
    backdrop-filter: blur(18px);
  }

  body.performance-theme .performance-quick-dock a,
  body.performance-theme .performance-quick-dock button {
    min-width: 0;
    min-height: 50px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 0 13px;
    color: #fff;
    background: rgba(255, 255, 255, .08);
    border: 0;
    border-radius: 5px;
    font-family: inherit;
    text-align: left;
  }

  body.performance-theme .performance-quick-dock span {
    color: rgba(255, 255, 255, .58);
    font: 850 10px/1 var(--mono);
    letter-spacing: .04em;
  }

  body.performance-theme .performance-quick-dock b {
    min-width: 0;
    color: #fff;
    font-size: 13px;
    line-height: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body.performance-theme .performance-quick-dock i {
    margin-left: auto;
    color: #fff;
    font-style: normal;
  }

  body.performance-theme .performance-quick-dock__request {
    background: linear-gradient(135deg, #69727b, #2f3439) !important;
  }

  .performance-projects-backdrop,
  .performance-request-backdrop {
    position: fixed;
    z-index: 80;
    inset: 0;
    display: none;
    width: 100%;
    min-height: 100%;
    padding: 0;
    background: rgba(4, 5, 6, .42);
    border: 0;
    backdrop-filter: blur(6px);
  }

  body.is-performance-projects-open .performance-projects-backdrop,
  body.is-performance-request-open .performance-request-backdrop {
    display: block;
  }

  .performance-projects-sheet,
  .performance-request-sheet {
    position: fixed;
    z-index: 90;
    left: 10px;
    right: 10px;
    bottom: calc(84px + env(safe-area-inset-bottom));
    max-height: min(68svh, 560px);
    overflow: auto;
    color: #fff;
    background:
      linear-gradient(135deg, rgba(255,255,255,.1), transparent 34%),
      radial-gradient(circle at 86% 8%, rgba(120, 130, 138, .28), transparent 36%),
      rgba(8, 10, 12, .98);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 16px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .46);
    opacity: 0;
    transform: translateY(18px);
    pointer-events: none;
    transition: opacity 180ms ease, transform 220ms ease;
    -webkit-overflow-scrolling: touch;
  }

  body.is-performance-projects-open .performance-projects-sheet,
  body.is-performance-request-open .performance-request-sheet {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .performance-sheet__head {
    position: sticky;
    top: 0;
    z-index: 2;
    min-height: 58px;
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr) 40px;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: rgba(8, 10, 12, .94);
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    backdrop-filter: blur(14px);
  }

  .performance-sheet__head span {
    color: rgba(255, 255, 255, .54);
    font: 850 10px/1 var(--mono);
    letter-spacing: .12em;
    text-transform: uppercase;
  }

  .performance-sheet__head strong {
    min-width: 0;
    font-size: 17px;
    line-height: 1.05;
  }

  .performance-sheet__head button {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    color: #fff;
    background: rgba(255, 255, 255, .09);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 10px;
    font: 24px/1 var(--sans);
  }

  .performance-projects-sheet nav,
  .performance-request-sheet__actions {
    display: grid;
    gap: 7px;
    padding: 9px;
  }

  .performance-projects-sheet a,
  .performance-request-sheet__actions a {
    min-height: 58px;
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr) 20px;
    grid-template-rows: auto auto;
    align-items: center;
    gap: 3px 10px;
    padding: 10px 11px;
    color: #fff;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 12px;
  }

  .performance-projects-sheet a.is-active {
    background: rgba(255, 255, 255, .13);
    border-color: rgba(255, 255, 255, .28);
  }

  .performance-projects-sheet a span,
  .performance-request-sheet__actions a span {
    grid-row: 1 / 3;
    color: rgba(255, 255, 255, .5);
    font: 850 10px/1 var(--mono);
  }

  .performance-projects-sheet a b,
  .performance-request-sheet__actions a b {
    min-width: 0;
    color: #fff;
    font-size: 15px;
    line-height: 1.05;
  }

  .performance-projects-sheet a small,
  .performance-request-sheet__actions a i {
    min-width: 0;
    color: rgba(255, 255, 255, .58);
    font-size: 11px;
    line-height: 1.2;
    font-style: normal;
  }

  .performance-projects-sheet a i {
    grid-column: 3;
    grid-row: 1 / 3;
    justify-self: end;
    color: rgba(255, 255, 255, .72);
    font-style: normal;
  }

  .performance-request-sheet__intro {
    padding: 14px 14px 11px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
  }

  .performance-request-sheet__intro b {
    display: block;
    margin-bottom: 7px;
    font-size: 16px;
    line-height: 1.12;
  }

  .performance-request-sheet__intro p {
    margin: 0;
    color: rgba(255, 255, 255, .64);
    font-size: 13px;
    line-height: 1.32;
  }

  .performance-request-sheet__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    margin: 10px 9px 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 12px;
  }

  .performance-request-sheet__grid span {
    min-height: 42px;
    display: grid;
    place-items: center;
    color: rgba(255, 255, 255, .78);
    background: rgba(255, 255, 255, .07);
    font: 850 10px/1 var(--mono);
    letter-spacing: .04em;
    text-transform: uppercase;
  }

  .performance-request-sheet__actions a {
    grid-template-columns: 32px minmax(0, 1fr);
  }

  .performance-request-sheet__actions a i {
    grid-column: 2;
  }

  .performance-projects-sheet a:focus-visible,
  .performance-request-sheet__actions a:focus-visible,
  .performance-sheet__head button:focus-visible,
  body.performance-theme .performance-quick-dock button:focus-visible {
    outline: 2px solid rgba(190, 198, 205, .9);
    outline-offset: 2px;
  }

  body.performance-theme .mobile-dock {
    position: fixed !important;
    bottom: calc(10px + env(safe-area-inset-bottom)) !important;
    left: 10px !important;
    right: 10px !important;
    width: auto !important;
    max-width: calc(100vw - 20px) !important;
    box-sizing: border-box !important;
  }

  body.performance-theme .mobile-dock > details,
  body.performance-theme .mobile-dock summary {
    min-width: 0 !important;
  }

  body.performance-theme .mobile-dock__contact > div {
    left: auto !important;
    right: 0 !important;
    width: min(188px, calc(100vw - 20px)) !important;
    max-width: calc(100vw - 20px) !important;
  }
}

@media (max-width: 820px) {
  body.performance-theme .first-view--strip .hero--mobile-summary .crumb a {
    min-height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    padding-block: 14px !important;
    margin-block: -14px !important;
    -webkit-tap-highlight-color: transparent;
  }
}

@media (min-width: 821px) {
  body.performance-theme .hero__media--performance img,
  body.performance-theme .hero__media--balance img {
    filter: contrast(1.03) brightness(1.08);
  }
}

@media (max-width: 820px) {
  body.performance-theme:has(.hero--summary-performance) .section__head > span {
    color: #59636a;
  }

  body.performance-theme:has(.hero--summary-performance) .proof-list {
    margin: 0;
    padding: 0;
    border: 0;
    border-top: 1px solid rgba(7, 9, 11, .16);
    background: transparent;
  }

  body.performance-theme:has(.hero--summary-performance) .proof-item {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    min-height: 0;
    padding: 16px 0;
  }

  body.performance-theme:has(.hero--summary-performance) a.proof-item {
    grid-template-columns: 32px minmax(0, 1fr) 18px;
    scroll-margin-block: 110px;
  }

  body.performance-theme:has(.hero--summary-performance) .proof-item span {
    padding-top: 4px;
    color: #59636a;
    font-size: 10px;
    line-height: 1;
  }

  body.performance-theme:has(.hero--summary-performance) .proof-item strong {
    min-width: 0;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.32;
    letter-spacing: 0;
    overflow-wrap: break-word;
  }

  body.performance-theme:has(.hero--summary-performance) a.proof-item b {
    align-self: start;
    padding-top: 1px;
    font-size: 18px;
    line-height: 1;
  }

  body.performance-theme:has(.hero--summary-performance) a.proof-item:focus-visible {
    outline: 2px solid #59636a;
    outline-offset: 4px;
  }
}

/* The same five destinations appear on every Performance page. */
@media (min-width: 981px) {
  .service-switcher--performance a[href="/performance-vypusknaya-sistema"] {
    --switcher-image: url("./assets/optimized/f21-exhaust-fitted-chrome-640-tone26.webp");
    --switcher-position: 50% 52%;
  }

  .service-switcher--performance a[href="/performance-tormoza"] {
    --switcher-image: url("./assets/optimized/f21-brake-m-compound-640-tone26.webp");
    --switcher-position: 50% 53%;
  }

  .service-switcher--performance a[href="/performance-obvesy"] {
    --switcher-image: url("./assets/optimized/f21-obvesy-porsche-orange-768.webp");
    --switcher-position: 50% 43%;
  }

  .service-switcher--performance a[href="/performance-proekt"] {
    --switcher-image: url("./assets/gallery/m4-1-chrome2-small.webp");
    --switcher-position: 50% 54%;
  }

  body.performance-theme .first-view > .service-switcher--performance a::before {
    filter: none !important;
  }
}

@media (max-width: 980px) {
  body.performance-theme .hero--summary-performance .hero__copy h1 {
    max-inline-size: none;
  }

  body.performance-theme .hero--summary-performance-project .hero__copy h1 {
    font-size: clamp(24px, 7.4vw, 36px);
  }

  body.performance-theme .hero--summary-performance .hero__copy h1 > .perf-mobile,
  body.performance-theme .performance-project-brief .mobile-service-summary__block--flow li {
    overflow-wrap: normal;
  }

  body.performance-theme .performance-project-brief .mobile-service-summary__block--flow > ol {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}
