/* Legacy engines without container query units: contacts.css mobile fallback. */
@supports not (width: 1cqw) {
  .contacts-page {
    overflow-x: clip;
    background: #000;
  }

  .contacts-page #main {
    min-height: 100vh;
    margin-top: calc(0px - var(--header-height));
  }

  .contacts-scene {
    position: relative;
    display: none;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    isolation: isolate;
    background: #000;
  }

  .contacts-background__texture-placement,
  .contacts-decoration--top,
  .contacts-decoration--bottom,
  .contacts-title-divider-mobile {
    display: none;
  }

  @media (max-width: 1023px) {
    .contacts-scene {
      display: block;
      height: max(100vh, 216.410256vw);
      min-height: max(100vh, 216.410256vw);
      container-type: inline-size;
    }

    .contacts-background,
    .contacts-content {
      position: absolute;
      inset: 0;
    }

    .contacts-background__texture-placement,
    .contacts-background__image-placement,
    .contacts-background__texture {
      position: absolute;
      display: block;
    }

    .contacts-background__texture-placement {
      z-index: 0;
      top: 1.794872vw;
      left: -7.17955vw;
      width: 121.533766vw;
      height: 216.153846vw;
    }

    .contacts-background__texture {
      inset: 0;
      width: 100%;
      height: 100%;
      background: url("../assets/images/contacts/background-mobile.png") 0 0 / 100% 100% no-repeat;
      transform: rotate(180deg);
    }

    .contacts-background__image-placement {
      z-index: 3;
      top: -45.641026vw;
      left: -37.179487vw;
      width: 194.871795vw;
      height: 109.74359vw;
      background: url("../assets/images/contacts/gym-mobile.png") 0 0 / 100% 100% no-repeat;
    }

    .contacts-background__darkening {
      position: absolute;
      z-index: 6;
      top: -4.102564vw;
      left: 4.102564vw;
      width: 100.769231vw;
      height: 15.897436vw;
      overflow: hidden;
      opacity: 0.8;
      pointer-events: none;
    }

    .contacts-background__darkening-transform {
      position: absolute;
      top: 100%;
      left: 100%;
      display: block;
      width: 100%;
      height: 100%;
      background: linear-gradient(180.009deg, transparent 3.621509%, #000 86.538464%);
      transform: rotate(180deg);
      transform-origin: 0 0;
    }

    .contacts-decoration--left,
    .contacts-decoration--right {
      display: none;
    }

    .contacts-decoration--top,
    .contacts-decoration--bottom {
      position: absolute;
      z-index: 2;
      display: flex;
      align-items: center;
      justify-content: center;
      pointer-events: none;
    }

    .contacts-decoration--top {
      top: -4.358974vw;
      left: -7.692308vw;
      width: 118.717949vw;
      height: 21.025641vw;
    }

    .contacts-decoration--top .contacts-decoration__clip {
      position: absolute;
      display: block;
      width: 21.025641vw;
      height: 118.717949vw;
      overflow: hidden;
      transform: rotate(90deg);
    }

    .contacts-decoration--top .contacts-decoration__asset {
      position: absolute;
      top: 0.003318vw;
      left: -0.505559vw;
      display: block;
      width: 21.530472vw;
      height: 118.714701vw;
      max-width: none;
    }

    .contacts-decoration--bottom {
      top: 201.025868vw;
      left: -3.846154vw;
      width: 118.714701vw;
      height: 21.530472vw;
    }

    .contacts-decoration--bottom .contacts-decoration__clip {
      position: absolute;
      display: block;
      width: 21.530472vw;
      height: 118.714701vw;
      overflow: visible;
      transform: rotate(-90deg);
    }

    .contacts-decoration--bottom .contacts-decoration__asset {
      position: absolute;
      inset: 0;
      display: block;
      width: 100%;
      height: 100%;
      max-width: none;
    }

    .contacts-content {
      z-index: 5;
    }

    .contacts-heading {
      position: absolute;
      top: 23.846154vw;
      left: 10.769231vw;
      width: 78.717949vw;
      height: 23.589744vw;
      pointer-events: none;
    }

    .contacts-title {
      position: absolute;
      top: 0;
      left: 5.641026vw;
      width: 67.179487vw;
      height: 9.230769vw;
      margin: 0;
      color: #ebebeb;
      font-family: "PT Root UI", sans-serif;
      font-size: 7.651342vw;
      font-weight: 500;
      line-height: 1.1991;
      letter-spacing: 0.08em;
      white-space: nowrap;
    }

    .contacts-title-divider {
      display: none;
    }

    .contacts-title-divider-mobile {
      position: absolute;
      top: 10vw;
      left: 0;
      display: block;
      width: 78.717949vw;
      height: 13.589744vw;
    }

    .contacts-title-divider-mobile::before,
    .contacts-title-divider-mobile::after {
      position: absolute;
      top: 6.515385vw;
      width: 30vw;
      height: 0.815385vw;
      background: #df9809;
      content: "";
    }

    .contacts-title-divider-mobile::before {
      left: 0;
      clip-path: polygon(0 50%, 100% 0, 100% 100%);
    }

    .contacts-title-divider-mobile::after {
      right: 0;
      width: 30.25641vw;
      clip-path: polygon(0 0, 100% 50%, 0 100%);
    }

    .contacts-title-divider-mobile__icon {
      position: absolute;
      top: 0;
      left: 32.564103vw;
      display: block;
      width: 13.589744vw;
      height: 13.589744vw;
      background: url("../assets/images/contacts/title-divider.svg") center / 920% 100% no-repeat;
    }

    .contacts-map {
      position: absolute;
      top: 51.794872vw;
      left: 5.641026vw;
      width: 88.717949vw;
      height: 100.25641vw;
      overflow: hidden;
      border: 0.512821vw solid rgb(251 171 10 / 68%);
      border-radius: 6.574155vw;
      background: linear-gradient(180deg, rgb(5 5 5 / 53.04%) 0%, rgb(10 10 10 / 48.96%) 50%, rgb(18 13 4 / 46.24%) 100%);
      box-shadow:
        0 4.046513vw 101.162564vw rgb(0 0 0 / 45%),
        inset 0 0.40465vw 0.40465vw rgb(255 255 255 / 10%);
      backdrop-filter: blur(1.025641vw);
      -webkit-backdrop-filter: blur(1.025641vw);
    }

    .contacts-map__frame {
      position: absolute;
      inset: 0;
      display: block;
      width: 100%;
      height: 100%;
      border: 0;
      border-radius: 6.153846vw;
      background: #e8e8e8;
    }

    .contacts-cards {
      position: absolute;
      inset: 0;
      pointer-events: none;
    }

    .contact-card {
      position: absolute;
      width: 27.435897vw;
      height: 17.948718vw;
      overflow: hidden;
      border: 0.194062vw solid rgb(251 171 10 / 45%);
      border-radius: 3.076923vw;
      background: linear-gradient(90deg, rgb(5 5 5 / 62%) 0%, rgb(10 10 10 / 56%) 50%, rgb(18 13 4 / 54%) 100%);
      box-shadow:
        0 1.940974vw 48.515641vw rgb(0 0 0 / 45%),
        inset 0 0.194062vw 0.194062vw rgb(255 255 255 / 10%);
      backdrop-filter: blur(1.552497vw);
      -webkit-backdrop-filter: blur(1.552497vw);
      pointer-events: auto;
    }

    .contact-card--phone {
      top: 155.384615vw;
      left: 5.128205vw;
      height: 21.794872vw;
    }

    .contact-card--hours {
      top: 155.384615vw;
      left: 35.897436vw;
      height: 21.794872vw;
    }

    .contact-card--policy {
      top: 155.384615vw;
      left: 66.666667vw;
      height: 21.794872vw;
    }

    .contact-card--address {
      top: 180.769231vw;
      left: 5.128205vw;
    }

    .contact-card--vk {
      top: 180.769231vw;
      left: 35.897436vw;
    }

    .contact-card--instagram {
      top: 180.769231vw;
      left: 66.666667vw;
      width: 28.461538vw;
      overflow: visible;
      border: 0;
      background: transparent;
      box-shadow: none;
      backdrop-filter: none;
      -webkit-backdrop-filter: none;
    }

    .contact-card--instagram::before {
      position: absolute;
      top: 0;
      left: 0.512821vw;
      width: 27.435897vw;
      height: 17.948718vw;
      border: 0.194062vw solid rgb(251 171 10 / 45%);
      border-radius: 3.076923vw;
      background: linear-gradient(90deg, rgb(5 5 5 / 62%) 0%, rgb(10 10 10 / 56%) 50%, rgb(18 13 4 / 54%) 100%);
      box-shadow:
        0 1.940974vw 48.515641vw rgb(0 0 0 / 45%),
        inset 0 0.194062vw 0.194062vw rgb(255 255 255 / 10%);
      backdrop-filter: blur(1.552497vw);
      -webkit-backdrop-filter: blur(1.552497vw);
      content: "";
      pointer-events: none;
      transition:
        border-color 180ms var(--ease-ui),
        box-shadow 180ms var(--ease-ui);
    }

    .contact-card--interactive {
      transform-origin: center;
      transition:
        transform 180ms var(--ease-ui),
        border-color 180ms var(--ease-ui),
        box-shadow 180ms var(--ease-ui);
      will-change: transform;
    }

    .contact-card--interactive:focus-within {
      z-index: 2;
      border-color: rgb(244 183 45 / 92%);
      box-shadow:
        0 0 0.769231vw rgb(218 218 218 / 24%),
        0 0 2.884615vw rgb(253 172 9 / 72%),
        0 1.940974vw 48.515641vw rgb(0 0 0 / 45%),
        inset 0 0.194062vw 0.194062vw rgb(255 255 255 / 14%);
    }

    @media (hover: hover) and (pointer: fine) {
      .contact-card--interactive:hover {
        z-index: 2;
        border-color: rgb(244 183 45 / 92%);
        box-shadow:
          0 0 0.769231vw rgb(218 218 218 / 24%),
          0 0 2.884615vw rgb(253 172 9 / 72%),
          0 1.940974vw 48.515641vw rgb(0 0 0 / 45%),
          inset 0 0.194062vw 0.194062vw rgb(255 255 255 / 14%);
        transform: scale(1.025);
      }
    }

    .contact-card--interactive:active {
      z-index: 2;
      border-color: rgb(255 193 58 / 100%);
      box-shadow:
        0 0 0.897436vw rgb(218 218 218 / 30%),
        0 0 3.333333vw rgb(253 172 9 / 82%),
        0 1.940974vw 48.515641vw rgb(0 0 0 / 45%),
        inset 0 0 1.282051vw rgb(253 172 9 / 12%);
      transform: scale(1.012);
    }

    .contact-card--instagram.contact-card--interactive:focus-within,
    .contact-card--instagram.contact-card--interactive:active {
      box-shadow: none;
    }

    .contact-card--instagram.contact-card--interactive:focus-within::before {
      border-color: rgb(244 183 45 / 92%);
      box-shadow:
        0 0 0.769231vw rgb(218 218 218 / 24%),
        0 0 2.884615vw rgb(253 172 9 / 72%),
        0 1.940974vw 48.515641vw rgb(0 0 0 / 45%),
        inset 0 0.194062vw 0.194062vw rgb(255 255 255 / 14%);
    }

    @media (hover: hover) and (pointer: fine) {
      .contact-card--instagram.contact-card--interactive:hover {
        box-shadow: none;
      }

      .contact-card--instagram.contact-card--interactive:hover::before {
        border-color: rgb(244 183 45 / 92%);
        box-shadow:
          0 0 0.769231vw rgb(218 218 218 / 24%),
          0 0 2.884615vw rgb(253 172 9 / 72%),
          0 1.940974vw 48.515641vw rgb(0 0 0 / 45%),
          inset 0 0.194062vw 0.194062vw rgb(255 255 255 / 14%);
      }
    }

    .contact-card--instagram.contact-card--interactive:active::before {
      border-color: rgb(255 193 58 / 100%);
      box-shadow:
        0 0 0.897436vw rgb(218 218 218 / 30%),
        0 0 3.333333vw rgb(253 172 9 / 82%),
        0 1.940974vw 48.515641vw rgb(0 0 0 / 45%),
        inset 0 0 1.282051vw rgb(253 172 9 / 12%);
    }

    .contact-card__action {
      position: absolute;
      inset: 0;
      display: block;
      color: inherit;
      text-decoration: none;
    }

    .contact-card__icon {
      position: absolute;
      display: block;
      max-width: none;
      object-fit: contain;
    }

    .contact-card__phone-icon {
      top: -0.713333vw;
      left: 50%;
      width: 13.589744vw;
      height: 13.589744vw;
      transform: translateX(-50%);
    }

    .contact-card__phone-icon img {
      position: absolute;
      display: block;
      max-width: none;
      object-fit: contain;
    }

    .contact-card__phone-icon img:first-child {
      inset: 0;
      width: 100%;
      height: 100%;
    }

    .contact-card__phone-icon img:last-child {
      top: 4.620769vw;
      left: 4.607692vw;
      width: 4.349244vw;
      height: 4.349244vw;
    }

    .contact-card--hours .contact-card__icon {
      top: 0.805288vw;
      left: 8.461538vw;
      width: 10.413794vw;
      height: 9.042554vw;
    }

    .contact-card--policy .contact-card__icon {
      top: 1.794872vw;
      left: 9.74359vw;
      width: 8.205128vw;
      height: 8.205128vw;
    }

    .contact-card--address .contact-card__icon {
      top: 1.329vw;
      left: 11.025641vw;
      width: 5.695641vw;
      height: 6.455051vw;
    }

    .contact-card--vk .contact-card__icon {
      top: 1.892154vw;
      left: 10.769231vw;
      width: 5.865605vw;
      height: 5.865605vw;
    }

    .contact-card--instagram .contact-card__icon {
      top: 1.892282vw;
      left: 11.282051vw;
      width: 5.865605vw;
      height: 5.865605vw;
    }

    .contact-card__label,
    .contact-card__value {
      position: absolute;
      left: 0;
      width: 100%;
      margin: 0;
      text-align: center;
      white-space: nowrap;
    }

    .contact-card__label {
      top: 9.230769vw;
      height: 3.333333vw;
      color: #fdca01;
      font-family: "PT Root UI", sans-serif;
      font-size: 2.323821vw;
      font-weight: 700;
      line-height: 1;
      letter-spacing: 0.01em;
    }

    .contact-card__label span {
      color: #ff3a3a;
    }

    .contact-card--phone .contact-card__label {
      top: 11.129436vw;
      font-size: 2.837546vw;
    }

    .contact-card--hours .contact-card__label {
      top: 11.128308vw;
      font-size: 2.835436vw;
    }

    .contact-card--policy .contact-card__label {
      top: 11.128308vw;
      font-size: 3.138462vw;
    }

    .contact-card--vk .contact-card__label {
      font-size: 2.315969vw;
    }

    .contact-card--instagram .contact-card__label {
      top: 8.974359vw;
      font-size: 2.337151vw;
    }

    .contact-card__value {
      top: 13.076923vw;
      display: block;
      color: #e8e8e8;
      font-family: "Montserrat Alternates", sans-serif;
      font-size: 1.610256vw;
      font-weight: 600;
      line-height: 1.21705;
      letter-spacing: 0.05em;
      text-decoration: none;
    }

    .contact-card--phone .contact-card__value {
      top: 15.534718vw;
      left: 1.025641vw;
      width: 25.395205vw;
      font-size: 2.407774vw;
    }

    .contact-card__value--hours {
      top: 14.484923vw;
      left: 4.871795vw;
      width: 17.73341vw;
      font-size: 2.404562vw;
      line-height: 1.174;
    }

    .contact-card__value--link {
      padding: 0;
      font-size: 1.610256vw;
      line-height: 1.2;
    }

    .contact-card--vk .contact-card__value--link {
      left: 1.702974vw;
      width: 24.358974vw;
    }

    .contact-card--instagram .contact-card__value--link {
      top: 12.820513vw;
      width: 28.461538vw;
      font-size: 1.165413vw;
      white-space: normal;
    }

    .contact-card--policy .contact-card__value--link {
      top: 16.410256vw;
      left: 6.410256vw;
      width: 14.871795vw;
      font-size: 1.610256vw;
    }

    .contacts-address__tracking {
      letter-spacing: 0.03em;
    }

    .contact-card a:focus-visible,
    .contacts-map__frame:focus-visible {
      outline: 0.384615vw solid #fdca01;
      outline-offset: -0.769231vw;
    }

    .contact-card a:hover {
      color: #fff;
    }

    .contacts-instagram-notice {
      position: absolute;
      top: 200.512821vw;
      left: 4.615385vw;
      display: grid;
      width: 90.769231vw;
      height: 6.410256vw;
      margin: 0;
      padding: 0 5.128205vw;
      border: 0.194062vw solid rgb(236 177 61 / 80%);
      border-radius: 3.152821vw;
      background: linear-gradient(90deg, rgb(5 5 5 / 70%) 0%, rgb(10 10 10 / 70%) 50%, rgb(18 13 4 / 70%) 100%);
      box-shadow:
        0 1.940974vw 48.515641vw rgb(0 0 0 / 45%),
        inset 0 0.194062vw 0.194062vw rgb(255 255 255 / 10%);
      color: #ff3a3a;
      font-family: "Montserrat", sans-serif;
      font-size: 1.538462vw;
      font-weight: 400;
      line-height: 1.21857;
      letter-spacing: 0.1em;
      text-align: center;
      white-space: normal;
      backdrop-filter: blur(2.307692vw);
      -webkit-backdrop-filter: blur(2.307692vw);
      place-items: center;
    }

    .contacts-signature {
      position: absolute;
      z-index: 7;
      top: 207.179487vw;
      left: 79.74359vw;
      display: block;
      width: 19.334256vw;
      height: 9.737949vw;
      max-width: none;
    }
  }

}
