.price.columns > .service-seo-price-grid > .prices-calculator {
  grid-column: 1 / -1;
  grid-row: 2;
  min-width: 0;
}

.service-seo-price-grid > :is(.heating-seo-price-card, .seo-test-price-card, .water-seo-price-card) {
  grid-column: 2;
  grid-row: 1;
}

.prices-calculator--brand {
  position: relative;
  isolation: isolate;
  overflow: clip;
}

.prices-calculator--brand::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: clamp(40px, 6vw, 96px);
  left: 0;
  width: clamp(360px, 64vw, 950px);
  aspect-ratio: 696 / 747;
  transform: translateX(-66.6667%);
  background: url("/i/decor-1.svg") center / contain no-repeat;
  opacity: .62;
  pointer-events: none;
}

.prices-calculator--brand.msk .msk-inner > #calculator {
  background-color: rgb(241 245 252 / .78);
}

.services__slider-arrows.service-seo-carousel {
  display: none;
}

@media (max-width: 767px) {
  .heading--auto .heading__content {
    min-width: 0;
    max-width: 100%;
  }

  .heading.heading--auto .heading__title h1 {
    font-size: clamp(20px, 6vw, 28px);
    line-height: 1.22;
    text-wrap: balance;
  }

  .heading.heading--auto :is(.heading__title h1, .heading__text) {
    max-width: 100%;
    overflow-wrap: anywhere;
    hyphens: none;
  }

  .heading--auto .heading__text {
    font-size: clamp(16px, 4.3vw, 18px);
    line-height: 1.4;
    text-wrap: pretty;
  }

  .heading--auto .heading__button .btn {
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
    white-space: normal;
    justify-content: center;
    text-align: center;
  }

  .staging .tabs__toggle {
    box-sizing: border-box;
    padding-inline-end: 56px;
    font-size: clamp(16px, 4.6vw, 19px);
    line-height: 1.16;
  }

  .staging .tabs__toggle-title {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .staging .tabs__toggle-title::before {
    flex: 0 0 auto;
  }

  .service-seo-price-grid .price__list-row:not(.price__list-head) > .price__list-column:first-child {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .service-seo-price-grid #calculator h2,
  :is(.heating-seo-closing, .seo-test-closing, .water-seo-closing) h2 {
    box-sizing: border-box;
    max-width: 100%;
    font-size: clamp(20px, 5.2vw, 26px);
    line-height: 1.23;
    overflow-wrap: anywhere;
    text-wrap: balance;
  }

  :is(.heating-seo-closing__copy, .seo-test-closing__copy, .water-seo-closing__copy) {
    min-width: 0;
  }

  .article--decor:has(#sostav) .article__decor {
    inset-block: auto calc(100% - 38px);
    width: clamp(100px, 30vw, 136px);
    height: auto;
    aspect-ratio: 586 / 609;
  }

  .article--decor:has(#sostav) .article__in > .article__decor {
    inset-block-end: calc(100% - 80px);
  }

  .services__slider-arrows.service-seo-carousel {
    position: static;
    display: block;
    margin-block: 12px 22px;
  }

  .service-seo-carousel .inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 16px;
  }

  .service-seo-carousel .swiper-button {
    width: 44px;
    height: 44px;
  }

  .service-seo-carousel .swiper-button:focus-visible {
    outline: 2px solid #08459e;
    outline-offset: 2px;
  }

  .services__slider-arrows.service-seo-carousel:has(.swiper-button-lock) {
    display: none;
  }
}
