/* =========================
   Inner service pages
========================= */

.inner-page {
  background: #ffffff;
}

.inner-page-content {
  padding-top: 54px;
  padding-bottom: 36px;
  background: #f9fbff;
}

.inner-page-content h1 {
  max-width: 760px;
  margin: 0 0 24px;
  color: #111111;
  font-size: 44px;
  line-height: 1.08;
  letter-spacing: -0.015em;
}

.inner-content {
  max-width: none;
}

.service-page-content {
  display: grid;
  gap: 34px;
}

.service-intro-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  padding: 32px;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.04);
}

.service-lead {
  max-width: 720px;
  margin: 0;
  color: #555555;
  font-size: 17px;
  line-height: 1.65;
}

.service-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.service-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  transition: 0.2s ease;
}

.service-button--dark {
  background: #111111;
  color: #ffffff;
}

.service-button--dark:hover {
  background: #333333;
}

.service-button--light {
  background: #eef8ff;
  color: #111111;
}

.service-button--light:hover {
  background: #dff1ff;
}

.service-highlight {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 24px;
  border-radius: 24px;
  background: #eef8ff;
}

.service-highlight span {
  color: #777777;
  font-size: 14px;
  font-weight: 500;
}

.service-highlight strong {
  color: #111111;
  font-size: 26px;
  line-height: 1.15;
}

.service-highlight p {
  margin: 0;
  color: #555555;
  font-size: 14px;
  line-height: 1.5;
}

.service-section {
  padding: 32px;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.04);
}

.service-section h2,
.service-note h2 {
  margin: 0 0 20px;
  color: #111111;
  font-size: 30px;
  line-height: 1.12;
  letter-spacing: -0.015em;
}

.service-models-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.service-model-card {
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 14px 16px;
  border-radius: 18px;
  background: #f8fafc;
  color: #333333;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

.service-problems-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.service-problem-card {
  min-height: 150px;
  padding: 18px;
  border-radius: 20px;
  background: #fffaf2;
}

.service-problem-card h3 {
  margin: 0 0 10px;
  color: #111111;
  font-size: 17px;
  line-height: 1.25;
}

.service-problem-card p {
  margin: 0;
  color: #555555;
  font-size: 14px;
  line-height: 1.55;
}

.service-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.service-step-card {
  padding: 18px;
  border-radius: 20px;
  background: #f6fbf8;
}

.service-step-card span {
  display: block;
  margin-bottom: 18px;
  color: #999999;
  font-size: 13px;
  font-weight: 700;
}

.service-step-card h3 {
  margin: 0 0 8px;
  color: #111111;
  font-size: 17px;
}

.service-step-card p {
  margin: 0;
  color: #555555;
  font-size: 14px;
  line-height: 1.55;
}

.service-note {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 32px;
  border-radius: 28px;
  background: #111111;
  color: #ffffff;
}

.service-note h2 {
  color: #ffffff;
}

.service-note p {
  max-width: 700px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 15px;
  line-height: 1.65;
}

.service-note .service-button {
  background: #ffffff;
  color: #111111;
}


/* =========================
   Static info pages
========================= */

.static-page-content {
  padding-top: 56px;
  padding-bottom: 48px;
}

.static-page-card {
  max-width: 920px;
  margin: 0 auto;
  padding: 42px;
  border-radius: 30px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.static-page-text {
  max-width: 780px;
}

.static-page-text h1 {
  max-width: 820px;
  margin: 0 0 26px;
  color: #111111;
  font-size: 42px;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.static-page-text h2 {
  margin: 34px 0 14px;
  color: #111111;
  font-size: 26px;
  line-height: 1.18;
  letter-spacing: -0.015em;
}

.static-page-text h2:first-child {
  margin-top: 0;
}

.static-page-text p {
  margin: 0 0 16px;
  color: #4b5563;
  font-size: 17px;
  line-height: 1.75;
}

.static-page-text ul,
.static-page-text ol {
  display: grid;
  gap: 10px;
  margin: 0 0 18px;
  padding-left: 22px;
  color: #4b5563;
  font-size: 17px;
  line-height: 1.65;
}

.static-page-text li::marker {
  color: #178fd6;
}

.static-page-text a {
  color: #178fd6;
  font-weight: 700;
  text-decoration: none;
}

.static-page-text a:hover {
  text-decoration: underline;
}

@media (max-width: 1023px) {
  .inner-page-content {
    padding-top: 36px;
    padding-bottom: 30px;
  }

  .inner-page-content h1 {
    font-size: 34px;
  }

  .service-intro-card {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .service-models-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-problems-grid,
  .service-steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-note {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .inner-page-content h1 {
    font-size: 30px;
  }

  .service-section,
  .service-intro-card,
  .service-note {
    padding: 20px;
    border-radius: 22px;
  }

  .service-section h2,
  .service-note h2 {
    font-size: 24px;
  }

  .service-models-grid,
  .service-problems-grid,
  .service-steps-grid {
    grid-template-columns: 1fr;
  }

  .service-actions {
    display: grid;
  }

  .service-button {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .static-page-content {
    padding-top: 34px;
    padding-bottom: 34px;
  }

  .static-page-card {
    padding: 24px 20px;
    border-radius: 24px;
  }

  .static-page-text h1 {
    font-size: 30px;
  }

  .static-page-text h2 {
    margin-top: 28px;
    font-size: 23px;
  }

  .static-page-text p,
  .static-page-text ul,
  .static-page-text ol {
    font-size: 15px;
  }
}

/* =========================
   Dynamic sitemap page
========================= */

.brotok-sitemap {
  display: grid;
  gap: 34px;
}

.brotok-sitemap__intro {
  padding: 22px 24px;
  border-radius: 24px;
  background: #f5fbff;
}

.brotok-sitemap__intro p {
  margin: 0;
}

.brotok-sitemap__section {
  display: grid;
  gap: 18px;
}

.brotok-sitemap__section h2 {
  margin-bottom: 0;
}

.brotok-sitemap__grid,
.brotok-sitemap__models {
  display: grid;
  gap: 10px;
}

.brotok-sitemap__grid--main {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.brotok-sitemap__services {
  display: grid;
  gap: 18px;
}

.brotok-sitemap__service-card {
  padding: 24px;
  border-radius: 24px;
  background: #f8fafc;
}

.brotok-sitemap__service-card h3 {
  margin: 0 0 16px;
  font-size: 22px;
  line-height: 1.2;
}

.brotok-sitemap__models {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.brotok-sitemap a {
  display: block;
  padding: 12px 14px;
  border-radius: 14px;
  background: #ffffff;
  color: #111111;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.04);
  transition: 0.18s ease;
}

.brotok-sitemap a:hover {
  color: #178fd6;
  transform: translateY(-1px);
}

@media (max-width: 900px) {
  .brotok-sitemap__models {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .brotok-sitemap {
    gap: 26px;
  }

  .brotok-sitemap__grid--main,
  .brotok-sitemap__models {
    grid-template-columns: 1fr;
  }

  .brotok-sitemap__service-card {
    padding: 18px;
    border-radius: 20px;
  }
}

/* =========================
   404 page
========================= */

.not-found-page {
  background: #ffffff;
}

.not-found-hero {
  padding: 70px 0 54px;
  background: #f9fbff;
}

.not-found-card {
  max-width: 860px;
  margin: 0 auto;
  padding: 48px;
  border-radius: 34px;
  background: #ffffff;
  text-align: center;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.07);
}

.not-found-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 118px;
  height: 58px;
  margin-bottom: 22px;
  padding: 0 24px;
  border-radius: 999px;
  background: #eef8ff;
  color: #178fd6;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.not-found-card h1 {
  margin: 0 0 16px;
  color: #111111;
  font-size: 44px;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.not-found-card p {
  max-width: 620px;
  margin: 0 auto;
  color: #4b5563;
  font-size: 17px;
  line-height: 1.7;
}

.not-found-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.not-found-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: 0.2s ease;
}

.not-found-button--dark {
  background: #111111;
  color: #ffffff;
}

.not-found-button--dark:hover {
  background: #333333;
}

.not-found-button--light {
  background: #eef8ff;
  color: #111111;
}

.not-found-button--light:hover {
  background: #dff1ff;
}

.not-found-links {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 34px;
}

.not-found-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px;
  border-radius: 16px;
  background: #f8fafc;
  color: #111111;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
  text-decoration: none;
  transition: 0.2s ease;
}

.not-found-links a:hover {
  color: #178fd6;
  transform: translateY(-1px);
}

@media (max-width: 900px) {
  .not-found-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .not-found-hero {
    padding: 42px 0 34px;
  }

  .not-found-card {
    padding: 28px 20px;
    border-radius: 26px;
  }

  .not-found-card h1 {
    font-size: 32px;
  }

  .not-found-card p {
    font-size: 15px;
  }

  .not-found-actions {
    display: grid;
  }

  .not-found-button {
    width: 100%;
  }

  .not-found-links {
    grid-template-columns: 1fr;
  }
}


/* =========================
   Repair process page
========================= */

.repair-process-page--final {
  display: grid;
  gap: 54px;
}

.static-page-card:has(.repair-process-page--final) {
  max-width: 1180px;
}

.static-page-text:has(.repair-process-page--final) {
  max-width: none;
}

.repair-process-page--final p,
.repair-process-page--final h2,
.repair-process-page--final h3 {
  margin: 0;
}

.repair-eyebrow {
  margin-bottom: 10px !important;
  color: #178fd6 !important;
  font-size: 13px !important;
  font-weight: 900;
  line-height: 1.2 !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.repair-section-head {
  max-width: 860px;
}

.repair-section-head h2,
.repair-final-intro h2,
.repair-complex-final h2 {
  color: #111111;
  font-size: 34px;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.repair-section-head > p:not(.repair-eyebrow),
.repair-final-intro > p,
.repair-complex-final p {
  max-width: 760px;
  margin-top: 14px;
  color: #4b5563;
  font-size: 16px;
  line-height: 1.72;
}

.repair-final-intro {
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.12);
}

.repair-final-intro__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.repair-final-intro__facts span {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  background: #eef8ff;
  color: #111111;
  font-size: 13px;
  font-weight: 800;
}

.repair-section-head--center {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.repair-section-head--center > p:not(.repair-eyebrow) {
  margin-left: auto;
  margin-right: auto;
}

.repair-process-steps-section {
  position: relative;
  padding: 8px 0 4px;
}

.repair-process-steps-section::before {
  content: "";
  position: absolute;
  left: -42px;
  right: -42px;
  top: 116px;
  height: 260px;
  background: url("/wp-content/themes/brotok-theme/assets/images/process/decor-wave.webp") center/cover no-repeat;
  opacity: 0.28;
  pointer-events: none;
}

.repair-process-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 46px;
  row-gap: 70px;
  margin-top: 48px;
}

.repair-process-step {
  position: relative;
  text-align: center;
}

.repair-step-media {
  position: relative;
  width: 118px;
  height: 118px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  border: 3px solid #178fd6;
  border-radius: 999px;
  background: #ffffff;
  z-index: 2;
}

.repair-process-step:not(:nth-child(3n)) .repair-step-media::after {
  content: "";
  position: absolute;
  top: 50%;
  left: calc(100% + 34px);
  width: calc(100vw / 5.7);
  max-width: 210px;
  border-top: 5px dotted #111111;
  opacity: 0.75;
  transform: translateY(-50%);
}

.repair-step-media img {
  width: 86px;
  height: 86px;
  object-fit: contain;
  border-radius: 999px;
}

.repair-process-step--diagnostics .repair-step-media img {
  width: 92px;
  height: 92px;
  object-fit: cover;
}

.repair-process-step h3 {
  max-width: 310px;
  margin: 0 auto;
  color: #111111;
  font-size: 18px;
  line-height: 1.28;
  letter-spacing: -0.01em;
}

.repair-process-step p {
  max-width: 340px !important;
  margin: 12px auto 0;
  color: #333333;
  font-size: 15px;
  line-height: 1.62;
}

.repair-media-final {
  display: grid;
  gap: 10px;
}

.repair-media-final .repair-section-head {
  margin: 0;
}

.repair-media-final .repair-eyebrow {
  margin-bottom: 0 !important;
}

.repair-media-dynamic,
.repair-media-video-carousel {
  display: grid;
  gap: 10px !important;
}

.repair-media-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.repair-media-toolbar button {
  min-height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: #eef8ff;
  color: #111111;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.repair-media-toolbar button.is-active {
  background: #111111;
  color: #ffffff;
}

.repair-media-empty {
  padding: 28px;
  border-radius: 24px;
  background: linear-gradient(135deg, #f8fafc 0%, #eef8ff 100%);
  border: 1px dashed rgba(23, 143, 214, 0.38);
}

.repair-media-empty strong {
  display: block;
  margin-bottom: 8px;
  color: #111111;
  font-size: 20px;
  line-height: 1.2;
}

.repair-media-empty p {
  max-width: 680px !important;
  color: #4b5563;
  font-size: 15px;
  line-height: 1.65;
}

.repair-media-grid-real {
  display: flex !important;
  grid-template-columns: none !important;
  gap: 18px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 2px 4px !important;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.repair-media-grid-real::-webkit-scrollbar {
  height: 8px;
}

.repair-media-grid-real::-webkit-scrollbar-track {
  background: #eef8ff;
  border-radius: 999px;
}

.repair-media-grid-real::-webkit-scrollbar-thumb {
  background: #178fd6;
  border-radius: 999px;
}

.repair-media-grid-real article {
  flex: 0 0 260px;
  min-width: 260px;
  min-height: 0 !important;
  display: block !important;
  padding-bottom: 0 !important;
  scroll-snap-align: start;
}

.repair-media-image {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border: 0 !important;
  border-radius: 24px;
  background: transparent !important;
  box-shadow: none !important;
  text-decoration: none !important;
}

.repair-media-image img,
.repair-media-image video {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 24px !important;
  object-fit: cover;
  background: #111111;
  cursor: pointer;
}

.repair-media-image video::-webkit-media-controls,
.repair-media-image video::-webkit-media-controls-enclosure,
.repair-media-image video::-webkit-media-controls-panel {
  display: none !important;
}

.repair-media-grid-real article > p,
.repair-media-image > span,
.repair-media-play {
  display: none !important;
}

.repair-media-grid-real h3 {
  margin: 8px 0 0 !important;
  padding: 0 !important;
  color: #111111;
  font-size: 17px !important;
  line-height: 1.22 !important;
  letter-spacing: -0.01em;
}

.repair-media-feedback {
  position: absolute;
  inset: 0;
  width: 42px;
  height: 42px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.92);
  transition: opacity 0.12s ease, transform 0.12s ease;
  z-index: 3;
}

.repair-media-image.is-feedback .repair-media-feedback {
  opacity: 1;
  transform: scale(1);
}

.repair-media-image.is-feedback-play .repair-media-feedback::before {
  content: "";
  display: block;
  margin-left: 4px;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 18px solid #ffffff;
  filter: drop-shadow(0 2px 7px rgba(0, 0, 0, 0.65));
}

.repair-media-image.is-feedback-pause .repair-media-feedback::before {
  content: "";
  display: block;
  width: 18px;
  height: 24px;
  border-left: 6px solid #ffffff;
  border-right: 6px solid #ffffff;
  filter: drop-shadow(0 2px 7px rgba(0, 0, 0, 0.65));
}

.repair-media-fullscreen {
  position: absolute;
  right: 10px !important;
  bottom: 10px !important;
  width: 24px !important;
  height: 24px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #ffffff !important;
  font-size: 17px !important;
  line-height: 1 !important;
  opacity: 0;
  pointer-events: none;
  text-shadow: 0 2px 7px rgba(0, 0, 0, 0.75);
  transition: opacity 0.15s ease;
  z-index: 4;
  box-shadow: none !important;
}

.repair-media-image.is-playing .repair-media-fullscreen {
  opacity: 1;
  pointer-events: auto;
}

.repair-prepare-final {
  display: grid;
  gap: 22px;
  padding-top: 4px;
}

.repair-prepare-final__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.repair-prepare-final__grid article {
  padding-top: 20px;
  border-top: 4px solid #178fd6;
}

.repair-prepare-final__grid h3 {
  color: #111111;
  font-size: 19px;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.repair-prepare-final__grid p {
  max-width: none !important;
  margin-top: 10px;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.62;
}

.repair-complex-final {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 36px;
  align-items: center;
  padding-top: 38px;
  border-top: 1px solid rgba(15, 23, 42, 0.12);
}

.repair-complex-final p + p {
  margin-top: 14px;
}

.repair-complex-final img {
  width: 100%;
  max-height: 320px;
  object-fit: contain;
}

@media (max-width: 1023px) {
  .repair-process-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .repair-process-step:not(:nth-child(3n)) .repair-step-media::after {
    display: none;
  }

  .repair-prepare-final__grid {
    grid-template-columns: 1fr;
  }

  .repair-complex-final {
    grid-template-columns: 1fr;
  }

  .repair-complex-final img {
    max-height: 260px;
  }
}

@media (max-width: 640px) {
  .repair-process-page--final {
    gap: 38px;
  }

  .repair-section-head h2,
  .repair-final-intro h2,
  .repair-complex-final h2 {
    font-size: 28px;
  }

  .repair-process-steps-section::before {
    display: none;
  }

  .repair-process-steps {
    grid-template-columns: 1fr;
    row-gap: 34px;
    margin-top: 34px;
  }

  .repair-step-media {
    width: 104px;
    height: 104px;
  }

  .repair-step-media img {
    width: 76px;
    height: 76px;
  }

  .repair-media-grid-real article {
    flex-basis: 230px;
    min-width: 230px;
  }

  .repair-final-intro__facts {
    display: grid;
  }
}

/* Repair process typography fix */
.repair-process-page--final {
  gap: 48px;
}

.repair-section-head h2,
.repair-final-intro h2,
.repair-complex-final h2 {
  font-size: 28px !important;
  line-height: 1.16 !important;
  letter-spacing: -0.025em !important;
}

.repair-final-intro > p,
.repair-section-head > p:not(.repair-eyebrow),
.repair-complex-final p {
  max-width: 940px !important;
  font-size: 16px !important;
  line-height: 1.7 !important;
}

.repair-section-head--center {
  max-width: 920px !important;
}

.repair-section-head--center > p:not(.repair-eyebrow) {
  max-width: 920px !important;
}

.repair-process-steps-section {
  padding-top: 0 !important;
}

.repair-process-steps {
  margin-top: 42px !important;
}

.repair-final-intro {
  padding-bottom: 30px !important;
}

@media (max-width: 640px) {
  .repair-section-head h2,
  .repair-final-intro h2,
  .repair-complex-final h2 {
    font-size: 24px !important;
  }

  .repair-final-intro > p,
  .repair-section-head > p:not(.repair-eyebrow),
  .repair-complex-final p {
    font-size: 15px !important;
  }
}



/* Repair process visual polish */
.repair-final-intro__facts {
  gap: 12px !important;
  margin-top: 26px !important;
}

.repair-final-intro__facts span {
  position: relative;
  min-height: 46px !important;
  padding: 0 18px 0 46px !important;
  border-radius: 999px !important;
  background:
    linear-gradient(135deg, #ffffff 0%, #eef8ff 100%) !important;
  color: #111111 !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  box-shadow:
    0 12px 28px rgba(23, 143, 214, 0.12),
    inset 0 0 0 1px rgba(23, 143, 214, 0.16);
}

.repair-final-intro__facts span::before {
  content: "✓";
  position: absolute;
  left: 14px;
  top: 50%;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #178fd6;
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  transform: translateY(-50%);
  box-shadow: 0 8px 18px rgba(23, 143, 214, 0.26);
}

.repair-process-steps-section {
  overflow: hidden;
}

.repair-process-steps-section::before {
  left: -80px !important;
  right: -80px !important;
  top: 150px !important;
  height: 620px !important;
  background-size: 115% 100% !important;
  background-position: center center !important;
  opacity: 0.32 !important;
}

.repair-process-steps {
  row-gap: 76px !important;
}

@media (max-width: 1023px) {
  .repair-process-steps-section::before {
    top: 155px !important;
    height: 760px !important;
    background-size: 160% 100% !important;
  }
}

@media (max-width: 640px) {
  .repair-final-intro__facts span {
    width: 100%;
  }

  .repair-process-steps-section::before {
    display: none !important;
  }
}



/* Repair step image circle crop */
.repair-step-media {
  overflow: hidden !important;
  padding: 0 !important;
  background: transparent !important;
  box-sizing: border-box !important;
}

.repair-step-media img,
.repair-process-step--diagnostics .repair-step-media img {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: cover !important;
  border-radius: 999px !important;
}



/* Repair media title and spacing fix */
.repair-section-head--works h2 {
  margin: 0 !important;
  color: #111111 !important;
  font-size: 28px !important;
  line-height: 1.16 !important;
  letter-spacing: -0.025em !important;
}

.repair-media-final {
  gap: 16px !important;
  margin-bottom: -26px !important;
}

.repair-media-final .repair-section-head {
  margin-bottom: 0 !important;
}

.repair-media-video-carousel {
  gap: 14px !important;
}

.repair-media-grid-real {
  padding: 2px 2px 2px !important;
}

.repair-media-grid-real h3 {
  margin-top: 10px !important;
  margin-bottom: 0 !important;
}

.repair-prepare-final {
  padding-top: 0 !important;
}

@media (max-width: 640px) {
  .repair-section-head--works h2 {
    font-size: 24px !important;
  }

  .repair-media-final {
    margin-bottom: -12px !important;
  }
}



/* Force repair media spacing fix */
.repair-media-final--fixed {
  display: grid !important;
  gap: 14px !important;
  margin-bottom: -34px !important;
}

.repair-media-final--fixed .repair-section-head--works {
  margin: 0 !important;
  max-width: none !important;
}

.repair-media-final--fixed .repair-section-head--works h2 {
  margin: 0 !important;
  color: #111111 !important;
  font-size: 28px !important;
  line-height: 1.16 !important;
  letter-spacing: -0.025em !important;
}

.repair-media-final--fixed .repair-media-dynamic,
.repair-media-final--fixed .repair-media-video-carousel {
  gap: 12px !important;
}

.repair-media-final--fixed .repair-media-grid-real {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.repair-media-final--fixed .repair-media-grid-real h3 {
  margin-top: 8px !important;
  margin-bottom: 0 !important;
}

.repair-media-final--fixed + .repair-prepare-final {
  padding-top: 0 !important;
}

@media (max-width: 640px) {
  .repair-media-final--fixed {
    margin-bottom: -18px !important;
  }

  .repair-media-final--fixed .repair-section-head--works h2 {
    font-size: 24px !important;
  }
}



/* Prepare and complex blocks polish */
.repair-prepare-final {
  display: grid !important;
  gap: 24px !important;
  padding-top: 0 !important;
}

.repair-prepare-final .repair-section-head h2 {
  margin-top: 0 !important;
}

.repair-prepare-final__grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 16px !important;
}

.repair-prepare-final__grid article {
  position: relative;
  min-height: 170px;
  padding: 24px 22px 22px !important;
  border: 1px solid rgba(23, 143, 214, 0.14) !important;
  border-radius: 24px !important;
  background:
    linear-gradient(135deg, #ffffff 0%, #f4fbff 100%) !important;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.045);
}

.repair-prepare-final__grid article::before {
  content: "✓";
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 999px;
  background: #178fd6;
  color: #ffffff;
  font-size: 16px;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(23, 143, 214, 0.22);
}

.repair-prepare-final__grid h3 {
  margin: 0 !important;
  color: #111111 !important;
  font-size: 18px !important;
  line-height: 1.25 !important;
  letter-spacing: -0.015em !important;
}

.repair-prepare-final__grid p {
  max-width: none !important;
  margin-top: 10px !important;
  color: #4b5563 !important;
  font-size: 14px !important;
  line-height: 1.58 !important;
}

.repair-complex-final {
  grid-template-columns: minmax(0, 1fr) 240px !important;
  gap: 26px !important;
  align-items: center !important;
  padding-top: 34px !important;
}

.repair-complex-final > div {
  max-width: none !important;
}

.repair-complex-final h2 {
  max-width: 980px !important;
}

.repair-complex-final p {
  max-width: 980px !important;
  line-height: 1.68 !important;
}

.repair-complex-final img {
  max-height: 270px !important;
}

@media (max-width: 1023px) {
  .repair-prepare-final__grid {
    grid-template-columns: 1fr !important;
  }

  .repair-complex-final {
    grid-template-columns: 1fr !important;
  }

  .repair-complex-final img {
    max-height: 240px !important;
    justify-self: center;
  }
}

@media (max-width: 640px) {
  .repair-prepare-final__grid article {
    min-height: auto;
    padding: 22px 20px !important;
    border-radius: 22px !important;
  }

  .repair-complex-final {
    padding-top: 28px !important;
  }
}

/* Repair media filter fix */
.repair-media-grid-real article.is-hidden,
.repair-media-grid-real article[hidden] {
  display: none !important;
}

