/* ============================================================
   S6 · ТАРИФЫ (чек-принтер + карточки)  +  S7 · CTA
   ============================================================ */
.pricing { text-align: center; overflow: hidden; }

/* ---------- чеки ---------- */
.checks {
  display: flex; justify-content: center; align-items: flex-start;
  gap: clamp(24px, 5vw, 90px);
  margin-bottom: clamp(56px, 9vh, 110px);
  min-height: 300px;
}
.check {
  position: relative; width: min(330px, 42vw);
  background: #efece4; color: #17161a; text-align: left;
  border-radius: 4px 4px 0 0;
  box-shadow: 0 30px 70px rgba(0,0,0,.5);
  transform-origin: top center;
  will-change: transform, clip-path;
}
.check__head {
  padding: 16px 20px 10px; font-size: 11px; color: #6a675f;
  border-bottom: 1px dashed #c9c5ba;
}
.check__body { padding: 12px 20px 22px; display: grid; gap: 9px; }
.check__body p { display: flex; justify-content: space-between; gap: 16px; font-size: 12px; color: #3d3b36; }
.check__body p span:last-child { font-variant-numeric: tabular-nums; }
.check__total {
  margin-top: 8px; padding-top: 12px; border-top: 1px dashed #c9c5ba;
  font-weight: 500; color: #17161a !important; font-size: 13px !important;
}
.check--long .check__total span:last-child { color: var(--red); }
.check__zigzag {
  position: absolute; left: 0; right: 0; bottom: -8px; height: 8px;
  background: linear-gradient(-45deg, transparent 5.5px, #efece4 0) 0 0 / 11px 8px,
              linear-gradient(45deg, transparent 5.5px, #efece4 0) 5.5px 0 / 11px 8px;
  background-repeat: repeat-x;
}
.check__stamp {
  position: absolute; right: 12px; bottom: 26px;
  display: flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .1em; font-weight: 500;
  color: #b25a00; border: 2px solid #b25a00; border-radius: 8px;
  padding: 8px 12px; transform: rotate(-8deg) scale(0);
  background: rgba(255,163,0,.07);
}
.check__stamp img { width: 20px; height: 20px; border-radius: 5px; }

/* ---------- карточки тарифов ---------- */
.pricing__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.4vw, 30px);
  max-width: 1180px; margin: 0 auto; text-align: left;
}
.plan {
  position: relative; border-radius: 24px; padding: clamp(24px, 2.6vw, 40px);
  background: var(--surface); border: 1px solid var(--line);
  display: grid; gap: 20px; align-content: start;
  transform-style: preserve-3d; will-change: transform;
  transition: border-color .3s;
}
.plan:hover { border-color: rgba(255,163,0,.35); }
/* glare при tilt — блик, дающий стеклу вес */
.plan::after {
  content: ''; position: absolute; inset: 0; border-radius: 24px;
  background: radial-gradient(80% 50% at 30% 0%, rgba(255,255,255,.07), transparent 60%);
  opacity: 0; transition: opacity .35s; pointer-events: none;
}
.plan:hover::after { opacity: 1; }
.plan--hot {
  border-color: rgba(255,163,0,.55);
  background: linear-gradient(170deg, #191308, var(--surface) 55%);
  box-shadow: 0 30px 80px rgba(0,0,0,.5), 0 0 70px rgba(255,163,0,.12);
}
.plan__tag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--amber); color: #0B0B0D; font-size: 10px;
  padding: 5px 14px; border-radius: 100px; font-weight: 500;
}
.plan h3 { color: var(--muted); font-size: 13px; letter-spacing: .3em; }
.plan__price {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(30px, 3.4vw, 46px); line-height: 1;
  font-variant-numeric: tabular-nums;
}
.plan--hot .plan__price { color: var(--amber); }
.plan__price small { font-size: 13px; font-weight: 500; color: var(--dim); margin-left: 6px; font-family: var(--body); }
.plan ul { list-style: none; display: grid; gap: 11px; }
.plan ul li { font-size: 14.5px; color: var(--muted); padding-left: 22px; position: relative; }
.plan ul li::before { content: '✓'; position: absolute; left: 0; color: var(--amber); font-family: var(--mono); font-size: 12px; }
.plan__note { color: var(--dim); font-size: 11px; }
.plan .btn { justify-self: start; }

@media (max-width: 900px) {
  .pricing__grid { grid-template-columns: 1fr; }
  .checks { flex-direction: column; align-items: center; min-height: 0; }
  .check { width: min(330px, 88vw); }
}

/* ============================================================
   S7 · CTA
   ============================================================ */
.cta {
  min-height: 100vh; display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: clamp(110px, 16vh, 190px);
  padding-bottom: 4vh;
}
.cta__inner { padding-top: 30vh; }
.cta__inner { display: grid; justify-items: center; text-align: center; gap: clamp(22px, 3.5vh, 40px); }
.cta__title {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(28px, 5.2vw, 76px); line-height: 1.1; letter-spacing: -0.01em;
}
.cta__l { display: block; overflow: hidden; }
.cta__l > span { display: inline-block; will-change: transform; }
.cta__title em { font-style: normal; color: var(--amber); }
.cta__sub { color: var(--muted); font-size: clamp(15px, 1.6vw, 20px); }
.cta__free { color: var(--dim); }

#ctaBtn { position: relative; }
#ctaBtn span { position: relative; z-index: 1; }
/* бегущий блик — включается классом после «морга» совы */
#ctaBtn::before {
  content: ''; position: absolute; top: 0; bottom: 0; width: 40%;
  left: -60%; transform: skewX(-24deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.5), transparent);
  opacity: 0;
}
#ctaBtn.is-shine::before { opacity: 1; animation: btnShine 2.8s ease-in-out infinite; }
@keyframes btnShine {
  0% { left: -60%; } 45% { left: 130%; } 100% { left: 130%; }
}

.cta .footer { width: 100%; }
