/* Bảng giá: cùng tông đỏ đậm với CV (index.php). Một cột, thẻ gói xếp lưới tự xuống dòng. */
:root {
  --pr-deep: #550000; --pr-accent: #800000; --pr-hot: #ff3535;
  --pr-ink: #1d1a1a; --pr-muted: #6b6262; --pr-line: #e6dcdc; --pr-paper: #ffffff; --pr-bg: #f6f2f2; --pr-soft: #f6e9e9;
  --pr-font: 'Be Vietnam Pro', 'Segoe UI', system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--pr-bg); color: var(--pr-ink); font-family: var(--pr-font); line-height: 1.55; }
a { color: inherit; }
.pr-wrap { max-width: 1120px; margin: 0 auto; padding-inline: 20px; }

/* thanh trên */
.pr-top { background: var(--pr-deep); color: #fff; }
.pr-top .pr-wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 12px; }
.pr-brand { font-weight: 800; letter-spacing: .02em; text-decoration: none; display: flex; align-items: center; gap: 8px; }
.pr-top-actions { display: flex; gap: 8px; align-items: center; }
.pr-lang { display: inline-flex; border: 1px solid rgba(255,255,255,.4); border-radius: 999px; overflow: hidden; }
.pr-lang button { background: none; border: 0; color: #fff; font: inherit; font-size: .82rem; font-weight: 700; padding: 5px 12px; cursor: pointer; }
.pr-lang button[aria-pressed="true"] { background: #fff; color: var(--pr-deep); }
.pr-back { font-size: .88rem; text-decoration: none; opacity: .9; }
.pr-back:hover { opacity: 1; text-decoration: underline; }

/* mở đầu */
.pr-hero { background: linear-gradient(160deg, var(--pr-deep), var(--pr-accent) 70%); color: #fff; padding-block: 48px 64px; }
.pr-eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: #ffc9c9; margin: 0 0 10px; }
.pr-hero h1 { font-size: clamp(1.9rem, 4.6vw, 3rem); line-height: 1.15; margin: 0 0 14px; max-width: 22ch; text-wrap: balance; font-weight: 800; }
.pr-hero p.pr-lead { font-size: 1.08rem; max-width: 62ch; margin: 0 0 22px; color: #fbeaea; }
.pr-cta { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--pr-deep); font-weight: 700; padding: 11px 20px; border-radius: 999px; text-decoration: none; }
.pr-cta:hover { box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.pr-cta.ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.6); }
.pr-cta-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* tab */
.pr-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-top: -24px; position: relative; }
.pr-tab { background: var(--pr-paper); border: 1px solid var(--pr-line); border-radius: 999px; padding: 10px 18px; font: inherit; font-weight: 700; color: var(--pr-muted); cursor: pointer; box-shadow: 0 4px 12px rgba(85,0,0,.08); }
.pr-tab[aria-selected="true"] { background: var(--pr-accent); border-color: var(--pr-accent); color: #fff; }
.pr-tab:focus-visible, .pr-lang button:focus-visible, .pr-cta:focus-visible { outline: 3px solid var(--pr-hot); outline-offset: 2px; }
.pr-intro { color: var(--pr-muted); max-width: 70ch; margin: 22px 0 18px; }

/* thẻ gói */
.pr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; align-items: stretch; }
.pr-card { background: var(--pr-paper); border: 1px solid var(--pr-line); border-radius: 14px; padding: 20px; display: flex; flex-direction: column; gap: 10px; position: relative; min-width: 0; }
.pr-card.featured { border: 2px solid var(--pr-accent); box-shadow: 0 10px 28px rgba(128,0,0,.14); }
.pr-card.premium { background: linear-gradient(170deg, #2b0a0a, var(--pr-deep)); color: #fff; border-color: transparent; }
.pr-badge { position: absolute; top: -11px; left: 18px; background: var(--pr-accent); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; }
.pr-card h3 { margin: 4px 0 0; font-size: 1.08rem; line-height: 1.3; }
.pr-price { font-size: 1.5rem; font-weight: 800; color: var(--pr-accent); margin: 0; font-variant-numeric: tabular-nums; }
.pr-card.premium .pr-price { color: #ffd0d0; }
.pr-note { font-size: .82rem; color: var(--pr-muted); margin: -6px 0 0; }
.pr-card.premium .pr-note, .pr-card.premium .pr-meta { color: #f0c9c9; }
.pr-meta { font-size: .85rem; color: var(--pr-muted); display: flex; flex-direction: column; gap: 2px; }
.pr-meta i { width: 16px; color: var(--pr-accent); }
.pr-card.premium .pr-meta i { color: #ffb3b3; }
.pr-list { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-direction: column; gap: 7px; font-size: .92rem; }
.pr-list li { padding-left: 22px; position: relative; }
.pr-list li::before { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; left: 0; top: 1px; font-size: .8rem; color: #2e8b57; }
.pr-card.premium .pr-list li::before { color: #ffb3b3; }
.pr-card .pr-ask { margin-top: auto; padding-top: 10px; }
.pr-ask a { display: block; text-align: center; text-decoration: none; font-weight: 700; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--pr-accent); color: var(--pr-accent); }
.pr-ask a:hover { background: var(--pr-accent); color: #fff; }
.pr-card.premium .pr-ask a { background: #fff; color: var(--pr-deep); border-color: #fff; }

/* bảng nền tảng */
.pr-table-wrap { overflow-x: auto; background: var(--pr-paper); border: 1px solid var(--pr-line); border-radius: 14px; }
.pr-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.pr-table th, .pr-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--pr-line); vertical-align: top; }
.pr-table th { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--pr-muted); background: var(--pr-soft); }
.pr-table tr:last-child td { border-bottom: 0; }
.pr-table td.pr-tp { font-weight: 700; white-space: nowrap; color: var(--pr-accent); font-variant-numeric: tabular-nums; }
.pr-table td.pr-tn { font-weight: 700; }

/* quy trình + lưu ý + liên hệ */
.pr-section { margin-top: 44px; }
.pr-section h2 { font-size: 1.4rem; margin: 0 0 14px; color: var(--pr-deep); }
.pr-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; counter-reset: step; }
.pr-steps li { counter-increment: step; background: var(--pr-paper); border: 1px solid var(--pr-line); border-radius: 12px; padding: 14px; font-weight: 500; }
.pr-steps li::before { content: counter(step); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--pr-accent); color: #fff; font-weight: 800; margin-bottom: 8px; font-size: .9rem; }
.pr-terms { margin: 0; padding-left: 20px; color: var(--pr-muted); display: flex; flex-direction: column; gap: 6px; max-width: 80ch; }
.pr-contact { margin-top: 44px; background: var(--pr-deep); color: #fff; border-radius: 16px; padding: 28px; display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; }
.pr-contact h2 { color: #fff; margin: 0 0 6px; font-size: 1.35rem; }
.pr-contact p { margin: 0; color: #f0c9c9; }
.pr-contact-lines { display: flex; flex-direction: column; gap: 6px; font-weight: 600; }
.pr-contact-lines span { user-select: all; }
.pr-copy { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.35); color: #fff; border-radius: 8px; font: inherit; font-size: .78rem; padding: 2px 8px; margin-left: 8px; cursor: pointer; }
footer.pr-foot { color: var(--pr-muted); font-size: .85rem; padding-block: 28px 40px; }
@media (max-width: 520px) { .pr-hero { padding-block: 34px 52px; } .pr-contact { padding: 22px; } }
@media (prefers-reduced-motion: no-preference) { .pr-card { transition: transform .15s, box-shadow .15s; } .pr-card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.08); } }

/* Gói cao cấp / liên hệ: trải ngang hết hàng, danh sách chia 2 cột để không đứng lẻ */
.pr-card.premium { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); column-gap: 28px; align-items: start; }
.pr-card.premium > * { grid-column: 1; }
.pr-card.premium .pr-list { grid-column: 2; grid-row: 1 / span 6; columns: 2; column-gap: 24px; display: block; margin: 0; }
.pr-card.premium .pr-list li { break-inside: avoid; margin-bottom: 8px; }
.pr-card.premium .pr-ask { grid-column: 1; }
@media (max-width: 760px) {
  .pr-card.premium { display: flex; }
  .pr-card.premium .pr-list { columns: 1; }
}

/* Kiểu FooTable cho bảng nền tảng */
.pr-toggle { display: none; width: 24px; height: 24px; margin-right: 10px; border-radius: 50%; border: 1px solid var(--pr-accent); background: #fff; color: var(--pr-accent); font-size: .7rem; cursor: pointer; vertical-align: middle; flex: none; }
.pr-toggle:focus-visible { outline: 3px solid var(--pr-hot); outline-offset: 2px; }
.pr-detail td { background: var(--pr-soft); color: var(--pr-ink); font-size: .92rem; padding-left: 50px; }
.pr-detail-label { font-weight: 700; color: var(--pr-accent); }
@media (min-width: 641px) { .pr-detail { display: none; } }
@media (max-width: 640px) {
  .pr-table { min-width: 0; }
  .pr-table .pr-scope { display: none; }
  .pr-toggle { display: inline-grid; place-items: center; }
  .pr-tn-in { display: flex; align-items: center; }
  .pr-table td.pr-tp { white-space: normal; text-align: right; }
  .pr-table th:last-child { text-align: right; }
  .pr-row { cursor: pointer; }
  .pr-row.open td { border-bottom-color: transparent; }
}
