:root {
  --yellow: #ffd400;
  --yellow-strong: #f4c900;
  --black: #101112;
  --ink: #17191c;
  --muted: #656a70;
  --line: #dedede;
  --soft: #f4f4f2;
  --white: #ffffff;
  --container: 1240px;
  --radius: 6px;
  --header-height: 74px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Avenir Next", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1.2em;
  height: 1.2em;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 16px;
  z-index: 110;
  padding: 12px 18px;
  color: var(--black);
  background: var(--yellow);
  border-radius: var(--radius);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: none;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(16, 17, 18, 0.1);
  backdrop-filter: blur(16px);
  transition: box-shadow 180ms ease;
}

.site-header.is-scrolled {
  box-shadow: 0 12px 32px rgba(16, 17, 18, 0.08);
}

.header-inner {
  width: min(calc(100% - 40px), 1380px);
  height: 100%;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(210px, 1fr) auto minmax(210px, 1fr);
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: fit-content;
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background: var(--yellow);
  border: 1px solid var(--black);
  border-radius: var(--radius);
  overflow: hidden;
}

.brand-mark img {
  width: 43px;
  height: 43px;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  gap: 1px;
}

.brand-copy strong {
  color: var(--black);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
}

.brand-copy small {
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 600;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.main-nav a {
  padding: 11px 12px;
  color: #303338;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  border-radius: var(--radius);
  transition: color 160ms ease, background 160ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--black);
  background: var(--soft);
}

.main-nav a[aria-current="location"] {
  color: var(--black);
  background: var(--yellow);
}

.main-nav .route-link {
  display: none;
}

.header-phone {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  justify-self: end;
  padding: 10px 15px;
  color: var(--white);
  background: var(--black);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 800;
  transform-origin: center;
  animation: header-phone-ring 5.2s ease-in-out 1.4s infinite;
  transition: transform 160ms ease, background 160ms ease;
  will-change: transform;
}

.header-phone:hover,
.header-phone:focus-visible {
  animation: none;
  background: #2a2c2f;
  transform: translateY(-1px);
}

.header-phone:active {
  animation: none;
  transform: scale(0.98);
}

@keyframes header-phone-ring {
  0%, 18%, 100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  2% {
    transform: translate3d(-2px, 0, 0) rotate(-1.6deg);
  }
  4% {
    transform: translate3d(2px, 0, 0) rotate(1.6deg);
  }
  6% {
    transform: translate3d(-2px, 0, 0) rotate(-1.2deg);
  }
  8% {
    transform: translate3d(2px, 0, 0) rotate(1.2deg);
  }
  10% {
    transform: translate3d(-1px, 0, 0) rotate(-0.8deg);
  }
  12% {
    transform: translate3d(1px, 0, 0) rotate(0.8deg);
  }
  14% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--black);
  background: var(--soft);
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
}

.menu-close-icon {
  display: none;
}

.hero {
  min-height: 650px;
  display: flex;
  align-items: stretch;
  background-color: var(--white);
  background-image: url("hero-repair-studio-v2.webp");
  background-repeat: no-repeat;
  background-position: left center;
  background-size: cover;
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  width: min(calc(100% - 48px), var(--container));
  min-height: 650px;
  display: flex;
  align-items: center;
  margin-inline: auto;
}

.hero-copy {
  width: 44%;
  max-width: 520px;
  padding: 56px 0 58px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: #54595f;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  background: var(--yellow);
  border-radius: 50%;
}

.hero h1,
.section-heading h2,
.courier-copy h2,
.principle-copy h2,
.battery-offer h2,
.installment-offer h2,
.contact-copy h2,
.numbers-heading h2 {
  margin: 0;
  color: var(--black);
  font-family: "Arial Black", "Avenir Next", "Segoe UI", sans-serif;
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 510px;
  font-size: 56px;
}

.hero-lead {
  max-width: 460px;
  margin: 24px 0 0;
  color: #4f545a;
  font-size: 18px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--black);
  background: var(--yellow);
  border-color: var(--yellow);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--yellow-strong);
  border-color: var(--yellow-strong);
}

.button-secondary {
  color: var(--black);
  background: var(--white);
  border-color: #cfd1d3;
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--black);
}

.button-dark {
  color: var(--white);
  background: var(--black);
  border-color: var(--black);
}

.button-dark:hover,
.button-dark:focus-visible {
  background: #2a2c2f;
  border-color: #2a2c2f;
}

.hero-details {
  display: flex;
  gap: 36px;
  margin: 36px 0 0;
  padding-top: 24px;
  border-top: 1px solid #d4d5d6;
}

.hero-details div {
  display: grid;
  gap: 2px;
}

.hero-details dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-details dd {
  margin: 0;
  color: var(--black);
  font-size: 14px;
  font-weight: 800;
}

.hero-details a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hero-mobile-image {
  display: none;
}

.speed-band {
  color: var(--white);
  background: var(--black);
}

.speed-grid {
  min-height: 138px;
  display: grid;
  grid-template-columns: 1fr 1fr 0.72fr;
  align-items: stretch;
}

.speed-grid article {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 24px 36px 24px 0;
  border-right: 1px solid #36383a;
}

.speed-grid article + article {
  padding-left: 36px;
}

.speed-number {
  color: var(--yellow);
  font-family: "Arial Black", "Avenir Next", sans-serif;
  font-size: 44px;
  font-weight: 900;
  line-height: 1;
}

.speed-grid strong {
  display: block;
  margin-bottom: 2px;
  font-size: 16px;
}

.speed-grid p {
  max-width: 250px;
  margin: 0;
  color: #b8bbbf;
  font-size: 13px;
  line-height: 1.45;
}

.speed-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 0 28px 36px;
  color: var(--yellow);
  font-size: 14px;
  font-weight: 800;
}

.speed-contact .icon {
  width: 24px;
  height: 24px;
  transition: transform 160ms ease;
}

.speed-contact:hover .icon {
  transform: translateX(4px);
}

.section {
  padding: 112px 0;
}

.section-heading {
  margin-bottom: 48px;
}

.heading-row {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.65fr);
  gap: 70px;
  align-items: end;
}

.section-heading h2,
.numbers-heading h2 {
  max-width: 800px;
  font-size: 46px;
}

.heading-row > p {
  margin: 0 0 3px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.section-price-link {
  display: flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  min-height: 44px;
  margin-top: 8px;
  color: var(--black);
  font-size: 14px;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.section-price-link:hover {
  text-decoration-color: var(--black);
}

.services-section {
  background: var(--white);
}

.service-gallery {
  height: 430px;
  display: grid;
  grid-template-columns: 1.5fr 0.75fr 0.75fr;
  gap: 14px;
  margin-bottom: 54px;
}

.service-gallery figure,
.visit-grid figure {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
}

.service-gallery img,
.visit-grid img {
  width: 100%;
  height: 100%;
  transition: transform 420ms ease;
}

.service-gallery figure:hover img,
.visit-grid figure:hover img {
  transform: scale(1.025);
}

.service-gallery figcaption,
.visit-grid figcaption {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 48px 18px 18px;
  color: var(--white);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.82), transparent);
  font-size: 15px;
  font-weight: 800;
}

.service-gallery figcaption span {
  color: var(--yellow);
  font-size: 12px;
}

.price-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.price-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

.price-tabs[hidden] {
  display: none;
}

.price-tab {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 20px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-right: 1px solid var(--line);
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}

.price-tab:last-child {
  border-right: 0;
}

.price-tab.is-active {
  color: var(--black);
  background: var(--yellow);
}

.price-tab:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: -4px;
}

.price-content {
  padding: 40px 46px 30px;
}

.price-content + .price-content {
  border-top: 1px solid var(--line);
}

.price-content[hidden] {
  display: none;
}

.price-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 26px;
}

.price-intro > div {
  display: flex;
  align-items: center;
  gap: 16px;
}

.price-index {
  color: #9a9da1;
  font-size: 12px;
  font-weight: 900;
}

.price-intro h3 {
  margin: 0;
  color: var(--black);
  font-size: 25px;
  line-height: 1.2;
}

.price-intro p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.table-scroll {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 15px 16px;
  text-align: left;
  border-bottom: 1px solid #e5e5e5;
}

th {
  color: var(--muted);
  background: var(--soft);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

td {
  color: #34373b;
  font-size: 14px;
}

th:first-child,
td:first-child {
  width: 58%;
}

td:last-child {
  color: var(--black);
  font-weight: 800;
  white-space: nowrap;
}

td:nth-child(2) {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

tbody tr:hover td {
  background: #fffce7;
}

.price-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.advantages-section {
  background: var(--soft);
}

.advantages-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid #cfd0cf;
  border-left: 1px solid #cfd0cf;
}

.advantage-item {
  position: relative;
  min-height: 210px;
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 26px;
  padding: 38px 42px;
  background: var(--white);
  border-right: 1px solid #cfd0cf;
  border-bottom: 1px solid #cfd0cf;
}

.advantage-item > .icon {
  width: 54px;
  height: 54px;
  padding: 13px;
  color: var(--black);
  background: var(--yellow);
  border-radius: var(--radius);
}

.advantage-item h3 {
  margin: 0 0 9px;
  color: var(--black);
  font-size: 21px;
  line-height: 1.25;
}

.advantage-item p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.advantage-number {
  position: absolute;
  top: 18px;
  right: 20px;
  color: #afb1b3;
  font-size: 11px;
  font-weight: 900;
}

.courier-section {
  padding: 112px 0;
  background: var(--yellow);
}

.courier-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.05fr);
  gap: 78px;
  align-items: center;
}

.courier-photo {
  position: relative;
  height: 630px;
}

.courier-photo img {
  width: 100%;
  height: 100%;
  border-radius: var(--radius);
}

.courier-time {
  position: absolute;
  right: -24px;
  bottom: 38px;
  min-width: 150px;
  padding: 20px;
  color: var(--white);
  background: var(--black);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
}

.courier-time strong {
  display: block;
  color: var(--yellow);
  font-family: "Arial Black", sans-serif;
  font-size: 48px;
  line-height: 1;
}

.eyebrow-dark {
  color: #4d460e;
}

.eyebrow-dark > span {
  background: var(--black);
}

.courier-copy h2 {
  max-width: 620px;
  font-size: 48px;
}

.courier-lead {
  max-width: 610px;
  margin: 22px 0 34px;
  color: #4a430b;
  font-size: 17px;
  line-height: 1.7;
}

.courier-steps {
  display: grid;
  gap: 0;
  margin: 0 0 34px;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(16, 17, 18, 0.28);
}

.courier-steps li {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 20px;
  padding: 19px 0;
  border-bottom: 1px solid rgba(16, 17, 18, 0.28);
}

.courier-steps li > span {
  color: #6a610e;
  font-size: 12px;
  font-weight: 900;
}

.courier-steps strong {
  display: block;
  margin-bottom: 3px;
  color: var(--black);
  font-size: 18px;
}

.courier-steps p {
  margin: 0;
  color: #4a430b;
  font-size: 14px;
}

.numbers-section {
  padding-bottom: 96px;
}

.numbers-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 38px;
}

.numbers-heading .eyebrow {
  align-self: start;
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.numbers-grid article {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.numbers-grid strong {
  color: var(--black);
  font-family: "Arial Black", sans-serif;
  font-size: 64px;
  line-height: 1;
}

.numbers-grid article:nth-child(2) strong {
  color: var(--black);
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 6px;
  text-underline-offset: 8px;
}

.numbers-grid span {
  color: #555a60;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.repair-principle {
  padding: 112px 0;
  color: var(--white);
  background: var(--black);
}

.principle-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 80px;
  align-items: center;
}

.eyebrow-light {
  color: #b9bdc1;
}

.principle-copy h2 {
  color: var(--white);
  font-size: 48px;
}

.principle-copy > p:not(.eyebrow) {
  margin: 24px 0;
  color: #b9bdc1;
  font-size: 17px;
  line-height: 1.75;
}

.principle-copy blockquote {
  margin: 28px 0;
  padding: 4px 0 4px 20px;
  color: var(--white);
  border-left: 4px solid var(--yellow);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.5;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--yellow);
  font-weight: 800;
}

.text-link .icon {
  transition: transform 160ms ease;
}

.text-link:hover .icon {
  transform: translateX(4px);
}

.principle-media {
  position: relative;
  min-height: 600px;
}

.principle-media > img {
  width: 100%;
  height: 600px;
  border-radius: var(--radius);
}

.recovery-stats {
  position: absolute;
  right: 0;
  bottom: 28px;
  width: min(620px, calc(100% - 16px));
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  color: var(--black);
  background: var(--yellow);
  border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.24);
  overflow: hidden;
}

.recovery-stat {
  min-width: 0;
  min-height: 184px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 18px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
}

.recovery-stat + .recovery-stat {
  border-left: 1px solid rgba(16, 17, 18, 0.3);
}

.recovery-stat-icon {
  width: 30px;
  height: 30px;
  margin-bottom: 18px;
  stroke-width: 1.7;
}

.recovery-stat > span {
  max-width: 150px;
  margin-top: auto;
}

.flip-counter {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-bottom: 14px;
  color: var(--white);
  font-family: "Arial Black", sans-serif;
  font-size: 27px;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  white-space: nowrap;
}

.flip-digit {
  position: relative;
  width: 25px;
  height: 42px;
  flex: 0 0 25px;
  color: var(--white);
  background: #202225;
  border: 1px solid #08090a;
  border-radius: 3px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 2px 3px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  perspective: 140px;
}

.flip-half,
.flip-leaf {
  position: absolute;
  left: 0;
  width: 100%;
  height: 50%;
  overflow: hidden;
  background: #202225;
  backface-visibility: hidden;
}

.flip-half > span,
.flip-leaf > span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 200%;
  display: grid;
  place-items: center;
}

.flip-half-top,
.flip-leaf-top {
  top: 0;
  border-bottom: 1px solid #090a0b;
}

.flip-half-top > span,
.flip-leaf-top > span {
  top: 0;
}

.flip-half-bottom,
.flip-leaf-bottom {
  bottom: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.flip-half-bottom > span,
.flip-leaf-bottom > span {
  bottom: 0;
}

.flip-leaf-top {
  z-index: 2;
  transform-origin: 50% 100%;
}

.flip-leaf-bottom {
  z-index: 2;
  transform: rotateX(90deg);
  transform-origin: 50% 0;
}

.flip-digit.is-flipping .flip-leaf-top {
  animation: flip-leaf-out 130ms ease-in forwards;
}

.flip-digit.is-flipping .flip-leaf-bottom {
  animation: flip-leaf-in 130ms 65ms ease-out forwards;
}

.flip-separator {
  width: 4px;
  flex: 0 0 4px;
}

@keyframes flip-leaf-out {
  to { transform: rotateX(-90deg); }
}

@keyframes flip-leaf-in {
  to { transform: rotateX(0); }
}

.offers-section {
  background: var(--soft);
}

.offer-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.battery-offer,
.installment-offer {
  min-height: 520px;
  padding: 56px;
}

.battery-offer {
  background: var(--white);
  border: 1px solid var(--line);
}

.installment-offer {
  color: var(--white);
  background: var(--black);
}

.offer-icon {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  margin-bottom: 48px;
  color: var(--black);
  background: var(--yellow);
  border-radius: var(--radius);
}

.offer-icon .icon {
  width: 34px;
  height: 34px;
}

.battery-offer h2,
.installment-offer h2 {
  max-width: 470px;
  font-size: 42px;
}

.installment-offer h2 {
  color: var(--white);
}

.battery-offer > p:not(.eyebrow),
.installment-offer > p:not(.offer-tag) {
  max-width: 480px;
  margin: 24px 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.installment-offer > p:not(.offer-tag) {
  color: #babdc0;
}

.offer-price,
.installment-offer > strong {
  display: block;
  margin-top: 38px;
  padding-top: 22px;
  color: var(--black);
  border-top: 1px solid var(--line);
  font-size: 17px;
}

.installment-offer > strong {
  color: var(--yellow);
  border-top-color: #3d3f42;
}

.offer-price-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 48px;
  font-weight: 800;
}

.offer-price-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.offer-tag {
  margin: 0 0 54px;
  color: var(--yellow);
  font-family: "Arial Black", sans-serif;
  font-size: 68px;
  font-weight: 900;
  line-height: 1;
}

.reviews-section {
  background: var(--white);
}

.reviews-summary {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.reviews-score {
  display: flex;
  align-items: center;
  gap: 16px;
}

.reviews-score > strong {
  color: var(--black);
  font-family: "Arial Black", sans-serif;
  font-size: 44px;
  line-height: 1;
}

.reviews-score > div {
  display: grid;
  gap: 2px;
}

.reviews-score span {
  color: var(--black);
  font-size: 13px;
  font-weight: 800;
}

.reviews-score small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.reviews-all,
.review-source {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--white);
  background: var(--black);
  border-radius: var(--radius);
  font-weight: 800;
}

.reviews-all {
  min-height: 48px;
  padding: 0 18px;
  font-size: 13px;
}

.reviews-all .icon,
.review-source .icon {
  transition: transform 160ms ease;
}

.reviews-all:hover .icon,
.review-source:hover .icon {
  transform: translateX(3px);
}

.reviews-carousel {
  position: relative;
}

.reviews-viewport {
  margin: -1px;
  padding: 1px;
  overflow: hidden;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 180ms ease, transform 180ms ease;
}

.reviews-grid.is-changing {
  opacity: 0;
  transform: translateY(8px);
}

.review-card {
  min-width: 0;
  height: 292px;
  display: flex;
  flex-direction: column;
  padding: 30px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.review-card:nth-child(2) {
  color: var(--white);
  background: var(--black);
  border-color: var(--black);
}

.review-head {
  display: flex;
  align-items: center;
  gap: 13px;
}

.review-avatar,
.review-avatar-fallback {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border: 2px solid var(--yellow);
  border-radius: 50%;
  background: var(--white);
  object-fit: cover;
}

.review-avatar-fallback {
  display: grid;
  place-items: center;
  color: var(--black);
  font-size: 17px;
  font-weight: 900;
}

.review-head > div {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.review-head strong {
  overflow: hidden;
  color: var(--black);
  font-size: 14px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.review-card:nth-child(2) .review-head strong {
  color: var(--white);
}

.review-head > div > span {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.review-card:nth-child(2) .review-head > div > span {
  color: #b9bdc1;
}

.review-stars {
  color: #e5bd00;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 1px;
}

.review-card > p {
  display: -webkit-box;
  min-height: 0;
  flex: 1 1 auto;
  overflow: hidden;
  margin: 24px 0 18px;
  color: #454a4f;
  font-size: 15px;
  line-height: 1.7;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.review-card:nth-child(2) > p {
  color: #e1e2e3;
}

.review-source {
  width: fit-content;
  min-height: 34px;
  margin-top: auto;
  padding: 0 11px;
  color: var(--black);
  background: transparent;
  border: 1px solid #c8c9c8;
  font-size: 11px;
}

.review-card:nth-child(2) .review-source {
  color: var(--white);
  border-color: #4d4f51;
}

.reviews-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  margin-top: 16px;
}

.reviews-pagination button {
  position: relative;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--black);
  background: transparent;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.reviews-pagination button::before {
  width: 8px;
  height: 8px;
  content: "";
  background: #b7b8b8;
  border-radius: 999px;
  transition: width 180ms ease, background-color 180ms ease;
}

.reviews-pagination button:hover::before {
  background: var(--black);
}

.reviews-pagination button[aria-current="true"]::before {
  width: 24px;
  background: var(--yellow);
}

.reviews-pagination button:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: -5px;
}

.reviews-pagination button[hidden] {
  display: none;
}

.visit-section {
  padding-top: 40px;
  background: var(--white);
}

.visit-grid {
  height: 360px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.visit-grid figcaption {
  display: grid;
  gap: 1px;
}

.visit-grid figcaption strong {
  font-size: 18px;
}

.visit-grid figcaption span {
  color: #d6d8da;
  font-size: 12px;
  font-weight: 600;
}

.contacts-section {
  padding: 112px 0 0;
  background: var(--soft);
}

.contacts-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.83fr) minmax(0, 1.17fr);
  gap: 70px;
  align-items: stretch;
  margin-bottom: 64px;
}

.contact-copy {
  padding: 26px 0;
}

.contact-copy h2 {
  max-width: 520px;
  font-size: 48px;
}

.contact-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 30px 0;
  padding: 18px 0;
  border-top: 1px solid #d4d5d4;
  border-bottom: 1px solid #d4d5d4;
}

.contact-brand img {
  width: 64px;
  height: 56px;
  object-fit: contain;
}

.contact-brand > div {
  display: grid;
  gap: 1px;
}

.contact-brand strong {
  color: var(--black);
  font-size: 20px;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-brand span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

address {
  display: grid;
  gap: 18px;
  margin: 0 0 30px;
  font-style: normal;
}

address > a,
address > div {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
}

.contact-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--black);
  background: var(--yellow);
  border-radius: var(--radius);
}

address > a > span:last-child,
address > div > span:last-child {
  display: grid;
  gap: 1px;
}

address small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

address strong {
  color: var(--black);
  font-size: 16px;
  font-style: normal;
  overflow-wrap: anywhere;
}

address em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

.contact-location {
  position: relative;
  min-height: 600px;
}

.contact-location img {
  width: 100%;
  height: 100%;
  border-radius: var(--radius);
}

.contact-location > span {
  position: absolute;
  right: 20px;
  bottom: 20px;
  padding: 10px 13px;
  color: var(--black);
  background: var(--yellow);
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 900;
}

.map-wrap {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: var(--radius) var(--radius) 0 0;
}

.map-heading {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 18px 24px;
}

.map-title {
  display: grid;
  gap: 2px;
  max-width: 540px;
}

.map-heading span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.map-heading strong {
  color: var(--black);
  font-size: 17px;
}

.map-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.map-tabs {
  display: inline-flex;
  gap: 3px;
  padding: 3px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.map-tabs button {
  min-height: 38px;
  padding: 8px 12px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.map-tabs button.is-active {
  color: var(--black);
  background: var(--yellow);
}

.map-route {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 13px;
  color: var(--white);
  background: var(--black);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.map-route:hover,
.map-route:focus-visible {
  background: #2a2c2f;
}

.map-wrap iframe {
  width: 100%;
  height: 500px;
  display: block;
  border: 0;
}

.map-wrap iframe[hidden] {
  display: none;
}

.site-footer {
  color: var(--white);
  background: var(--black);
}

.footer-inner {
  min-height: 140px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
}

.footer-brand .brand-copy strong {
  color: var(--white);
}

.footer-brand .brand-copy small {
  color: #9da1a5;
  max-width: 280px;
  white-space: normal;
}

.footer-inner > p {
  margin: 0;
  color: #9da1a5;
  font-size: 12px;
  text-align: center;
}

.footer-contacts {
  display: grid;
  justify-items: end;
  gap: 3px;
}

.footer-contacts a:first-child {
  justify-self: end;
  color: var(--yellow);
  font-weight: 900;
}

.footer-contacts a:last-child {
  color: #c5c7ca;
  font-size: 12px;
  font-weight: 700;
}

.reveal.reveal-pending {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 300ms ease, transform 300ms ease;
}

.reveal.reveal-pending.is-visible {
  opacity: 1;
  transform: translateY(0);
}

:where(a, button, [tabindex]):focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 4px;
  box-shadow: 0 0 0 4px var(--white);
}

.price-content:focus-visible {
  outline-offset: -5px;
  box-shadow: none;
}

@media (max-width: 1240px) {
  :root {
    --header-height: 70px;
  }

  .header-inner {
    grid-template-columns: 1fr auto auto;
  }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    right: 20px;
    left: 20px;
    display: none;
    align-items: stretch;
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 20px 50px rgba(16, 17, 18, 0.15);
    max-height: calc(100dvh - var(--header-height) - 24px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .main-nav.is-open {
    display: grid;
  }

  .main-nav a {
    padding: 14px;
  }

  .main-nav .route-link {
    min-height: 48px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
    color: var(--white);
    background: var(--black);
  }

  .main-nav .route-link:hover,
  .main-nav .route-link:focus-visible {
    color: var(--white);
    background: #2a2c2f;
  }

  .route-link-arrow {
    margin-left: auto;
  }

  .menu-button {
    display: flex;
    justify-self: end;
  }

  .menu-button[aria-expanded="true"] .menu-open-icon {
    display: none;
  }

  .menu-button[aria-expanded="true"] .menu-close-icon {
    display: block;
  }

  .header-phone {
    justify-self: auto;
  }

  .hero {
    min-height: 610px;
  }

  .hero-inner {
    min-height: 610px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero-lead {
    max-width: 500px;
    font-size: 16px;
  }

  .section-heading h2,
  .numbers-heading h2,
  .courier-copy h2,
  .principle-copy h2,
  .contact-copy h2 {
    font-size: 42px;
  }

  .speed-grid article,
  .speed-grid article + article {
    padding-inline: 22px;
  }

  .speed-contact {
    padding-left: 22px;
  }

  .service-gallery {
    height: 380px;
  }

  .courier-layout,
  .principle-layout,
  .contacts-layout {
    gap: 50px;
  }

  .courier-photo,
  .principle-media,
  .principle-media > img,
  .contact-location {
    min-height: 520px;
    height: 520px;
  }

  .recovery-stats {
    right: 0;
  }
}

@media (max-width: 900px) {
  .container,
  .hero-inner {
    width: min(calc(100% - 36px), var(--container));
  }

  .hero {
    min-height: 0;
    background-image: none;
  }

  .hero-inner {
    min-height: 0;
    display: grid;
    padding: 48px 0 0;
  }

  .hero-copy {
    width: 100%;
    max-width: 720px;
    padding: 0;
  }

  .hero h1 {
    max-width: 720px;
  }

  .hero-lead {
    max-width: 690px;
  }

  .hero-mobile-image {
    width: calc(100% + 36px);
    max-width: none;
    height: 330px;
    display: block;
    margin: 34px -18px 0;
    object-position: 70% center;
  }

  .speed-grid {
    grid-template-columns: 1fr 1fr;
  }

  .speed-contact {
    grid-column: 1 / -1;
    min-height: 70px;
    padding: 18px 0;
    border-top: 1px solid #36383a;
  }

  .section {
    padding: 88px 0;
  }

  .heading-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .heading-row > p {
    max-width: 650px;
  }

  .service-gallery {
    height: auto;
    grid-template-columns: 1fr 1fr;
  }

  .service-gallery-main {
    grid-column: 1 / -1;
    height: 340px;
  }

  .service-gallery figure:not(.service-gallery-main) {
    height: 250px;
  }

  .advantages-list {
    grid-template-columns: 1fr;
  }

  .courier-section,
  .repair-principle {
    padding: 88px 0;
  }

  .courier-layout,
  .principle-layout,
  .contacts-layout {
    grid-template-columns: 1fr;
  }

  .courier-photo {
    order: 2;
    height: 480px;
  }

  .courier-copy {
    order: 1;
  }

  .courier-time {
    right: 20px;
  }

  .numbers-grid {
    grid-template-columns: 1fr 1fr;
  }

  .principle-media {
    min-height: 500px;
    height: 500px;
  }

  .principle-media > img {
    height: 500px;
  }

  .recovery-stats {
    right: 20px;
  }

  .battery-offer,
  .installment-offer {
    min-height: 490px;
    padding: 42px;
  }

  .battery-offer h2,
  .installment-offer h2 {
    font-size: 36px;
  }

  .visit-grid {
    height: auto;
    grid-template-columns: 1fr;
  }

  .visit-grid figure {
    height: 320px;
  }

  .contact-location {
    min-height: 500px;
    height: 500px;
  }
}

@media (max-width: 680px) {
  :root {
    --header-height: 66px;
  }

  .header-inner {
    width: calc(100% - 24px);
    grid-template-columns: 1fr auto auto;
    gap: 8px;
  }

  .brand {
    gap: 8px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand-mark img {
    width: 38px;
    height: 38px;
  }

  .brand-copy strong {
    font-size: 15px;
  }

  .brand-copy small {
    display: none;
  }

  .menu-button {
    width: 44px;
    height: 44px;
    order: 3;
  }

  .header-phone {
    width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 0;
  }

  .header-phone span {
    display: none;
  }

  .container,
  .hero-inner {
    width: calc(100% - 28px);
  }

  .hero-inner {
    padding-top: 34px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero-lead {
    margin-top: 18px;
    font-size: 15px;
    line-height: 1.55;
  }

  .hero-actions {
    align-items: stretch;
    margin-top: 24px;
  }

  .button {
    min-height: 48px;
    padding-inline: 14px;
    font-size: 14px;
  }

  .hero-details {
    gap: 16px;
    margin-top: 24px;
    padding-top: 18px;
  }

  .hero-details div {
    flex: 1;
  }

  .hero-details dd {
    font-size: 12px;
  }

  .hero-mobile-image {
    width: calc(100% + 28px);
    height: 220px;
    margin: 26px -14px 0;
  }

  .speed-grid {
    grid-template-columns: 1fr;
  }

  .speed-grid article,
  .speed-grid article + article {
    min-height: 116px;
    padding: 22px 0;
    border-right: 0;
    border-bottom: 1px solid #36383a;
  }

  .speed-contact {
    grid-column: auto;
    border-top: 0;
  }

  .speed-number {
    font-size: 38px;
  }

  .section,
  .courier-section,
  .repair-principle,
  .contacts-section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .contacts-section {
    padding-bottom: 0;
  }

  .section-heading {
    margin-bottom: 34px;
  }

  .section-heading h2,
  .numbers-heading h2,
  .courier-copy h2,
  .principle-copy h2,
  .contact-copy h2 {
    font-size: 34px;
  }

  .heading-row {
    gap: 14px;
  }

  .heading-row > p {
    font-size: 14px;
    line-height: 1.6;
  }

  .service-gallery {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 36px;
  }

  .service-gallery-main {
    grid-column: auto;
    height: 280px;
  }

  .service-gallery figure:not(.service-gallery-main) {
    height: 210px;
  }

  .price-tabs {
    grid-template-columns: 1fr 1fr;
  }

  .price-tab {
    min-height: 86px;
    flex-direction: column;
    gap: 8px;
    padding: 14px 10px;
    font-size: 13px;
    line-height: 1.35;
    border-right: 1px solid var(--line);
  }

  .price-content {
    padding: 26px 18px 22px;
  }

  .price-intro {
    display: grid;
    gap: 8px;
  }

  .price-intro h3 {
    font-size: 21px;
  }

  th,
  td {
    padding: 13px 12px;
    font-size: 13px;
  }

  .table-scroll {
    overflow: visible;
  }

  .price-content table {
    display: block;
  }

  .price-content thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }

  .price-content tbody {
    display: block;
    border-top: 1px solid var(--line);
  }

  .price-content tbody tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 5px 14px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
  }

  .price-content td {
    width: auto;
    padding: 0;
    border: 0;
  }

  .price-content td:first-child {
    grid-column: 1;
    font-size: 14px;
    font-weight: 600;
    overflow-wrap: anywhere;
  }

  .price-content td:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
    color: var(--muted);
    font-size: 12px;
  }

  .price-content td:last-child {
    grid-column: 2;
    grid-row: 1 / span 2;
    text-align: right;
    font-size: 13px;
  }

  .price-content tbody tr:hover {
    background: #fffce7;
  }

  .advantage-item {
    min-height: 0;
    grid-template-columns: 48px 1fr;
    gap: 18px;
    padding: 30px 22px;
  }

  .advantage-item > .icon {
    width: 46px;
    height: 46px;
    padding: 11px;
  }

  .advantage-item h3 {
    padding-right: 20px;
    font-size: 18px;
  }

  .courier-layout,
  .principle-layout,
  .contacts-layout {
    gap: 38px;
  }

  .courier-lead,
  .principle-copy > p:not(.eyebrow) {
    font-size: 15px;
  }

  .courier-photo,
  .principle-media,
  .principle-media > img,
  .contact-location {
    min-height: 380px;
    height: 380px;
  }

  .courier-time {
    right: 12px;
    bottom: 12px;
  }

  .numbers-heading {
    display: block;
  }

  .numbers-grid {
    grid-template-columns: 1fr 1fr;
  }

  .numbers-grid article {
    min-height: 170px;
    padding: 20px;
  }

  .numbers-grid strong {
    font-size: 48px;
  }

  .recovery-stats {
    right: 10px;
    bottom: 10px;
    width: calc(100% - 20px);
  }

  .recovery-stat {
    min-height: 138px;
    padding: 12px;
  }

  .recovery-stat-icon {
    width: 24px;
    height: 24px;
    margin-bottom: 10px;
  }

  .recovery-stat > span {
    font-size: 10px;
    line-height: 1.3;
  }

  .flip-counter {
    gap: 1px;
    margin-bottom: 10px;
    font-size: 19px;
  }

  .flip-digit {
    width: 18px;
    height: 32px;
    flex-basis: 18px;
  }

  .flip-separator {
    width: 2px;
    flex-basis: 2px;
  }

  .offer-layout {
    grid-template-columns: 1fr;
  }

  .battery-offer,
  .installment-offer {
    min-height: 0;
    padding: 34px 24px 38px;
  }

  .battery-offer h2,
  .installment-offer h2 {
    font-size: 32px;
  }

  .offer-icon,
  .offer-tag {
    margin-bottom: 32px;
  }

  .reviews-summary {
    align-items: stretch;
  }

  .reviews-all {
    min-height: 52px;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .review-card {
    height: 280px;
    padding: 24px;
  }

  .visit-section {
    padding-top: 12px;
  }

  .visit-grid figure {
    height: 250px;
  }

  .contact-copy {
    padding: 0;
  }

  .contact-location {
    min-height: 330px;
    height: 330px;
  }

  .contacts-layout {
    margin-bottom: 44px;
  }

  .map-heading {
    min-height: 0;
    display: grid;
    gap: 12px;
    padding: 18px;
  }

  .map-title {
    max-width: none;
  }

  .map-controls {
    display: grid;
    justify-content: stretch;
  }

  .map-tabs {
    width: 100%;
  }

  .map-tabs button {
    flex: 1;
  }

  .map-route {
    justify-content: space-between;
    white-space: normal;
  }

  .map-wrap iframe {
    height: 390px;
  }

  .footer-inner {
    min-height: 190px;
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 16px;
    padding-block: 30px;
  }

  .footer-inner > p {
    text-align: left;
  }

  .footer-contacts {
    justify-items: start;
  }
}

@media (max-width: 390px) {
  .hero h1 {
    font-size: 32px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-details {
    display: grid;
  }

  .numbers-grid {
    grid-template-columns: 1fr;
  }

  .recovery-stat {
    min-height: 132px;
    padding: 10px 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal.reveal-pending {
    opacity: 1;
    transform: none;
  }

  .flip-digit.is-flipping .flip-leaf-top,
  .flip-digit.is-flipping .flip-leaf-bottom {
    animation: none;
  }

  .header-phone {
    animation: none;
    will-change: auto;
  }
}
