/* =========================================================
   pricing.css – CSS cho phần NỘI DUNG trang Pricing
   (không gồm navigation / footer)

   Mọi class có tiền tố .pr- và mọi biến màu/font nằm trong .pr
   nên không ảnh hưởng tới các trang khác của website.
   Tab (Pre-wedding / Wedding ceremony / Intimate celebration)
   chạy bằng CSS thuần, không cần JavaScript.
   ========================================================= */

/* =========================================================
   1. TOKENS + RESET NHẸ
   ========================================================= */
.pr {
  --green:    #244336;
  --ink:      #141414;
  --muted:    #766d66;
  --line:     rgba(20, 20, 20, 0.12);
  --bg-page:  #f7f4f0;   /* nền khu vực gói giá + FAQ */
  --bg-light: #faf7f4;   /* nền hero + khối CTA */
  --bg-bar:   #f6f3ee;   /* nền thanh tab */

  --font-ui:      "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Bodoni Moda", "Playfair Display", "Didot", "Times New Roman", serif; /* Playfair bù glyph tiếng Việt */

  position: relative;
  font-family: var(--font-ui);
  color: var(--ink);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
}

/* specificity 0 để không đè các style bên dưới */
:where(.pr) *,
:where(.pr) *::before,
:where(.pr) *::after { box-sizing: border-box; }

:where(.pr) :is(h1, h2, h3, p, figure, ul) { margin: 0; }
:where(.pr) ul { padding: 0; list-style: none; }
:where(.pr) a { color: inherit; text-decoration: none; }
:where(.pr) a:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

.pr-wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: clamp(20px, 3vw, 40px);
}

/* =========================================================
   2. HERO (tiêu đề đổi theo tab đang chọn)
   ========================================================= */
.pr-hero {
  padding: 56px 0 64px;
  text-align: center;
  background: var(--bg-light);
}
@media (min-width: 1024px) {
  .pr-hero { padding: 80px 0 96px; }
}

.pr-eyebrow {
  margin-bottom: 14px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
}

.pr-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(46px, 8vw, 84px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-wrap: balance;
  color: var(--ink);
}
.pr-hero__sub {
  margin-top: 10px;
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 300;
  color: var(--muted);
}

/* Mỗi tab có 1 biến thể hero, mặc định ẩn */
.pr-variant { display: none; }
#pr-t-pre:checked      ~ .pr-hero .pr-variant--pre,
#pr-t-wedding:checked  ~ .pr-hero .pr-variant--wedding,
#pr-t-intimate:checked ~ .pr-hero .pr-variant--intimate { display: block; }

/* =========================================================
   3. THANH TAB (radio ẩn + label dạng nút)
   ========================================================= */
/* Radio ẩn khỏi mắt nhưng vẫn focus được bằng bàn phím */
.pr-radio {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.pr-tabbar {
  padding: 24px 0;
  background: var(--bg-bar);
  border-bottom: 1px solid var(--line);
}
@media (min-width: 1024px) {
  .pr-tabbar { padding: 32px 0; }
}

.pr-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.pr-chip {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid #e4dfd8;
  border-radius: 8px;
  background: var(--bg-light);
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6d645c;
  cursor: pointer;
  user-select: none;
  transition: background-color .2s, color .2s, border-color .2s;
}
.pr-chip:hover { border-color: var(--green); color: var(--green); }

/* Tab đang chọn */
#pr-t-pre:checked      ~ .pr-tabbar label[for="pr-t-pre"],
#pr-t-wedding:checked  ~ .pr-tabbar label[for="pr-t-wedding"],
#pr-t-intimate:checked ~ .pr-tabbar label[for="pr-t-intimate"] {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

/* Viền focus khi dùng bàn phím (phím mũi tên đổi giữa các tab) */
#pr-t-pre:focus-visible      ~ .pr-tabbar label[for="pr-t-pre"],
#pr-t-wedding:focus-visible  ~ .pr-tabbar label[for="pr-t-wedding"],
#pr-t-intimate:focus-visible ~ .pr-tabbar label[for="pr-t-intimate"] {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

/* Chỉ hiện bảng giá của tab đang chọn */
.pr-panel { display: none; }
#pr-t-pre:checked      ~ .pr-body .pr-panel--pre,
#pr-t-wedding:checked  ~ .pr-body .pr-panel--wedding,
#pr-t-intimate:checked ~ .pr-body .pr-panel--intimate { display: block; }

/* =========================================================
   4. KHỐI GÓI GIÁ + TIÊU ĐỀ MỖI KHỐI
   ========================================================= */
.pr-block { padding: 40px 0 24px; }
@media (min-width: 1024px) {
  .pr-block { padding: 48px 0 32px; }
}

.pr-head {
  margin-bottom: 32px;
  text-align: center;
}
.pr-h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.2;                /* đủ chỗ cho dấu tiếng Việt viết hoa */
  letter-spacing: -0.02em;
  text-transform: uppercase;
  text-wrap: balance;
  color: var(--ink);
}
.pr-h2 em {
  display: block;
  font-style: italic;
  text-transform: none;
}
.pr-head__sub {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 300;
  color: var(--muted);
}

/* Lưới thẻ: 1 cột trên mobile, 2 cột từ 700px */
.pr-grid {
  display: grid;
  gap: 18px;
  max-width: 768px;
  margin: 0 auto;
}
@media (min-width: 700px) {
  .pr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Khối chỉ có 1 thẻ (Travel Vietnam) */
@media (min-width: 700px) {
  .pr-grid--single {
    grid-template-columns: minmax(0, 1fr);
    max-width: 375px;
  }
}

/* =========================================================
   5. THẺ GÓI GIÁ
   ========================================================= */
.pr-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 19px;
  border: 1px solid var(--line);
}

/* Gói nổi bật: viền xanh nhạt + nhãn POPULAR cắt ngang viền trên */
.pr-card--popular { border-color: #a9b8ae; }
.pr-card__badge {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0 8px;
  background: var(--bg-page);
  font-size: 10px;
  font-weight: 500;
  line-height: 16px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #5a534d;
}

/* Ảnh thật: <figure class="pr-media"><img src="..." alt="..."></figure> */
.pr-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--ph, #e9e9e8);
}
.pr-media img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Màu giữ chỗ – xoá khi đã có ảnh thật */
.pr-ph-a { --ph: linear-gradient(180deg, #050607, #2b2b2a 70%, #6d6a63); }
.pr-ph-b { --ph: linear-gradient(160deg, #5b6f4b, #8a8f86 55%, #2c2c2c); }
.pr-ph-c { --ph: #e9e9e8; }

.pr-card__name {
  margin-top: 24px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.3;                /* đủ chỗ cho dấu tiếng Việt viết hoa */
  letter-spacing: -0.01em;
  text-align: center;
  text-transform: uppercase;
  color: var(--ink);
}
.pr-card__price {
  margin-top: 4px;
  font-size: 22px;
  font-weight: 300;
  line-height: 1.3;
  text-align: center;
  color: #5a534d;
}
.pr-card__time {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  color: #7a6f66;
}

.pr-features {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}
.pr-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.5;
  color: #3d3833;
}
/* Icon dấu tick trong vòng tròn (SVG nhúng, màu xanh thương hiệu) */
.pr-features li::before {
  content: "";
  flex: none;
  width: 17px;
  height: 17px;
  margin-top: 1px;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23244336' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21.801 10A10 10 0 1 1 17 3.335'/%3E%3Cpath d='m9 11 3 3L22 4'/%3E%3C/svg%3E");
}

/* Nút dạng khối trong thẻ (Xem lịch trình chuyến đi) */
.pr-card__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
  padding: 12px 16px;
  border: 1px solid #e4dfd8;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: border-color .2s, color .2s;
}
.pr-card__cta:hover { border-color: var(--green); color: var(--green); }

.pr-arrow {
  width: 14px;
  height: 14px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* =========================================================
   6. ADDITIONAL SERVICES
   ========================================================= */
.pr-addons {
  padding: 40px 0 72px;
}
@media (min-width: 1024px) {
  .pr-addons { padding: 56px 0 96px; }
}

/* Danh sách dịch vụ bổ sung (dùng khi có dữ liệu) */
.pr-addons__list {
  display: grid;
  gap: 0 32px;
  max-width: 768px;
  margin: 0 auto;
}
@media (min-width: 700px) {
  .pr-addons__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.pr-addon {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  font-weight: 300;
}
.pr-addon__price { font-weight: 500; white-space: nowrap; }

/* =========================================================
   7. CTA "NEED SOMETHING DIFFERENT?"
   ========================================================= */
.pr-cta {
  padding: 48px 0;
  background: var(--bg-light);
}
@media (min-width: 1024px) {
  .pr-cta { padding: 56px 0; }
}
.pr-cta__card {
  max-width: 576px;
  margin: 0 auto;
  padding: 40px 24px 44px;
  border-radius: 12px;
  background: var(--bg-page);
  text-align: center;
}
.pr-cta__text {
  max-width: 32em;
  margin: 16px auto 0;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.65;
  color: var(--muted);
  text-wrap: pretty;
}

.pr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 36px;
  margin-top: 28px;
  padding: 0 24px;
  border-radius: 8px;
  background: var(--green);
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  transition: background-color .2s;
}
.pr-btn:hover { background: #1b3329; }

/* =========================================================
   8. PRICING FAQ
   ========================================================= */
.pr-faq { padding: 64px 0 88px; }
@media (min-width: 1024px) {
  .pr-faq { padding: 80px 0 112px; }
}

.pr-faq__list {
  max-width: 600px;
  margin: 0 auto;
}
.pr-faq__item {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.pr-faq__q {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--ink);
}
.pr-faq__a {
  margin-top: 10px;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--muted);
  text-wrap: pretty;
}

/* =========================================================
   9. GIẢM CHUYỂN ĐỘNG
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  .pr-chip,
  .pr-card__cta,
  .pr-btn { transition: none; }
}