/* PRICING — 3 тарифа БАЗА / ПОД КЛЮЧ / НОВЫЙ БИЗНЕС */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-md);
  align-items: stretch;
}

@media (min-width: 600px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
}
.pricing-extra {
  margin: var(--space-md) auto 0;
  padding: var(--space-md);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  flex-wrap: wrap;
}
.pricing-extra strong { color: var(--text-0); }
.pricing-extra .micro { color: var(--text-3); font-size: 13px; }
.tariff {
  position: relative;
  padding: clamp(24px, 2.5vw, 40px);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  gap: clamp(4px, 0.4vw, 8px);
  transition: transform var(--dur-base), border-color var(--dur-base), box-shadow var(--dur-base);
}
.tariff:hover {
  transform: translateY(-4px);
  border-color: var(--border-bright);
  box-shadow: var(--shadow-lg);
  background: var(--bg-card-hover);
}
.tariff.pro {
  border: 1px solid var(--accent-violet-dim);
  background: linear-gradient(180deg, rgba(178, 75, 243, 0.08), rgba(255, 255, 255, 0.03));
  box-shadow: var(--shadow-md), 0 0 40px rgba(178, 75, 243, 0.15);
  order: -1;
}

@media (min-width: 600px) {
  .tariff.pro { order: 0; }
}

/* На ПК — pro чуть крупнее визуально */
@media (min-width: 1024px) {
  .tariff.pro {
    transform: scale(1.03);
    box-shadow: var(--shadow-lg), 0 0 60px rgba(178, 75, 243, 0.25);
  }
  .tariff.pro:hover {
    transform: scale(1.03) translateY(-4px);
  }
}
.tariff-badge {
  position: absolute;
  top: -12px; right: 24px;
  padding: 6px 14px;
  background: var(--grad-brand);
  color: #fff;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  box-shadow: var(--glow-tg);
}
.tariff-name {
  font-family: 'Manrope', sans-serif;
  font-size: 14px; font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-3);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.tariff-price {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 800;
  color: var(--text-0);
  line-height: 1;
  margin-bottom: 6px;
}
.tariff-price .rub { font-size: clamp(20px, 2vw, 30px); color: var(--text-1); }
.tariff-old {
  display: block;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-3);
  text-decoration: line-through;
  margin-bottom: 6px;
  opacity: 0.7;
}
.tariff-once {
  display: inline-block;
  font-size: 12px;
  color: var(--accent-mint);
  margin-bottom: 4px;
  font-weight: 600;
}
.tariff-note {
  display: block;
  font-size: 12px;
  color: var(--text-3);
  margin-bottom: var(--space-md);
  font-style: italic;
}
.tariff-features {
  flex: 1;
  margin-bottom: var(--sp-md);
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 0.8vw, 12px);
}
.tariff-features li {
  display: flex; gap: clamp(8px, 0.8vw, 12px);
  align-items: flex-start;
  color: var(--text-1);
  font-size: clamp(13px, 1vw, 15px);
  line-height: 1.45;
}
.tariff-features li::before {
  content: '✓';
  color: var(--accent-mint);
  font-weight: 800; flex-shrink: 0;
}
.tariff .btn { width: 100%; justify-content: center; }
/* На планшетах-портретах третья карточка по центру, если она одна в ряду */
@media (min-width: 600px) and (max-width: 1023.98px) {
  .pricing-grid .tariff:nth-child(3):last-child {
    grid-column: 1 / -1;
    max-width: calc(50% - var(--sp-md) / 2);
    justify-self: center;
  }
}

/* Fluid typography */
.tariff-features li { font-size: clamp(13px, 1vw, 15px); }
