/* Блок тарифов только для страницы /cases — не пересекается с main.css */
.cp-section{
  padding:0 0 80px!important;
}

.cp-plans {
  max-width: 1344px;
  margin: 0 auto;
  padding-top: 160px;
  font-family: 'Manrope', sans-serif;
  overflow: visible;
}

.cp-plans-card {
  background: linear-gradient(120deg, #ece4f6 0%, #f6e8f0 70%, #ffe9dd 100%);
  border-radius: 32px;
  min-height: 0;
  height: 1230px;
  padding: 48px 14px 0 48px;
  display: grid;
  grid-template-columns: minmax(0, 618px) minmax(0, 1fr);
  gap: 0 12px;
  position: relative;
  overflow: hidden;
}

.cp-plans-left h2 {
  font-size: 64px;
  font-weight: 800;
  color: #504359;
  letter-spacing: -0.03em;
  line-height: 100%;
  max-width: 620px;
  margin-bottom: 64px;
}

.cp-plans-tabs-wrap {
  background: rgba(255, 255, 255, .7);
  border-radius: 100px;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.cp-plans-tab-slider {
  position: absolute;
  background: var(--purple);
  border-radius: 100px;
  z-index: 0;
  pointer-events: none;
  transition: left .35s cubic-bezier(.22, 1, .36, 1), width .35s cubic-bezier(.22, 1, .36, 1);
}

.cp-plans-tab {
  font-family: inherit;
  font-size: 28px;
  font-weight: 600;
  color: #504359;
  letter-spacing: -0.03em;
  line-height: 100%;
  padding: 22px 24px;
  border-radius: 100px;
  border: none;
  background: transparent;
  cursor: pointer;
  white-space: nowrap;
  text-align: center;
  min-width: 197px;
  position: relative;
  z-index: 1;
  transition: color .35s;
}

.cp-plans-tab.active {
  color: #fff;
}

.cp-plans-list-wrap {
  background: rgba(255, 255, 255, .35);
  border-radius: 48px;
  overflow: hidden;
  padding: 38px 38px 78px;
  max-width: 618px;
}

.cp-plans-tab-content {
  display: none;
  padding: 0;
}

.cp-plans-tab-content.active {
  display: block;
  margin-top: 16px;
  margin-left: 24px;
  margin-right: 24px;
  padding: 24px 0 0;
}

.cp-plans-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 44px;
}

.cp-plans-features li {
  display: flex;
  gap: 24px;
  align-items: center;
}

.cp-plans-features .cp-plans-tick {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.cp-plans-features .cp-plans-feature-text {
  font-size: 20px;
  font-weight: 600;
  color: var(--dark-text);
  line-height: 110%;
  letter-spacing: -0.03em;
}

.cp-plans-features .cp-plans-note {
  color: var(--purple-note);
}

.cp-plans-btn {
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--orange);
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 100%;
  padding: 24px 30px;
  margin: 0 14px;
  border-radius: 24px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background .2s;
}

.cp-plans-btn:hover {
  background: #E56422;
}

.cp-plans-discount {
  margin: 14px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: #9F8FBFE5;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 130%;
}

.cp-plans-discount img {
  width: 24px;
  height: 24px;
  opacity: .7;
}

.cp-plans-included {
  margin-top: 26px;
  padding: 10px 22.5px;
  background: #F1EBFF;
  border-radius: 16px;
  font-size: 18px;
  font-weight: 500;
  color: #504359;
  line-height: 130%;
  letter-spacing: -0.03em;
}

.cp-plans-right {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  align-self: start;
  margin-top: 137px;
  overflow: visible;
  padding-right: 0;
}

.cp-plans-phone-wrap {
  position: relative;
  width: 609px;
  max-width: 100%;
  isolation: isolate;
  margin-bottom: -200px;
}

.cp-plans-phone-screen {
  position: absolute;
  left: 5.38%;
  right: 4.38%;
  top: 2%;
  bottom: 5.28%;
  border-radius: 9.5%;
  overflow: hidden;
  z-index: 1;
  background: #000;
}

.cp-plans-phone-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  /* object-fit: cover; */
  object-position: top center;
  display: block;
}

.cp-plans-iphone {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 32px 64px rgba(80, 67, 89, .15));
  position: relative;
  z-index: 3;
  pointer-events: none;
}

@media (max-width: 1024px) {
  
  .cp-plans {
    padding: 0;
  }

  .cp-plans-card {
    grid-template-columns: 1fr;
    padding: 48px 63px 78px 63px;
    border-radius: 32px;
    height: auto;
    justify-items: center;
  }

  .cp-plans-right {
    display: none;
  }

  .cp-plans-left h2 {
    font-size: 64px;
    letter-spacing: -3%;
    text-align: center;
    line-height: 90%;    
    margin-bottom: 48px;
  }

  .cp-plans-list-wrap {
    margin-top: 0;
    margin-bottom: 16px;
    max-width: none;
    padding: 38px;
    border-radius: 48px;
    max-width: 618px;
  }

  .cp-plans-tabs-wrap {
    padding: 8px;
  }

  .cp-plans-tab {
    font-size: 28px;
    padding: 22px 24px;
    font-weight: 600;
  }

  .cp-plans-features {
    gap: 20px;
  }

  .cp-plans-features li {
    gap: 24px;
  }

  .cp-plans-features .cp-plans-tick {
    width: 22px;
    height: 22px;
  }

  .cp-plans-features .cp-plans-feature-text {
    font-size: 20px;
    font-weight: 600;
    line-height: 110%;
    letter-spacing: -3%;
  }

  .cp-plans-discount img {
    width: 22px;
    height: 22px;
  }
}

@media (max-width: 650px) {
  .cp-plans {
    padding: 0 8px;
    margin-top: 0;
    margin-bottom: 40px;
  }

  .cp-plans-card {
    padding: 32px 10px;
  }

  .cp-plans-left {
    width: 100%;
    min-width: 0;
  }

  .cp-plans-left h2 {
    font-size: 32px;
    line-height: 100%;
    margin: 0 auto 22px;
    max-width: 302px;
  }

  .cp-plans-list-wrap {
    width: 100%;
    max-width: none;
    padding: 21px 7px;
    box-sizing: border-box;
    border-radius: 26px;
    margin-bottom: 0;
  }

  .cp-plans-tabs-wrap {
    padding: 4.45px;
    justify-content: space-between;
  }

  .cp-plans-tab {
    font-size: 16px;
    height: 40px;
    padding: 0 11.5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    flex: 0 0 auto;
    width: auto;
    min-width: auto;
    font-weight: 600;
  }

  .cp-plans-tab.active {
    padding: 0 21.5px;
  }

  .cp-plans-tab-content.active {
    margin-left: 17px;
    margin-right: 17px;
    padding-top: 5px;
  }

  .cp-plans-features {
    gap: 11px;
    margin-bottom: 32px;
  }

  .cp-plans-features li {
    gap: 13px;
  }

  .cp-plans-features .cp-plans-tick {
    width: 11px;
    height: 11px;
  }

  .cp-plans-features .cp-plans-feature-text {
    font-size: 12px;
    line-height: 110%;
    letter-spacing: -3%;
  }

  .cp-plans-btn {
    font-size: 12px;
    padding: 13px 0;
    margin: 0 8px;
    border-radius: 13px;
  }

  .cp-plans-discount {
    font-size: 14px;
    margin: 10px 0 0;
  }

  .cp-plans-discount img {
    width: 24px;
    height: 24px;
  }

  .cp-plans-included {
    font-size: 12px;
    padding: 10px 18px;
    margin-top: 10px;
  }
}