/* Новый вид блока тарифов для посадочных. Копия правил из home-pricing.css. */
/* ——— Блок тарифов: усиление выгоды (07.10.2026) ——— */
.pricing .pricing__header {
  max-width: 720px;
}

.pricing .pricing__header h2 {
  text-wrap: balance;
}

.hp-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.hp-trust li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px 6px 9px;
  border: 1px solid var(--ok-line);
  border-radius: 999px;
  background: var(--ok-soft);
  color: var(--ok-deep);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* Карточки */
.pricing .price {
  border-color: var(--line);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.pricing .price__per {
  display: inline-block;
  align-self: flex-start;
  margin: 0 0 16px;
  padding: 5px 11px;
  border-radius: 10px;
  background: var(--blue-soft);
  color: var(--ink-2);
  font-size: 13.5px;
}

.pricing .price__per b {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--blue);
}

.pricing .price__save {
  margin: -6px 0 16px;
  padding: 5px 10px;
  border-radius: 10px;
  line-height: 1.3;
}

.price__was {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: -6px 0 2px;
}

.price__was s {
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  text-decoration-color: #ef4444;
  text-decoration-thickness: 2px;
}

.price__was span {
  padding: 2px 8px;
  border-radius: 999px;
  background: #fff1f2;
  color: #be123c;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
}

/* «Работа» — главный акцент: синяя карточка */
.pricing .price--featured {
  border-color: var(--blue-deep);
  background:
    radial-gradient(ellipse 90% 50% at 90% 0%, rgba(255, 255, 255, 0.18), transparent 60%),
    linear-gradient(165deg, #3b82f6 0%, var(--blue) 40%, var(--blue-deep) 100%);
  color: #dbeafe;
  box-shadow: var(--shadow-blue), 0 30px 60px -30px rgba(30, 64, 175, 0.55);
}

@media (min-width: 900px) {
  .pricing .price--featured {
    transform: translateY(-10px);
  }

  .pricing .price--featured:hover {
    transform: translateY(-14px);
  }
}

.pricing .price--featured h3,
.pricing .price--featured .price__value,
.pricing .price--featured .price__currency {
  color: #fff;
}

.pricing .price--featured .price__desc,
.pricing .price--featured .price__period {
  color: #bfdbfe;
}

.pricing .price--featured .price__features li {
  color: #eff6ff;
}

.pricing .price--featured .price__features svg {
  color: #fcd34d;
}

.pricing .price--featured .price__badge {
  background: #fbbf24;
  color: #451a03;
  box-shadow: 0 4px 12px rgba(251, 191, 36, 0.4);
}

.pricing .price--featured .price__per {
  background: rgba(255, 255, 255, 0.14);
  color: #eff6ff;
}

.pricing .price--featured .price__per b {
  color: #fff;
}

.pricing .price--featured .price__sizes {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(15, 23, 42, 0.22);
}

.pricing .price--featured .price__size {
  color: #dbeafe;
}

.pricing .price--featured .price__size:hover {
  color: #fff;
}

.pricing .price--featured .price__size.is-on {
  background: #fff;
  color: var(--blue-deep);
}

.pricing .price--featured .vkr-fit-chip {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.pricing .price--featured .btn {
  position: relative;
  overflow: hidden;
  background: #fff;
  color: var(--blue-deep);
  border-color: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.25);
  font-weight: 800;
}

.pricing .price--featured .btn::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -60%;
  width: 40%;
  background: linear-gradient(100deg, transparent, rgba(37, 99, 235, 0.18), transparent);
  transform: skewX(-20deg);
  animation: hp-shine 3.8s ease-in-out infinite;
}

@keyframes hp-shine {
  0%,
  55% {
    left: -60%;
  }
  100% {
    left: 130%;
  }
}

.pricing .price--featured .btn:hover {
  background: #eff6ff;
}

/* «Сессия» — янтарный акцент: лучшая цена */
.pricing .price[data-plan="session"] {
  border-color: #fcd34d;
  background: linear-gradient(180deg, #fffbeb, #fff 46%);
}

.pricing .price[data-plan="session"] .price__badge {
  background: #f59e0b;
  color: #451a03;
}

.pricing .price[data-plan="session"] .price__per {
  background: #fef3c7;
}

.pricing .price[data-plan="session"] .price__per b {
  color: #b45309;
}

.pricing .price[data-plan="session"] .btn {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.pricing .price[data-plan="session"] .btn:hover {
  background: #1e293b;
}

/* Шкала «цена за страницу» */
.hp-ladder {
  max-width: 820px;
  margin: 36px auto 0;
  padding: 22px 24px 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow);
}

.hp-ladder__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 12px;
  margin-bottom: 14px;
}

.hp-ladder__head strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ink);
}

.hp-ladder__head span {
  font-size: 13.5px;
  color: var(--muted);
}

.hp-ladder__list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hp-ladder__list li {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr) 52px;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--ink-2);
}

.hp-ladder__bar {
  display: block;
  height: 12px;
  border-radius: 999px;
  background: var(--line-soft);
  position: relative;
  overflow: hidden;
}

.hp-ladder__bar::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: var(--w);
  border-radius: inherit;
  background: linear-gradient(90deg, #93c5fd, var(--blue));
}

.hp-ladder__list li.is-best .hp-ladder__bar::after {
  background: linear-gradient(90deg, #fcd34d, #f59e0b);
}

.hp-ladder__list b {
  font-family: var(--font-display);
  font-weight: 800;
  text-align: right;
  color: var(--ink);
}

.hp-ladder__list li.is-best b,
.hp-ladder__list li.is-best .hp-ladder__name {
  color: #b45309;
  font-weight: 800;
}

.hp-ladder__note {
  margin: 14px 0 0;
  font-size: 12.5px;
  color: var(--muted);
}

/* Финальный призыв */
.hp-final {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  max-width: 820px;
  margin: 20px auto 0;
  padding: 20px 24px;
  border-radius: 22px;
  color: #fff;
  background:
    radial-gradient(ellipse 70% 120% at 100% 0%, rgba(251, 191, 36, 0.22), transparent 60%),
    linear-gradient(160deg, #0f172a, #1e3a8a);
}

.hp-final strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.015em;
}

.hp-final span {
  display: block;
  margin-top: 3px;
  font-size: 14.5px;
  color: #bfdbfe;
}

.hp-final .btn {
  flex: 0 0 auto;
}

@media (max-width: 720px) {
  .hp-trust {
    gap: 6px;
  }

  .hp-trust li {
    padding: 5px 10px 5px 8px;
    font-size: 12px;
  }

  .hp-ladder {
    margin-top: 22px;
    padding: 16px 16px 14px;
    border-radius: 18px;
  }

  .hp-ladder__list li {
    grid-template-columns: 112px minmax(0, 1fr) 44px;
    gap: 8px;
    font-size: 12.5px;
  }

  .hp-final {
    padding: 18px 16px;
    border-radius: 18px;
  }

  .hp-final .btn {
    width: 100%;
  }

  .pricing .price__per {
    margin-bottom: 10px;
    font-size: 12.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pricing .price--featured .btn::after {
    animation: none;
    display: none;
  }
}

/* ——— Зачёркнутые цены и кнопки покупки (07.10.2026) ——— */
.pricing .price__was {
  margin: -4px 0 4px;
  gap: 10px;
}

.pricing .price__was s {
  font-size: 1.35rem;
  font-weight: 800;
  color: #94a3b8;
  text-decoration-line: line-through;
  text-decoration-color: #ef4444;
  text-decoration-thickness: 3px;
}

.pricing .price__was span {
  padding: 4px 10px;
  border-radius: 8px;
  background: #ef4444;
  color: #fff;
  font-size: 13px;
  box-shadow: 0 4px 10px rgba(239, 68, 68, 0.35);
  transform: rotate(-3deg);
}

.pricing .price[data-plan="month"] .price__value,
.pricing .price[data-plan="session"] .price__value {
  font-size: 3rem;
}

.pricing .price[data-plan="session"] .price__value {
  color: #b45309;
}

/* Кнопки «Оплатить» */
.pricing .price .btn[data-checkout-plan] {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 54px;
  border: 0;
  border-radius: 14px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), filter 0.2s var(--ease);
}

.pricing .price .btn[data-checkout-plan]::before {
  content: "";
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4h2.5l2.2 11h10.6l2-8H6.4'/%3E%3Ccircle cx='9.5' cy='19.5' r='1.3'/%3E%3Ccircle cx='17' cy='19.5' r='1.3'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4h2.5l2.2 11h10.6l2-8H6.4'/%3E%3Ccircle cx='9.5' cy='19.5' r='1.3'/%3E%3Ccircle cx='17' cy='19.5' r='1.3'/%3E%3C/svg%3E") center / contain no-repeat;
}

.pricing .price .btn[data-checkout-plan]:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.pricing .price .btn[data-checkout-plan]:active {
  transform: translateY(0);
}

/* Месяц: синяя */
.pricing .price[data-plan="month"] .btn[data-checkout-plan] {
  background: linear-gradient(180deg, #3b82f6, var(--blue-deep));
  color: #fff;
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Сессия: янтарная — «лучшая цена» */
.pricing .price[data-plan="session"] .btn[data-checkout-plan] {
  background: linear-gradient(180deg, #fcd34d, #f59e0b);
  color: #451a03;
  box-shadow: 0 12px 24px rgba(245, 158, 11, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.pricing .price[data-plan="session"] .btn[data-checkout-plan]:hover {
  background: linear-gradient(180deg, #fde68a, #f59e0b);
}

/* Работа: белая на синем, крупнее */
.pricing .price--featured .btn[data-checkout-plan] {
  min-height: 58px;
  font-size: 17px;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.35);
}

.pricing .price--featured .btn[data-checkout-plan]:hover {
  background: #fff;
}

@media (max-width: 720px) {
  .pricing .price .btn[data-checkout-plan] {
    min-height: 50px;
    font-size: 15px;
  }
}

/* Выравнивание с главной: заголовок, фон секции, радиусы */
.seo-block.pricing {
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(37, 99, 235, 0.07), transparent 70%),
    var(--bg-wash);
}

.seo-block.pricing .pricing__header {
  max-width: 720px;
  margin-bottom: 40px;
}

.seo-block.pricing .pricing__header h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.3rem);
  line-height: 1.15;
  text-wrap: balance;
}

.seo-block.pricing .price {
  border-radius: 24px;
}

@media (max-width: 720px) {
  .seo-block.pricing .pricing__header {
    margin-bottom: 16px;
  }

  .seo-block.pricing .pricing__header h2 {
    font-size: clamp(1.35rem, 5vw, 1.5rem);
  }
}

/* Рамка «Работы» — как на главной: светло-голубая с кольцом */
.pricing .price--featured,
.pricing .price--featured.is-fit {
  border-color: #93c5fd;
  box-shadow:
    0 0 0 3px rgba(37, 99, 235, 0.12),
    0 28px 64px rgba(15, 23, 42, 0.1);
}

/* Пункты тарифа не растягиваются по высоте карточки */
.pricing .price__features {
  align-content: start;
}
