/* === PRICE.CSS ===
   assets/css/price.css
   НАЗНАЧЕНИЕ: страница открытого прайса. Дополняет landing.css, переменные оттуда же.
   Фон единый на всех секциях, границы между ними задаются карточками, а не сменой цвета.
   РАЗМЕР: ~190 строк */

/* переключатель языка висит абсолютом в правом верхнем углу: опускаем шапку,
   иначе на телефоне он наезжает на длинный бейдж */
.pr .hero { padding-top: 54px; padding-bottom: 8px; }
.pr .foot { padding-bottom: 34px; }
.pr h2 { margin-bottom: 14px; }

/* ---------- КАРТОЧКА ПАКЕТА ---------- */

.pack {
  position: relative;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
}
.pack:last-child { margin-bottom: 0; }

.pack--best {
  border-color: rgba(255, 193, 7, .45);
  box-shadow: 0 0 0 1px rgba(255, 193, 7, .18), 0 18px 40px -28px rgba(255, 193, 7, .55);
}

.pack__flag {
  position: absolute;
  top: -10px;
  left: 18px;
  padding: 4px 11px;
  border-radius: 100px;
  background: var(--accent);
  color: var(--ink);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.pack__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 12px;
}

.pack__name {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.01em;
  margin: 0;
}

.pack__price {
  display: flex;
  align-items: baseline;
  gap: 5px;
  white-space: nowrap;
}
.pack__price strong {
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
  letter-spacing: -.02em;
}
.pack__price span {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}

.pack__for {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 8px;
}

.pack__days {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 100px;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}

.pack__lbl {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.pack__list { list-style: none; margin-bottom: 18px; }
.pack__list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
}
.pack__list li:last-child { border-bottom: none; }
.pack__list svg { color: var(--accent); flex-shrink: 0; margin-top: 2px; }

.pack__get {
  color: var(--muted);
  font-size: 14.5px;
  margin-bottom: 14px;
}

.pack__note {
  margin-top: auto;
  padding-left: 13px;
  border-left: 3px solid var(--accent);
  color: var(--muted);
  font-size: 13.5px;
}

/* ---------- ДОПОЛНЕНИЯ ---------- */

.adds { display: grid; gap: 10px; }

.add {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 15px 16px;
}

.add__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}
.add__top strong { font-size: 15.5px; }

.add__price {
  color: var(--accent);
  font-size: 14.5px;
  font-weight: 800;
  white-space: nowrap;
}

.add p { color: var(--muted); font-size: 14px; }

/* ---------- ФАКТЫ ПРО ШТРАФЫ ---------- */

.facts { list-style: none; }
.facts li {
  position: relative;
  padding: 0 0 14px 18px;
  color: var(--muted);
  font-size: 15px;
}
.facts li:last-child { padding-bottom: 0; }
.facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- МЫ ПРОШЛИ ПО СЕБЕ ---------- */

.own h2 { margin-bottom: 12px; }
.own p { color: var(--muted); font-size: 15px; }

/* ---------- КНОПКА ВНИЗУ ---------- */

.pr-btn {
  display: inline-flex;
  width: auto;
  padding-left: 28px;
  padding-right: 28px;
  text-decoration: none;
}

/* ---------- ПЛАНШЕТ И ДЕСКТОП ---------- */

@media (min-width: 720px) {
  .pr .hero { padding-top: 56px; }
}

@media (min-width: 900px) {
  .pr .wrap { max-width: 1040px; }

  .pr .hero .wrap,
  .pr .sec-cta .wrap,
  .pr .foot .wrap { max-width: 720px; }

  .packs-sec .wrap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    align-items: stretch;
  }
  .pack { margin-bottom: 0; }

  /* в узкой колонке длинное название и цена не держат общую линию:
     ставим их друг под другом, тогда все три карточки читаются одинаково */
  .pack__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .adds { grid-template-columns: repeat(2, 1fr); }
}
