/* credits-slider.css — "no tariffs, just credits" block (Figma 2026-06-06) */

.credits-slider .cs__panel {
  background: linear-gradient(135deg, #15151c 0%, #1c1c27 55%, #14141a 100%);
  border: 1px solid rgba(212, 168, 83, 0.18);
  border-radius: var(--radius-2xl, 24px);
  padding: clamp(24px, 4vw, 48px);
  box-shadow: var(--shadow-xl, 0 16px 48px rgba(0, 0, 0, 0.12));
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: stretch;
  color: #fff;
}

/* Левая часть прижата к верху (как в образце), не по центру */
.cs__intro { align-self: start; padding-top: 4px; }

/* Intro (left) */
.cs__kicker {
  display: inline-block; padding: 5px 14px; border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--gold-light, #E8C97A); margin-bottom: 22px;
}
.cs__title { font-size: clamp(28px, 4vw, 44px); line-height: 1.1; font-weight: 700; margin: 0 0 18px; color: #fff; }
.cs__lead { font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, .72); margin: 0 0 22px; }
.cs__lead b { color: var(--gold-light, #E8C97A); font-weight: 700; }
.cs__facts { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.cs__facts li { position: relative; padding-left: 26px; font-size: 14px; color: rgba(255, 255, 255, .85); }
.cs__facts li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--gold-gradient, linear-gradient(135deg, #D4A853, #F4D03F));
}
.cs__facts li::after {
  content: ""; position: absolute; left: 5px; top: 8px; width: 5px; height: 8px;
  border: solid #14141a; border-width: 0 2px 2px 0; transform: rotate(45deg);
}

/* Card (right) */
.cs__card {
  position: relative;
  background:
    linear-gradient(180deg, rgba(32, 34, 48, .97), rgba(17, 17, 26, .99) 60%) padding-box,
    linear-gradient(135deg, #7C93FF, #C77DFF 38%, #4DD0E1 72%, #7C93FF) border-box;
  border: 3px solid transparent; border-radius: var(--radius-xl, 20px);
  padding: clamp(20px, 3vw, 32px); display: flex; flex-direction: column;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .35); }
/* Ambient-свечение СНАРУЖИ периметра (как подсветка ТВ на стене) */
.cs__card::before {
  content: ""; position: absolute; inset: -5px; border-radius: inherit; z-index: -1;
  background: linear-gradient(135deg, #7C93FF, #C77DFF 40%, #4DD0E1 75%, #7C93FF);
  filter: blur(26px); opacity: .6; }
.cs__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 7px; flex-wrap: wrap; }
.cs__credits { display: flex; align-items: flex-start; gap: 6px; font-size: clamp(28px, 4vw, 40px); font-weight: 700; line-height: 1; }
.cs__credits small { font-size: 15px; font-weight: 500; color: rgba(255, 255, 255, .6); line-height: 1; }
.cs__price { font-size: clamp(20px, 3vw, 28px); font-weight: 700; color: var(--gold-light, #E8C97A); white-space: nowrap; line-height: 1; }

/* Range slider */
.cs__range { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 999px; outline: none;
  background: linear-gradient(90deg, var(--gold-primary, #D4A853) 0%, var(--gold-light, #E8C97A) var(--cs-pct, 35%), rgba(255,255,255,.12) var(--cs-pct, 35%), rgba(255,255,255,.12) 100%);
  cursor: pointer; margin: 6px 0 42px; }
.cs__range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none;
  width: 44px; height: 24px; border-radius: 999px; background-color: #fff;
  background-image:
    radial-gradient(circle 1.1px at calc(50% - 6px) calc(50% - 5px), #aeb0be 58%, transparent 62%),
    radial-gradient(circle 1.1px at 50% calc(50% - 5px), #aeb0be 58%, transparent 62%),
    radial-gradient(circle 1.1px at calc(50% + 6px) calc(50% - 5px), #aeb0be 58%, transparent 62%),
    radial-gradient(circle 1.1px at calc(50% - 6px) 50%, #aeb0be 58%, transparent 62%),
    radial-gradient(circle 1.1px at 50% 50%, #aeb0be 58%, transparent 62%),
    radial-gradient(circle 1.1px at calc(50% + 6px) 50%, #aeb0be 58%, transparent 62%),
    radial-gradient(circle 1.1px at calc(50% - 6px) calc(50% + 5px), #aeb0be 58%, transparent 62%),
    radial-gradient(circle 1.1px at 50% calc(50% + 5px), #aeb0be 58%, transparent 62%),
    radial-gradient(circle 1.1px at calc(50% + 6px) calc(50% + 5px), #aeb0be 58%, transparent 62%);
  border: 2px solid var(--gold-primary, #D4A853); box-shadow: 0 2px 8px rgba(0,0,0,.4); cursor: grab; }
.cs__range::-moz-range-thumb { width: 44px; height: 24px; border-radius: 999px; background: #fff;
  border: 2px solid var(--gold-primary, #D4A853); box-shadow: 0 2px 8px rgba(0,0,0,.4); cursor: grab; }
.cs__hint { font-size: 12.5px; color: rgba(255, 255, 255, .5); margin: 0 0 34px; }

/* Capability list */
.cs__list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; margin-bottom: 38px; }
.cs__item { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 15px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 999px; }
.cs__label { font-size: 13px; color: rgba(255, 255, 255, .82); line-height: 1.2; }
.cs__count { font-size: 14px; font-weight: 700; color: var(--gold-light, #E8C97A); white-space: nowrap; }

.cs__cta { width: 100%; justify-content: center; }
.cs__note { font-size: 11.5px; line-height: 1.45; color: rgba(255, 255, 255, .45); margin: 14px 0 0; text-align: center; }

@media (max-width: 860px) {
  /* тёмная панель во всю ширину экрана, без белых боковых отступов */
  .credits-slider.section { padding-left: 0; padding-right: 0; }
  .credits-slider .container { max-width: 100%; padding-left: 0; padding-right: 0; }
  .credits-slider .cs__panel { grid-template-columns: 1fr; gap: 16px; padding: 18px 16px; }
  .cs__lead-br { display: none; } /* на мобиле «Никаких подписок» без переноса */
  .cs__kicker { margin-bottom: 16px; }           /* отступ под «ОПЛАТА» */
  .cs__title  { margin-bottom: 14px; }
  .cs__lead   { margin-bottom: 12px; }
  /* Порядок как в образце: пилюли сверху, сумма/бегунок снизу. Контент в рамке-боксе. */
  .cs__card  { padding: 16px; }
  .cs__card::before { display: none; }            /* на мобиле без ambient-свечения */
  .cs__item  { padding: 4px 14px; }
  .cs__list  { order: 1; margin: 0 0 30px; }      /* отступ над суммой */
  .cs__head  { order: 2; margin-bottom: 5px; }
  .cs__hint  { order: 3; margin-bottom: 36px; }   /* отступ над бегунком */
  .cs__range { order: 4; margin-bottom: 48px; }   /* отступ под бегунком */
  .cs__cta   { order: 5; }
  .cs__note  { order: 6; margin: 14px 0 0; }
}
@media (max-width: 480px) {
  .cs__list { grid-template-columns: 1fr; }
  .cs__head { gap: 6px; }
}
