/* Страница «Перенос данных» и блок в тарифах */

.perenos-hero {
  padding: 2rem 0 1rem;
}

.perenos-hero__body {
  border-radius: 1.25rem;
  padding: 2.5rem 1.25rem;
  text-align: center;
}

.perenos-hero__title {
  font-weight: 800;
  line-height: 120%;
  text-transform: uppercase;
  font-size: 1.5rem;
}

.perenos-hero__title span {
  color: #25f8f4;
}

.perenos-hero__text {
  margin: 1.5rem auto 0;
  max-width: 48rem;
  line-height: 150%;
  color: rgba(255, 255, 255, 0.8);
}

.perenos-hero__programs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.perenos-hero__programs a {
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 1.25rem;
  padding: 0.6rem 1.25rem;
  font-size: 0.875rem;
  transition: background-color 0.3s ease 0s, color 0.3s ease 0s;
}

.perenos-hero__btn {
  margin-top: 2.25rem;
}

.perenos-offer {
  padding: 1rem 0;
}

.perenos-offer__body {
  border-radius: 1.25rem;
  padding: 2rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.perenos-offer__value {
  font-weight: 800;
  text-transform: uppercase;
  line-height: 110%;
  font-size: 2rem;
  color: transparent;
  background-image: linear-gradient(0.327turn, #25f8f4 0%, #e868ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.perenos-offer__title {
  font-weight: 800;
  text-transform: uppercase;
  line-height: 130%;
  font-size: 1.25rem;
}

.perenos-offer__text {
  margin-top: 0.75rem;
  line-height: 150%;
}

.perenos-offer__terms {
  margin-top: 1rem;
  line-height: 140%;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.56);
}

.perenos-steps,
.perenos-sources,
.perenos-faq {
  padding: 3rem 0 1rem;
}

.perenos-steps__list {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.perenos-steps__item {
  background: #fff;
  color: #484848;
  border-radius: 1rem;
  padding: 1.75rem 1.5rem;
}

.perenos-steps__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  color: #fff;
  font-weight: 800;
  font-size: 1.25rem;
  background: linear-gradient(0.23turn, #32ecf5 0%, #6bb6f8 47%, #9490fb 68%, #d551ff 100%);
}

.perenos-steps__caption {
  margin-top: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1rem;
}

.perenos-steps__text {
  margin-top: 0.75rem;
  line-height: 150%;
  font-size: 0.9375rem;
}

.perenos-sources__list {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.perenos-sources__item {
  scroll-margin-top: 7rem;
  padding-bottom: 1.5rem;
}

.perenos-sources__lead,
.perenos-sources__note {
  padding: 0 1.5rem;
  line-height: 145%;
  font-size: 0.875rem;
}

.perenos-sources__lead {
  margin-top: 1.25rem;
}

.perenos-sources__note {
  margin-top: 1rem;
  color: #8a8a8a;
}

.perenos-sources__checks {
  padding: 0 1.5rem;
  margin-top: 1.25rem;
}

.perenos-sources__checks li {
  position: relative;
  padding-left: 1.75rem;
  line-height: 140%;
  font-size: 0.9375rem;
}

.perenos-sources__checks li + li {
  margin-top: 0.6rem;
}

.perenos-sources__checks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.3rem;
  width: 0.75rem;
  height: 0.4rem;
  border-left: 2px solid #9490fb;
  border-bottom: 2px solid #9490fb;
  transform: rotate(-45deg);
}

.perenos-faq__list {
  display: grid;
  gap: 1rem;
  margin: 2.5rem auto 0;
  max-width: 56rem;
}

.perenos-faq__item {
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
}

.perenos-faq__item summary {
  cursor: pointer;
  font-weight: 700;
  line-height: 140%;
  list-style: none;
  padding-right: 2rem;
  position: relative;
}

.perenos-faq__item summary::-webkit-details-marker {
  display: none;
}

.perenos-faq__item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: -0.1rem;
  font-size: 1.5rem;
  font-weight: 400;
  color: #25f8f4;
}

.perenos-faq__item[open] summary::after {
  content: '−';
}

.perenos-faq__item p {
  margin-top: 0.75rem;
  line-height: 150%;
  color: rgba(255, 255, 255, 0.8);
}

.perenos-faq__footer {
  text-align: center;
  margin: 2.5rem 0 2rem;
}

/* Карточка «ИИ-аналитика» в модулях тарифов: на всю строку, чтобы не остаться одной в ряду */

.price__item.price__item-wide {
  grid-column: 1 / -1;
}

@media (min-width: 639.98px) {
  .price__item.price__item-wide {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: inherit;
  }

  .price__item-wide .price__item-caption {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .price__item-wide .price__item-info {
    justify-content: center;
  }

  .price__item-wide .price__item-desc {
    margin-top: 0;
  }
}

@media (min-width: 1199.98px) {
  .price__item.price__item-wide {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .price__item-wide .price__item-caption {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .price__item-wide .price__item-info {
    grid-column: span 3;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
  }

  .price__item-wide .price__item-desc {
    flex: 1;
    margin-bottom: 0;
    text-align: left;
  }

  .price__item-wide .price__item-value:not(:first-child) {
    margin: 0;
  }
}

/* Блок «Пользуетесь другой программой?» в тарифах */

.price__switch {
  margin-top: 3.5rem;
  border-radius: 1.25rem;
  padding: 2rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.price__switch-title {
  font-weight: 800;
  text-transform: uppercase;
  line-height: 130%;
  font-size: 1.25rem;
}

.price__switch-text {
  margin-top: 0.75rem;
  line-height: 150%;
  color: rgba(255, 255, 255, 0.8);
}

.price__switch-programs {
  margin-top: 1rem;
  font-weight: 600;
  color: #25f8f4;
  line-height: 150%;
}

.price__switch-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.price__switch-actions .btn.btn-white {
  padding: 1rem 1.5rem;
  border-radius: 0.75rem;
  font-size: 0.8625rem;
}

@media (min-width: 639.98px) {
  .perenos-hero__body {
    padding: 3.5rem 2.5rem;
  }

  .perenos-hero__title {
    font-size: 2rem;
  }

  .perenos-offer__body,
  .price__switch {
    padding: 2.5rem;
  }
}

@media (min-width: 959.98px) {
  .perenos-hero__title {
    font-size: 2.5rem;
  }

  .perenos-hero__text {
    font-size: 1.125rem;
  }

  .perenos-offer__body {
    flex-direction: row;
    align-items: center;
    gap: 3rem;
  }

  .perenos-offer__value {
    flex: 0 0 auto;
    font-size: 2.75rem;
  }

  .perenos-steps__list {
    grid-template-columns: repeat(3, 1fr);
  }

  .perenos-sources__list {
    grid-template-columns: repeat(2, 1fr);
  }

  .price__switch {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    padding: 2.5rem 3rem;
  }

  .price__switch-info {
    max-width: 40rem;
  }

  .price__switch-actions {
    flex-direction: column;
    align-items: stretch;
    flex: 0 0 auto;
  }
}

@media (min-width: 1199.98px) {
  .perenos-hero__title {
    font-size: 3rem;
  }

  .perenos-sources__list {
    grid-template-columns: repeat(3, 1fr);
  }

  .price__switch-title {
    font-size: 1.5rem;
  }
}

@media (any-hover: hover) {
  .perenos-hero__programs a:hover {
    background-color: #fff;
    color: #484848;
  }

  .price__switch-actions .btn.btn-white:hover {
    background-color: #fff;
    color: #484848;
  }
}

/* Меню: с пунктом «Перенос данных» прежние отступы не помещаются в одну строку */

@media (min-width: 959.98px) {
  .menu__list {
    gap: 2rem;
  }
}

@media (min-width: 1199.98px) {
  .menu__list {
    gap: 3.5rem;
  }
}

@media (min-width: 1599.98px) {
  .menu__list {
    gap: 5rem;
  }
}

/* Партнёрская программа: страница /partners и блок в тарифах */

.partner-bar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.375rem;
  margin-top: 1.5rem;
  max-width: 32rem;
}

.partner-bar__part {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2.5rem;
  border-radius: 0.5rem;
  font-weight: 700;
  font-size: 0.875rem;
  color: #fff;
  background: linear-gradient(0.23turn, #32ecf5 0%, #6bb6f8 47%, #9490fb 68%, #d551ff 100%);
}

.partner-bar__caption {
  margin-top: 0.75rem;
  font-weight: 600;
  color: #25f8f4;
}

.price__switch.price__switch-partner {
  margin-top: 1.5rem;
}

@media (min-width: 959.98px) {
  .perenos-sources__list.partner-sides {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1199.98px) {
  .perenos-sources__list.partner-sides {
    grid-template-columns: repeat(2, 1fr);
    max-width: 64rem;
    margin-left: auto;
    margin-right: auto;
  }
}
