.--callback {
  display: inline-flex;
  position: relative;
  overflow: clip;
  align-items: center;
  padding: 13px 24px;
  border: 0;
  border-radius: 32px;
  font-size: 18px;
  line-height: 24px;
  text-decoration: none;
  color: #fff;
  background-color: var(--orange);
  box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.07);
  transition:
    box-shadow 0.2s,
    color 0.2s,
    transform 0.2s;

  &:hover {
    color: #fff;
    box-shadow: 0 5px 10px 0 rgba(255, 106, 57, 0.3);
    transform: translateY(-5px);
  }

  &:after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.6) 100%);
    width: 52px;
    transform: skewX(-22deg);
    left: -100%;

    animation-name: blink;
    animation-duration: 2.5s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    animation-delay: 2s;
  }

  i,
  span {
    color: #ffffff;
  }
}

.--callgager {
  &:hover {
    box-shadow: 0 5px 10px 0 rgba(132, 189, 0, 0.3);
  }

  i {
    color: var(--green);
  }
}

.--calculator {
  &:hover {
    box-shadow: 0 5px 10px 0 rgba(255, 199, 44, 0.3);
  }

  i {
    color: var(--yellow);
  }
}

@keyframes blink {
  from {
    left: -100%;
  }
  to {
    left: 120%;
  }
}

.social-contacts__list {
  display: inline-flex;
  gap: 12px;

  a {
    width: 50px;
    height: 50px;
    margin: 0;

    border-radius: 100%;
    box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.07);
    transition:
      box-shadow 0.2s,
      color 0.2s,
      transform 0.2s;

    &:hover {
      transform: translateY(-5px);
      box-shadow: 0 5px 10px 0 currentColor;
    }

    &.max:hover {
      box-shadow: 0 5px 10px 0 rgba(104, 51, 211, 0.3);
    }

    &.telegram:hover {
      box-shadow: 0 5px 10px 0 rgba(73, 152, 213, 0.3);
    }

    img {
      width: 100%;
      height: 100%;
    }
  }
}

.contacts__block-item .social-contacts__list {
  margin-top: 24px;
}

.foot-contacts__block .social-contacts__list {
  margin-top: 12px;
}

.repair-menu {
  display: grid;
  grid-template-columns: 1.07fr repeat(2, 1fr);
  gap: 20px;
  background-color: #fff2ef;
  padding: 36px;
  border-radius: 8px;
  margin-bottom: 90px;

  @media (max-width: 1024px) {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    padding: 24px;
    margin-bottom: 44px;
  }

  @media (max-width: 550px) {
    grid-template-columns: 1fr;
    padding: 16px 16px 24px;
  }
}

.repair-menu__title {
  font-size: 1.5rem;
  list-style: 1.75rem;
  font-weight: 700;
  color: var(--orange);
  text-wrap: balance;

  @media (max-width: 1024px) {
    grid-column: span 2;
  }

  @media (max-width: 550px) {
    grid-column: span 1;
  }
}

.repair-menu__block {
  ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  li {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 1.25rem;
    line-height: 2rem;
    color: var(--orange);

    a {
      color: var(--orange);
      text-underline-offset: 6px;
      text-decoration-color: #ff6a3920;
      text-decoration-thickness: 1px;
      transition: text-decoration-color 0.3s ease;

      &:hover {
        text-decoration: underline;
        text-decoration-color: var(--orange);
        text-decoration-thickness: 1px;
      }
    }
  }
}

.repair-item {
  display: grid;
  grid-template-columns: 349fr 651fr;
  gap: 20px;
  position: relative;
  margin-bottom: 90px;

  @media (max-width: 1024px) {
    grid-template-columns: 1fr;
  }

  &::before {
    content: '';
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    bottom: 0;
    display: block;
    width: 100%;
    width: 4px;
    border-radius: 20px;
    background-color: rgba(0, 0, 0, 0.1);
  }

  .repair-item__left {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding: 0 20px 0 36px;

    @media (max-width: 1024px) {
      padding-left: 24px;
    }

    @media (max-width: 550px) {
      padding-left: 16px;
    }
  }

  .repair-item__title {
    font-size: 1.5rem;
    line-height: 1.75rem;
    font-weight: 700;
    color: #333f48;
    text-wrap: balance;
  }

  .repair-item__gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    width: 80%;

    @media (max-width: 1024px) {
      width: 100%;
    }

    li {
      list-style: none;
      margin: 0;
      padding: 0;

      &.--hidden {
        display: none;
      }

      a {
        display: block;
        width: 64px;
        height: 64px;
        position: relative;
        border-radius: 8px;
        overflow: hidden;

        &::before {
          content: '';
          position: absolute;
          display: block;
          inset: 0;
          width: 100%;
          height: 100%;
          opacity: 0.4;
          background-color: transparent;
          transition: background-color 0.3s ease;
        }

        &.--video {
          &::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 32px;
            height: 32px;
            background-image: url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16 0C7.16356 0 0 7.16344 0 16C0 24.8366 7.16356 32 16 32C24.8364 32 32 24.8366 32 16C32 7.16344 24.8364 0 16 0ZM21.53 16.8481L13.53 21.8481C13.3786 21.9427 13.2046 21.995 13.0262 21.9996C12.8477 22.0042 12.6713 21.961 12.5151 21.8745C12.359 21.788 12.2289 21.6613 12.1383 21.5075C12.0477 21.3537 12 21.1785 12 21V11C12 10.6362 12.1973 10.3018 12.5151 10.1255C12.6712 10.0386 12.8476 9.99525 13.0262 9.99989C13.2047 10.0045 13.3787 10.057 13.53 10.1519L21.53 15.1519C21.8223 15.335 22 15.6553 22 16C22 16.3447 21.8223 16.6651 21.53 16.8481Z' fill='white'/%3E%3C/svg%3E");
          }
        }

        &:hover {
          &::before {
            background-color: #333f48;
          }
        }

        img {
          width: 100%;
          height: 100%;
          object-fit: cover;
        }

        .more {
          backdrop-filter: blur(8px);
          position: absolute;
          font-size: 1.25rem;
          line-height: 1.5rem;
          font-weight: 700;
          color: #fff;
          inset: 0;
          display: flex;
          align-items: center;
          justify-content: center;
          z-index: 10;
        }
      }
    }
  }

  .repair-item__right {
    font-size: 1.125rem;
    line-height: 1.75rem;

    @media (max-width: 1024px) {
      padding-left: 20px;
    }

    @media (max-width: 550px) {
      padding-left: 16px;
    }

    p:not(:first-child) {
      margin-top: 8px;
    }

    button[data-toggle-trigger] {
      margin-top: 40px;
      font-size: 1.125rem;
      line-height: 1.75rem;
      color: var(--orange);
      background: none;
      border: none;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 4px;

      svg {
        flex-shrink: 0;
        transition: transform 0.3s ease;
      }
    }

    .repair-item__toggle {
      &[data-expanded='true'] {
        button {
          svg {
            transform: rotate(-180deg);
          }
        }

        .repair-item__toggle-content {
          max-height: 2000px;
          padding-top: 32px;
          opacity: 1;
        }
      }
    }

    .repair-item__toggle-content {
      max-height: 0;
      margin-top: 0;
      opacity: 0;
      overflow: hidden;
      transition:
        max-height 0.3s ease-in-out,
        padding-top 0.3s ease-in-out,
        opacity 0.3s ease-in-out;
    }

    .repair-item__list {
      margin: 0;
      padding: 0;
      display: flex;
      flex-direction: column;
      gap: 20px;
    }

    .list__item {
      color: #333f48;
      display: flex;
      justify-content: space-between;
      color: var(--orange);
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 16px;
      padding-bottom: 20px;
      border-bottom: 1px solid rgba(255, 106, 57, 0.2);
      transition: max-height 0.3s ease-in-out;

      @media (max-width: 1024px) {
        gap: 12px;
      }

      @media (max-width: 550px) {
        grid-template-columns: 1fr;
      }

      .list__item-title {
        font-size: 1.25rem;
        line-height: 1.5rem;
        font-weight: 700;
        padding-right: 20px;

        @media (max-width: 550px) {
          padding-right: 0;
        }
      }

      .list__item-price {
        font-size: 1.25rem;
        line-height: 1.5rem;
        font-weight: 700;
        text-wrap: nowrap;

        i {
          font-family: var(--font-roboto);
          font-style: normal;
        }
      }

      .list__item-description {
        margin: 0;
        padding: 0;
        color: var(--orange);
        font-size: 0.9375rem;
        line-height: 1.25rem;
        grid-column: span 2;

        @media (max-width: 550px) {
          grid-column: span 1;
        }
      }
    }
  }
}

.service-form {
  margin-bottom: 20px;

  .feedback__wrapper {
    margin: 0;
    padding: 0;
    overflow: clip;
    display: grid;
    gap: 20px;
    grid-template-columns: 349fr 651fr;
    box-shadow: 0px 5px 25px rgba(224, 224, 224, 0.5);
    border-radius: 12px;

    @media (max-width: 1024px) {
      grid-template-columns: 1fr;
      gap: 0;
    }

    .service-form__bg {
      background: url(/img/bg-form-service.svg) no-repeat right center;
      width: 100%;
      height: 100%;
    }

    .feedback__form {
      margin: 0;
      padding: 36px 52px 36px 0;

      @media (max-width: 1024px) {
        padding: 20px 20px 44px;
      }

      @media (max-width: 550px) {
        padding: 16px 16px 36px;
      }
    }

    .feedback__text {
      margin-bottom: 36px;

      h2 {
        font-size: 1.5rem;
        line-height: 1.75rem;
        font-weight: 700;
        text-wrap: balance;
        margin-bottom: 24px;

        @media (max-width: 1024px) {
          margin-bottom: 16px;
        }

        @media (max-width: 550px) {
          margin-bottom: 8px;
        }
      }

      p {
        font-size: 1.125rem;
        line-height: 1.75rem;
        text-wrap: balance;
      }
    }

    .form-field {
      margin-bottom: 36px;

      .custom-input {
        margin-bottom: 20px;

        @media (max-width: 640px) {
          margin-bottom: 12px;
        }
      }
    }

    .form-field--buttons {
      margin: 28px 0 0;
    }

    .button {
      box-shadow:
        0px 5px 10px rgba(0, 0, 0, 0.07),
        0px 5px 10px rgba(0, 0, 0, 0.07);

      .fas {
        margin-right: 12px;
      }
    }
  }
}

.form-agreement {
  label {
    display: flex;
    gap: 12px;
    cursor: pointer;
    font-size: 0.9375rem;
    line-height: 1.25rem;
    color: #333f48;

    span {
      text-wrap: balance;
    }

    a {
      color: var(--orange);
      border-bottom: 1px solid rgba(255, 106, 57, 0.33);
      text-decoration: none;

      &:hover {
        border-bottom-color: transparent;
      }
    }
  }

  input {
    margin-top: -2px;
    width: 24px;
    height: 24px;
    border: 2px solid white;
    border-radius: 8px;
    appearance: none;
    cursor: pointer;
    position: relative;
    background: #eeeeee;
    flex-shrink: 0;

    &:before {
      content: '';
      position: absolute;
      top: 6px;
      left: 5px;
      width: 10px;
      height: 5px;
      border-left: 1.5px solid transparent;
      border-bottom: 1.5px solid transparent;
      transform: rotate(-45deg);
      transition: border-color 0.2s ease-in-out;
    }

    &:checked {
      &:before {
        border-color: var(--orange);
      }
    }

    &:hover:not(:checked) {
      &:before {
        border-color: rgba(255, 106, 57, 0.4);
      }
    }
  }
}

.service-detail__text.text-content {
  background: #f3f4f5;
  border-radius: 8px;
  padding: 36px;
  width: 100%;
  max-width: 100%;

  @media (max-width: 1024px) {
    padding: 24px;
  }

  @media (max-width: 550px) {
    padding: 16px;
  }

  &.--after p {
    font-size: 15px;
    line-height: 20px;

    @media (max-width: 550px) {
      font-size: 15px;
    }
  }

  &.--before {
    margin-bottom: 20px;
  }
}

.anchor {
  width: 100%;
}
.anchor .section__item--seperator {
  width: 100%;
}
.anchor .section__item-wrapper {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  width: 100%;
}
.anchor .section__item-text {
  flex: 1;
  margin-left: 0;
  padding-right: 0;
}
.anchor .section__item-name {
  padding-right: 12px;
  margin-bottom: 12px;
}
.anchor .video-block {
  flex: 1;
  position: relative;
  overflow: hidden;
}
.anchor .video-block video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}

.anchor .links-list {
  padding-right: 12px;
}
.anchor .video-block {
  flex: 1;
  position: relative;
  overflow: hidden;
}
@media (max-width: 500px) {
  .anchor .section__item-wrapper {
    flex-direction: column;
  }
  .anchor .section__item-text {
    width: 100%;
    order: 2;
  }

  .anchor .video-block {
    width: 100%;
    order: 1;

    aspect-ratio:3 / 2;
  }
  .anchor .links-list {
    display: block;
    line-height: calc(1em + 8px);
  }
  .anchor .links-list li {
    display: inline;
  }
}
@media (min-width: 890px) {
  .anchor .links-list {
    display: grid;
    grid-template-columns: minmax(0, 217px) minmax(0, 217px);
    gap: 0 24px;
  }
}
