/* ============================================================
   ТАРИФЫ — карточки по мотивам AI ЭПОХА (12.11)
   Светлая / бордовая (фирменный красный) / почти чёрная.
   Сверху номер «01 / 03» и статус, крупное название, описание,
   состав строками с тонкими линиями; внизу (прижат к низу) цена, примечание и широкая кнопка.
   Цвета — по правилам KAVA: на тёмном/бордовом только белый и жёлтый, на светлом — тёмно-серый и красный.
   ============================================================ */
.ptrs{
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px);
  align-items: stretch; margin-top: clamp(28px, 3.4vw, 48px);
}
@media (max-width: 899px){ .ptrs{ grid-template-columns: 1fr; } }

.ptr{
  --fg: var(--ink); --muted: rgba(41,41,41,.62); --line: rgba(41,41,41,.16); --btn-bg: var(--ink); --btn-fg: #fff;
  display: flex; flex-direction: column; min-width: 0;
  padding: clamp(22px, 2.4vw, 36px); border-radius: clamp(20px, 2vw, 28px);
  color: var(--fg); -webkit-text-fill-color: var(--fg);
}
.ptr--light { background: #F3F1EE; }
.ptr--accent{ background: var(--bordo, #811A19); --fg: #fff; --muted: rgba(255,255,255,.72); --line: rgba(255,255,255,.24); --btn-bg: #fff; --btn-fg: var(--bordo, #811A19); }
.ptr--dark  { background: #161514;  --fg: #fff; --muted: rgba(255,255,255,.62); --line: rgba(255,255,255,.18); --btn-bg: #fff; --btn-fg: var(--ink); }

.ptr__top{
  display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 26px;
  font-family: var(--t-font); font-weight: 500; font-size: 13px; letter-spacing: .04em; text-transform: uppercase;
}
.ptr__no{ color: var(--muted); -webkit-text-fill-color: var(--muted); font-variant-numeric: tabular-nums; }
.ptr__badge{
  padding: 5px 11px; border-radius: 999px; border: 1px solid currentColor;
  font-size: 11px; font-weight: 600; letter-spacing: .06em; white-space: nowrap;
}
.ptr--accent .ptr__badge{ color: #FFF278; -webkit-text-fill-color: #FFF278; }

.ptr__name{
  margin: clamp(18px, 2vw, 28px) 0 0; font-family: var(--h-font); font-weight: 500; text-transform: uppercase;
  font-size: clamp(36px, 3.6vw, 56px); line-height: .92; letter-spacing: -.005em; padding-top: .06em;
  color: var(--fg); -webkit-text-fill-color: var(--fg);
}
.ptr__fit{
  margin: 10px 0 0; font-family: var(--t-font); font-size: clamp(14px, 1.1vw, 16px); line-height: 1.4;
  color: var(--muted); -webkit-text-fill-color: var(--muted);
}
.ptr__list{ list-style: none; margin: clamp(20px, 2.2vw, 30px) 0 0; padding: 0; border-top: 1px solid var(--line); }
.ptr__list li{
  margin: 0; padding: 12px 0; border-bottom: 1px solid var(--line);
  font-family: var(--t-font); font-size: clamp(14px, 1.05vw, 16px); line-height: 1.35;
  color: var(--fg); -webkit-text-fill-color: var(--fg);
}
.ptr__list li:last-child{ border-bottom: 0; }

/* низ карточки — прижат к низу: кнопки в ряду на одной линии */
.ptr__foot{ margin-top: auto; padding-top: clamp(20px, 2.2vw, 28px); }
.ptr__list + .ptr__foot{ border-top: 1px solid var(--line); margin-top: auto; }
.ptr__price{ margin: 0; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.ptr__now{
  font-family: var(--h-font); font-weight: 500; font-size: clamp(44px, 4.4vw, 68px); line-height: .9; letter-spacing: -.01em;
  color: var(--fg); -webkit-text-fill-color: var(--fg);
}
.ptr__old{
  font-family: var(--t-font); font-size: clamp(16px, 1.4vw, 20px); text-decoration-thickness: 1.5px;
  color: var(--muted); -webkit-text-fill-color: var(--muted);
}
.ptr__note{
  margin: 10px 0 0; font-family: var(--t-font); font-size: 13px; line-height: 1.4;
  color: var(--muted); -webkit-text-fill-color: var(--muted);
}
.ptr__btn{
  display: flex; align-items: center; justify-content: center; width: 100%; box-sizing: border-box;
  margin-top: clamp(16px, 1.8vw, 22px); padding: 17px 20px; border-radius: 999px; text-decoration: none;
  background: var(--btn-bg); font-family: var(--t-font); font-weight: 700; font-size: 14px; letter-spacing: .05em; text-transform: uppercase;
  color: var(--btn-fg) !important; -webkit-text-fill-color: var(--btn-fg) !important;
  transition: transform .25s ease, opacity .25s;
}
.ptr__btn:hover{ transform: translateY(-2px); opacity: .92; }
.ptr__btn:focus-visible{ outline: 2px solid currentColor; outline-offset: 3px; }

/* примечание под ценой — в две строки */
.ptr__note{ line-height: 1.5; }
/* таблица сравнения: шапка непрозрачная (строки не просвечивают при прокрутке), старая цена — мелко и зачёркнуто */
.compare-table th{ background: #F4F4F3 !important; z-index: 3; }
.compare-table th.compare-table__feat{ background: #fff !important; }
.compare-table__price-row td s{ font-weight: 500; font-size: .72em; opacity: .55; margin-left: 4px; white-space: nowrap; }
.compare-table__price-row td{ white-space: nowrap; }
