/* =============================================================================
   DN Studio — Bảng giá
   Nạp sau marketing.css + home2.css (nav & footer dùng chung .h2-*).

   Khối .bg-plans được dựng lại so với bản thiết kế: thay vì ba thẻ dày mỗi
   thẻ lại chứa thêm một panel màu bên trong, ở đây chỉ còn MỘT mặt phẳng
   trắng chia ba cột; gói giữa là khối navy nhô lên trên/dưới 30px nên tự tách
   khỏi hai cột bên mà không cần thêm viền, nền hay hộp lồng nào.
   ========================================================================== */

.bg {
  font-family: var(--dn-font);
  --p-blue:      #1668ff;   /* nút, nhấn */
  --p-blue-dark: #0d54dd;
  --p-sky:       #6fb2ff;   /* chữ nghiêng trên nền tối */
  --p-sky-bg:    #e9f3ff;   /* nền banner sáng (dich-vu.png) */
  --p-royal:     #0d51cf;   /* H1 banner sáng */
  --p-blue-mid:  #1a76f0;
  --p-ink:       #0f2450;   /* tiêu đề */
  --p-body:      #6f7f99;   /* chữ thường */
  --p-soft:      #8d9db6;   /* chữ phụ */
  --p-line:      #e6ecf6;   /* hairline */
  --p-tint:      #f2f7ff;   /* nền dải cam kết */
  --p-navy:      #071b41;   /* cột gói giữa */
  --p-navy-deep: #041027;

  overflow-x: clip; background: #fff;
}

/* Reset ở mức thấp nhất có thể: dùng :where() để độ ưu tiên bằng 0, nhờ vậy
   mọi margin đặt bằng một class bên dưới đều thắng — không phải viết đè. */
.bg :where(h1, h2, h3) { margin: 0; letter-spacing: -.012em; }
.bg :where(p)  { margin: 0; }
.bg :where(ul) { margin: 0; padding: 0; list-style: none; }

/* các trang khác viết hoa h2; trang này dùng chữ thường như bản thiết kế */
.bg h2 { text-transform: none; }

.bg-svg { width: 1em; height: 1em; display: block; }

/* ================================================================= HERO === */
/* Banner sáng dich-vu/dich-vu.png (1740 × 904) — cùng bộ với hero Giới thiệu. */
.bg-hero {
  position: relative; isolation: isolate; min-height: 760px;
  display: flex; justify-content: center; background: var(--p-sky-bg);
}
.bg-hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background-repeat: no-repeat; background-position: 50% 34%; background-size: cover;
}
.bg-hero__veil {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(95deg, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, .9) 26%,
                    rgba(255, 255, 255, .64) 44%, rgba(255, 255, 255, .18) 60%,
                    rgba(255, 255, 255, 0) 76%),
    linear-gradient(0deg, var(--p-sky-bg) 2%, rgba(233, 243, 255, .92) 11%,
                    rgba(233, 243, 255, .48) 22%, rgba(233, 243, 255, 0) 36%);
}
.bg-hero__in {
  position: relative; z-index: 2; width: 100%;
  padding-top: 76px; padding-bottom: 104px;
}

.bg-hero__eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  color: var(--p-blue-mid); font-size: 13px; font-weight: 700; line-height: 1;
  letter-spacing: .17em; text-transform: uppercase;
}
.bg-hero__eyebrow .bg-svg { width: 17px; height: 17px; color: var(--p-blue); }

.bg-hero__title {
  margin-top: 20px; max-width: 860px;
  font-size: 44px; line-height: 1.28; font-weight: 800; color: var(--p-royal);
  text-shadow: none;
}
.bg-hero__title em { font-style: normal; font-weight: 800; color: var(--p-ink); }

.bg-hero__lead {
  margin-top: 22px; max-width: 620px;
  color: #4d5f7d; font-size: 17px; line-height: 1.75; font-weight: 500;
  text-shadow: none;
}

.bg-hero__points { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 34px; }
.bg-hero__points li { display: flex; align-items: center; gap: 13px; }
.bg-hero__ic {
  flex: 0 0 auto; width: 38px; height: 38px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(150deg, #2b7bff, #1358d8); color: #fff;
  box-shadow: 0 14px 26px -16px rgba(26, 111, 245, .95);
}
.bg-hero__ic .bg-svg { width: 18px; height: 18px; }
.bg-hero__tx b {
  display: block; color: var(--p-ink); font-size: 14px; font-weight: 600; line-height: 1.5;
  text-shadow: none;
}
.bg-hero__tx i { display: block; color: var(--p-body); font-size: 13px; font-style: normal; line-height: 1.5; }

/* dòng nhấn nghiêng trong khoảng trời phía trên cầu */
.bg-hero__script {
  position: absolute; left: 52%; top: 29px; z-index: 3;
  font-family: var(--dn-font);
  color: #2f6fd6; font-size: 20px; font-weight: 600; font-style: italic;
  line-height: 1.75; text-align: left; transform: rotate(-4deg); transform-origin: left center;
  text-shadow: none;
}
.bg-hero__script span { display: inline-block; margin-left: 14px; font-size: 20px; opacity: 1; }
.bg-hero__swoosh {
  display: block; width: 190px; height: 34px; margin: 10px 0 0;
  color: rgba(47, 111, 214, .75);
}


/* =========================================================== BẢNG GIÁ ====
   Dựng theo bản thiết kế 3 gói (khổ nội dung ~1332px, thẻ ~432px).

   Nguyên tắc bám ảnh:
   - nền xanh rất nhạt, hai vệt sáng mờ ở mép trái
   - tiêu đề một dòng, nửa sau đổi màu xanh
   - thẻ phẳng, KHÔNG lồng thẻ trong thẻ: chỉ một panel checklist bên trong
   - đầu thẻ: icon tròn + tên gói + chip đối tượng, dòng mô tả xám nằm dưới
   - dòng giá: giá gốc trái ↔ giá sau giảm phải
   - ba thẻ cao bằng nhau, nút và ghi chú luôn nằm sát đáy
   - cỡ chữ danh sách chọn để mỗi gạch đầu dòng nằm gọn MỘT dòng
   ========================================================================== */
.bg-price {
  position: relative; isolation: isolate; padding: 34px 0 42px;
  background: linear-gradient(180deg, #f7fbff 0%, #edf4ff 52%, #f6faff 100%);
}
/* hai vệt sáng mờ ở mép trái như trong bản thiết kế */
.bg-price::before,
.bg-price::after {
  content: ''; position: absolute; z-index: -1; border-radius: 50%;
  background: radial-gradient(circle, rgba(150, 194, 255, .38) 0%, rgba(150, 194, 255, 0) 70%);
  pointer-events: none;
}
.bg-price::before { top: -70px;    left: -180px; width: 620px; height: 460px; }
.bg-price::after  { bottom: -90px; left: -140px; width: 520px; height: 420px; }

.bg-price__in { max-width: 1440px; margin: 0 auto; padding: 0 34px; }

/* ------------------------------------------------------------- tiêu đề --- */
.bg-head { text-align: center; }
.bg-eyebrow {
  display: block; color: #2f7cf6; font-size: 13px; font-weight: 800; line-height: 1;
  letter-spacing: .19em; text-transform: uppercase;
}
.bg-head h2 {
  margin-top: 10px; font-size: 29px; line-height: 1.25; font-weight: 800;
  color: #0b1f4d; white-space: nowrap;   /* một dòng như bản thiết kế */
}
.bg-head h2 em { font-style: normal; color: #1668ff; }
.bg-head > p {
  margin: 8px auto 0; max-width: 920px;
  color: #5d6d88; font-size: 13.2px; line-height: 1.65;
}

/* --------------------------------------------------------------- ba thẻ -- */
.bg-plans {
  margin-top: 18px;
  display: grid; grid-template-columns: 1fr 1.075fr 1fr; align-items: stretch; gap: 16px;
}

.bg-plan {
  position: relative; display: flex; flex-direction: column;
  border-radius: 22px; background: #fff;
  border: 1px solid #e4ecf9; box-shadow: 0 22px 46px -34px rgba(11, 33, 82, .5);
}
.bg-plan__body {
  flex: 1 1 auto; display: flex; flex-direction: column;
  padding: 18px 20px 16px;
}

/* thẻ giữa: viền xanh, dải nhãn kín mép trên, nhô lên/xuống 22px */
.bg-plan.is-hl {
  margin: -16px 0; border: 1.8px solid #2f7cf6;
  box-shadow: 0 30px 62px -32px rgba(24, 94, 220, .7);
}
.bg-plan__ribbon {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  padding: 9px 12px; border-radius: 20.2px 20.2px 0 0;
  background: linear-gradient(90deg, #3b86ff 0%, #1a63f0 100%);
  color: #fff; font-size: 11.8px; font-weight: 800; line-height: 1.2;
  letter-spacing: .11em; text-transform: uppercase; text-align: center;
}
.bg-plan__ribbon .bg-svg { flex: 0 0 auto; width: 16px; height: 16px; }
.bg-plan.is-hl .bg-plan__body { padding-top: 16px; }

/* --------------------------------------------------------------- đầu thẻ - */
.bg-plan__head { display: flex; align-items: center; gap: 12px; padding-right: 62px; }
.bg-plan__ic {
  flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #e8f1ff; color: #1f6dfa;
}
.bg-plan__ic .bg-svg { width: 22px; height: 22px; }
.bg-plan--cao-cap .bg-plan__ic { background: #f1eaff; color: #7048e8; }

.bg-plan__title h3 {
  color: #0f2450; font-size: 17px; font-weight: 800; line-height: 1.2;
  letter-spacing: .01em; text-transform: uppercase;
}
/* chip đối tượng ngay dưới tên gói */
.bg-plan__badge {
  display: inline-flex; align-items: center; margin-top: 6px; padding: 4px 10px;
  border-radius: 8px; background: #e4eeff; color: #1f6dfa;
  font-size: 11.4px; font-weight: 700; font-style: normal; line-height: 1.25;
  white-space: nowrap;
}
.bg-plan--cao-cap .bg-plan__badge { background: #f0e9ff; color: #6d3ff0; }

.bg-plan__sub {
  margin: 12px 0 0 68px;   /* thẳng hàng với tên gói (54px icon + 14px gap) */
  color: #7d8ca5; font-size: 13.5px; line-height: 1.45;
}

/* ---------------------------------------------------------------- giá ---- */
.bg-plan__price { margin-top: 12px; }
.bg-plan__price strong {
  display: block; color: #1668ff;
  font-size: 31px; font-weight: 800; line-height: 1.1; letter-spacing: -.03em;
}
.bg-plan__price em { font-style: normal; font-size: .56em; font-weight: 800; margin-left: 1px; }
.bg-plan--cao-cap .bg-plan__price strong { color: #6d3ff0; }

/* ------------------------------------------------------- phù hợp với ----- */
.bg-plan__fit { margin-top: 11px; color: #64748b; font-size: 11.8px; line-height: 1.62; }
/* nhãn nằm cùng hàng với danh sách, không tách dòng riêng */
.bg-plan__fit b { display: inline; margin-right: 5px; color: #0f2450; font-size: 12.2px; font-weight: 700; }
.bg-plan__fit u { text-decoration: none; }
/* nhóm đầu danh sách tô màu nhấn như bản thiết kế */
.bg-plan__fit u:nth-of-type(-n+4) { color: #2f7cf6; font-weight: 600; }
.bg-plan--cao-cap .bg-plan__fit u:nth-of-type(-n+4) { color: #7048e8; }
.bg-plan__fit span { color: #c8d3e4; margin: 0 4px; }

/* ------------------------------------------------- panel checklist ------- */
.bg-plan__panel {
  flex: 1 1 auto;                  /* giãn để đáy ba thẻ thẳng hàng */
  display: flex; flex-direction: column;
  margin: 12px 0 14px; padding: 12px 13px 12px; border-radius: 14px;
  background: #eef4ff;
}
.bg-plan__panel h4 {
  display: flex; align-items: center; gap: 8px; margin: 0 0 9px;
  color: #12388f; font-size: 12.4px; font-weight: 700; line-height: 1.35;
}
/* dấu tích tròn đặc ở đầu tiêu đề panel */
.bg-plan__pic {
  flex: 0 0 auto; width: 21px; height: 21px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #1f6dfa; color: #fff;
}
.bg-plan__pic .bg-svg { width: 12px; height: 12px; }
.bg-plan__panel ul { display: grid; align-content: start; gap: 5px; }
.bg-plan__panel li {
  display: flex; align-items: flex-start; gap: 8px;
  color: #4f6079; font-size: 11.5px; line-height: 1.4;
}
.bg-plan__panel li .bg-svg {
  flex: 0 0 auto; width: 11px; height: 11px; margin-top: 3px; color: #2f7cf6;
}
/* ------------------------------- rút gọn danh sách quyền lợi ------------
   Mặc định chỉ hiện 7 dòng để cả bảng giá vừa một khung hình; phần còn lại
   vẫn có sẵn trong HTML và mở ra tại chỗ khi bấm nút. */
.bg-plan__panel li.is-more { display: none; }
/* mở là mở cả ba gói cùng lúc — ba thẻ luôn cao bằng nhau, không thẻ nào
   phải chừa một mảng trống, và khách so sánh được ngay cạnh nhau */
.bg-plans.is-open .bg-plan__panel li.is-more { display: flex; }

.bg-plan__more {
  display: inline-flex; align-items: center; gap: 5px;
  margin: 9px 0 0 29px; padding: 0; border: 0; background: none;
  font-family: inherit; font-size: 11.4px; font-weight: 700; line-height: 1.2;
  color: #2f7cf6; cursor: pointer;
}
.bg-plan__more .bg-svg { width: 12px; height: 12px; transition: transform .22s ease; }
.bg-plans.is-open .bg-plan__more .bg-svg { transform: rotate(180deg); }
.bg-plan__more:hover { text-decoration: underline; }
.bg-plan--cao-cap .bg-plan__more { color: #7048e8; }

.bg-plan--cao-cap .bg-plan__panel { background: #f5f0ff; }
.bg-plan--cao-cap .bg-plan__panel h4 { color: #5b34c9; }
.bg-plan--cao-cap .bg-plan__pic { background: #7048e8; }
.bg-plan--cao-cap .bg-plan__panel li .bg-svg { color: #7048e8; }

/* ----------------------------------------------------------------- nút --- */
.bg-plan__cta {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 16px; border-radius: 999px;
  background: linear-gradient(90deg, #2f7cf6 0%, #1a5ce8 100%);
  color: #fff; text-decoration: none;
  font-size: 13.2px; font-weight: 700; line-height: 1.25; text-align: center;
  box-shadow: 0 16px 26px -14px rgba(27, 100, 235, .95);
  transition: filter .18s, transform .18s, box-shadow .18s;
}
.bg-plan__cta .bg-svg { width: 15px; height: 15px; }
.bg-plan__cta:hover { filter: brightness(1.06); transform: translateY(-1px); }
.bg-plan--cao-cap .bg-plan__cta {
  background: linear-gradient(90deg, #8256f5 0%, #6a2fe0 100%);
  box-shadow: 0 16px 26px -14px rgba(107, 48, 224, .95);
}

/* ------------------------------------------------------- ghi chú cuối ---- */
.bg-plan__note {
  margin-top: 10px; display: flex; align-items: flex-start; gap: 8px;
  color: #8b99b1; font-size: 11.2px; line-height: 1.5;
}
.bg-plan__nic { flex: 0 0 auto; color: #2f7cf6; margin-top: 2px; }
.bg-plan__nic .bg-svg { width: 15px; height: 15px; }
.bg-plan--cao-cap .bg-plan__nic { color: #7048e8; }

/* ============================================================ GIẢM GIÁ ====
   Tem sao gai dán ở góc phải trên thẻ (ngoài luồng, không đẩy dòng nào) và
   dòng giá "giá gốc ← → giá sau giảm". Hiệu ứng bật khi JS gắn .is-in /
   .is-sale-in; không JS vẫn hiện đầy đủ, chỉ không có chuyển động.
   ========================================================================== */
.bg-plan__sale {
  position: absolute; z-index: 5; top: 14px; right: 8px;
  width: 74px; height: 74px; display: grid; place-items: center;
  pointer-events: none;
  filter: drop-shadow(0 10px 18px rgba(226, 20, 56, .42));
}
.bg-plan.is-hl .bg-plan__sale { top: 48px; right: 6px; }

/* đĩa sao 16 cánh — clip-path nên gai luôn sắc ở mọi độ phân giải */
.bg-plan__sale-burst {
  position: absolute; inset: 0;
  background: conic-gradient(from -20deg, #ff7a4c, #ff2f4e 22%, #e2062f 46%, #ff2f4e 68%, #ff7a4c 86%, #ff2f4e);
  clip-path: polygon(
    50% 0%, 57.6% 11.8%, 69.1% 3.8%, 71.7% 17.6%, 85.4% 14.6%, 82.4% 28.3%,
    96.2% 30.9%, 88.3% 42.4%, 100% 50%, 88.3% 57.6%, 96.2% 69.1%, 82.4% 71.7%,
    85.4% 85.4%, 71.7% 82.4%, 69.1% 96.2%, 57.6% 88.3%, 50% 100%, 42.4% 88.3%,
    30.9% 96.2%, 28.3% 82.4%, 14.6% 85.4%, 17.6% 71.7%, 3.8% 69.1%, 11.8% 57.6%,
    0% 50%, 11.8% 42.4%, 3.8% 30.9%, 17.6% 28.3%, 14.6% 14.6%, 28.3% 17.6%,
    30.9% 3.8%, 42.4% 11.8%
  );
}
/* quầng sáng nở ra rồi tắt — kéo mắt về phía tem */
.bg-plan__sale-halo {
  position: absolute; inset: 20%; border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(239, 19, 56, .5);
}
.bg-plan__sale b {
  position: relative; z-index: 1;
  display: grid; justify-items: center; gap: 2px;
  color: #fff; font-weight: 800; line-height: 1; text-align: center;
  transform: rotate(-8deg); text-shadow: 0 1px 2px rgba(120, 0, 20, .3);
}
.bg-plan__sale span { font-size: 9.5px; letter-spacing: .15em; opacity: .96; }
.bg-plan__sale em { font-style: normal; font-size: 19px; letter-spacing: -.03em; }
.bg-plan__sale u { text-decoration: none; font-size: .66em; margin-left: 1px; }

/* gói cao cấp: tem vàng cam như bản thiết kế */
.bg-plan--cao-cap .bg-plan__sale-burst {
  background: conic-gradient(from -20deg, #ffd766, #ffb02e 22%, #ff8f0a 46%, #ffb02e 68%, #ffd766 86%, #ffb02e);
}
.bg-plan--cao-cap .bg-plan__sale { filter: drop-shadow(0 10px 18px rgba(240, 150, 20, .5)); }
.bg-plan--cao-cap .bg-plan__sale-halo { box-shadow: 0 0 0 0 rgba(255, 160, 30, .55); }

/* nảy vào khi cuộn tới, sau đó phình to – thu nhỏ liên tục, gai xoay chậm */
.dn-js .bg-plan.has-sale .bg-plan__sale { opacity: 0; transform: scale(.25) rotate(-60deg); }
.dn-js .bg-plan.is-sale-in .bg-plan__sale {
  animation: bg-sale-pop .72s cubic-bezier(.18, 1.6, .36, 1) .1s both,
             bg-sale-throb 1.9s ease-in-out .9s infinite;
}
.dn-js .bg-plan.is-sale-in .bg-plan__sale-burst { animation: bg-sale-spin 11s linear infinite; }
.dn-js .bg-plan.is-sale-in .bg-plan__sale-halo  { animation: bg-sale-halo 1.9s ease-out .9s infinite; }

@keyframes bg-sale-pop   { 0% { opacity: 0; transform: scale(.25) rotate(-60deg); }
                           65% { opacity: 1; transform: scale(1.18) rotate(6deg); }
                           100% { opacity: 1; transform: scale(1) rotate(0); } }
@keyframes bg-sale-throb { 0%, 100% { transform: scale(1); }
                           28% { transform: scale(1.15); }
                           52% { transform: scale(.94); }
                           74% { transform: scale(1.05); } }
@keyframes bg-sale-spin  { to { transform: rotate(360deg); } }
@keyframes bg-sale-halo  { 0% { box-shadow: 0 0 0 0 rgba(239, 19, 56, .5); }
                           70%, 100% { box-shadow: 0 0 0 20px rgba(239, 19, 56, 0); } }

/* --------------------------------- dòng giá: giá gốc ← → giá sau giảm ---- */
.bg-plan__price--sale {
  /* giá gốc và giá mới đứng sát nhau ở mép trái, không dàn ra hai đầu thẻ */
  display: flex; align-items: baseline; justify-content: flex-start;
  flex-wrap: wrap; gap: 4px 13px;
}
.bg-plan__price--sale strong { display: inline-block; position: relative; white-space: nowrap; }

/* giá gốc: cỡ lớn, gạch ngang tự kẻ từ trái sang khi khối lọt màn hình */
.bg-plan__was {
  position: relative; text-decoration: none; white-space: nowrap;
  color: #9aa8bf; font-size: 18px; font-weight: 600; letter-spacing: -.02em;
}
.bg-plan__was::after {
  content: ''; position: absolute; left: -3px; right: -3px; top: 52%;
  height: 2px; border-radius: 2px; background: #a8b5ca;
  transform-origin: left center;   /* mặc định kẻ sẵn — không JS vẫn thấy gạch */
}
.dn-js .bg-plan__price--sale .bg-plan__was::after { transform: scaleX(0); }
.dn-js .bg-plan__price--sale.is-in .bg-plan__was::after {
  animation: bg-strike .55s cubic-bezier(.22, .61, .36, 1) .35s both;
}
@keyframes bg-strike { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Không phủ vệt sáng lên dòng giá: nó làm mờ chữ, nhất là giá gốc. Điểm gây
   chú ý đã do tem giảm giá + số đếm lên đảm nhiệm. */

@media (prefers-reduced-motion: reduce) {
  .dn-js .bg-plan.has-sale .bg-plan__sale,
  .dn-js .bg-plan.is-sale-in .bg-plan__sale { opacity: 1; transform: none; animation: none; }
  .dn-js .bg-plan.is-sale-in .bg-plan__sale-burst,
  .dn-js .bg-plan.is-sale-in .bg-plan__sale-halo { animation: none; }
  .dn-js .bg-plan__price--sale .bg-plan__was::after,
  .dn-js .bg-plan__price--sale.is-in .bg-plan__was::after { animation: none; transform: scaleX(1); }
}

/* ======================================= CHƯA BIẾT CHỌN GÓI NÀO ========== */
.bg-help { padding: 0 0 96px; background: #fff; }
.bg-help__box {
  position: relative; padding: 62px 70px 58px; border-radius: 30px;
  background: linear-gradient(180deg, #f3f8ff 0%, #eaf2ff 100%);
  display: grid; grid-template-columns: 300px 1fr; align-items: center; gap: 44px;
}
.bg-help__shot { width: 100%; height: auto; display: block; }
.bg-help__copy { text-align: center; padding-right: 130px; }
.bg-help__copy h2 { font-size: 27px; font-weight: 800; line-height: 1.3; color: var(--p-ink); }
.bg-help__copy > p { margin-top: 16px; color: var(--p-body); font-size: 14px; line-height: 1.9; }

.bg-btn {
  margin-top: 26px; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 34px; border-radius: 999px;
  background: var(--p-blue); color: #fff; font-size: 14.5px; font-weight: 700; text-decoration: none;
  box-shadow: 0 18px 32px -18px rgba(22, 104, 255, .95);
  transition: background .18s, transform .18s;
}
.bg-btn .bg-svg { width: 17px; height: 17px; }
.bg-btn:hover { background: var(--p-blue-dark); transform: translateY(-1px); }

.bg-help__assure { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: 34px; }
.bg-help__assure li { display: flex; align-items: center; gap: 9px; color: var(--p-body); font-size: 13px; }
.bg-help__assure .bg-svg { width: 16px; height: 16px; color: var(--p-blue); }

.bg-help__script {
  position: absolute; right: 62px; bottom: 74px;
  font-family: var(--dn-font);
  color: #4f93ff; font-size: 17px; font-weight: 600; font-style: italic;
  line-height: 1.7; text-align: right; transform: rotate(-4deg);
}
.bg-help__swoosh { display: block; width: 170px; height: 30px; margin: 6px 0 0 auto; color: rgba(79, 147, 255, .8); }

/* ============================================================ DẢI KẾT ==== */
.bg-belief { position: relative; isolation: isolate; background: var(--p-navy-deep); }
.bg-belief__bg {
  position: absolute; inset: 0; z-index: 0;
  background-repeat: no-repeat; background-position: center; background-size: cover;
}
.bg-belief__veil {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(92deg, #041129 0%, rgba(4, 17, 41, .93) 40%, rgba(4, 17, 41, .72) 72%, rgba(4, 17, 41, .5) 100%);
}
.bg-belief__in {
  position: relative; z-index: 2; padding-top: 86px; padding-bottom: 66px;
  display: grid; grid-template-columns: minmax(340px, 1fr) auto; align-items: center; gap: 56px;
}
.bg-belief__copy h2 {
  color: #fff; font-size: 22px; font-weight: 800; line-height: 1.45;
  display: flex; align-items: flex-start; gap: 13px;
}
.bg-belief__heart {
  flex: 0 0 auto; width: 30px; height: 30px; border-radius: 10px; margin-top: 2px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(120, 178, 255, .16); color: #8cc0ff;
}
.bg-belief__heart .bg-svg { width: 16px; height: 16px; }
.bg-belief__copy p { margin-top: 14px; color: #a8c0dd; font-size: 13.5px; line-height: 1.85; }

.bg-belief__grid { display: flex; gap: 34px; }
.bg-belief__grid li { width: 132px; text-align: center; }
.bg-belief__ic {
  width: 40px; height: 40px; margin: 0 auto 12px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(120, 178, 255, .14); border: 1px solid rgba(126, 182, 255, .26); color: #8cc0ff;
}
.bg-belief__ic .bg-svg { width: 18px; height: 18px; }
.bg-belief__grid b { display: block; color: #fff; font-size: 12.5px; font-weight: 700; line-height: 1.4; }
.bg-belief__grid i { display: block; margin-top: 5px; color: #90a9c9; font-size: 11px; font-style: normal; line-height: 1.45; }

.bg-belief__script {
  position: absolute; right: 34px; top: 34px; z-index: 3;
  font-family: var(--dn-font);
  color: var(--p-sky); font-size: 16px; font-weight: 600; font-style: italic;
  line-height: 1.6; text-align: right; transform: rotate(-4deg);
}

/* ========================================================== RESPONSIVE === */
/* Dưới khổ thiết kế (1440px) cột hẹp lại, nên thu lề và gạt cỡ chữ xuống để
   mỗi gạch đầu dòng vẫn nằm gọn một dòng, không tự xuống hàng. */
@media (max-width: 1400px) {
  .bg-hero__script { display: none; }
  .bg-price__in { padding: 0 20px; }
  .bg-head h2 { font-size: 26px; }
  .bg-plans { gap: 12px; }
  .bg-plan__body { padding: 22px 20px 18px; }
  .bg-plan__ic { width: 50px; height: 50px; }
  .bg-plan__ic .bg-svg { width: 23px; height: 23px; }
  .bg-plan__head { gap: 12px; padding-right: 66px; }
  .bg-plan__title h3 { font-size: 17.5px; }
  .bg-plan__sub { margin-left: 62px; font-size: 13px; }
  .bg-plan__price strong { font-size: 32px; }
  .bg-plan__was { font-size: 18px; }
  .bg-plan__panel { padding: 14px 13px 15px; }
  .bg-plan__panel li { font-size: 10.8px; }
  .bg-plan__panel h4 { font-size: 12.3px; }
  .bg-plan__panel li .bg-svg { width: 10px; height: 10px; }
  .bg-plan__fit { font-size: 12px; }
  .bg-help__copy { padding-right: 0; }
  .bg-help__script { display: none; }
  .bg-belief__script { display: none; }
}

/* Hẹp hơn nữa thì ba cột không còn đủ chỗ cho một dòng chữ đọc được → một cột,
   thẻ rộng trở lại và cỡ chữ về đúng mức bản thiết kế. */
@media (max-width: 1330px) {
  .bg-hero { min-height: 706px; }
  .bg-hero__in { padding-top: 66px; padding-bottom: 96px; }
  .bg-hero__title { font-size: 36px; }
  .bg-hero__script { top: 22px; font-size: 18px; }

  .bg-plans { grid-template-columns: 1fr; gap: 22px; max-width: 660px; margin-inline: auto; }
  .bg-plan.is-hl { margin: 0; }
  .bg-plan__body { padding: 24px 22px 20px; }
  .bg-plan__ic { width: 54px; height: 54px; }
  .bg-plan__ic .bg-svg { width: 22px; height: 22px; }
  .bg-plan__head { padding-right: 96px; }
  /* một cột: chip được phép xuống dòng, không ép nowrap làm thẻ tràn ngang */
  .bg-plan__badge { white-space: normal; }
  .bg-plan__title h3 { font-size: 19px; }
  .bg-plan__sub { margin-left: 68px; }
  .bg-plan__panel { padding: 16px 16px 17px; }
  .bg-plan__panel li { font-size: 12.2px; }
  .bg-plan__panel li .bg-svg { width: 11px; height: 11px; }
  .bg-plan__fit { font-size: 12.6px; }

  .bg-belief__in { grid-template-columns: 1fr; gap: 34px; }
}

@media (max-width: 980px) {
  .bg-head h2 { font-size: 27px; white-space: normal; }
  .bg-head h2 br { display: none; }
}

@media (max-width: 860px) {
  .bg-hero { display: block; min-height: 0; }
  .bg-hero__bg {
    position: relative; height: 56vw; min-height: 230px; max-height: 340px;
    background-position: 58% 60%;
  }
  .bg-hero__bg::after {
    content: ""; position: absolute; inset: auto 0 -1px 0; height: 80px;
    background: linear-gradient(0deg, var(--p-sky-bg) 8%, rgba(233, 243, 255, 0) 100%);
  }
  .bg-hero__veil { display: none; }
  .bg-hero__in { padding-top: 32px; padding-bottom: 84px; }
  .bg-hero__script { display: none; }
  .bg-hero__title { font-size: 30px; }
  .bg-hero__lead { font-size: 15.5px; }
  .bg-hero__lead br { display: none; }
  .bg-hero__points { gap: 20px; }

  .bg-price { padding: 62px 0 70px; }
  .bg-head h2 { font-size: 24px; }
  .bg-head > p { font-size: 14px; }
  .bg-head > p br { display: none; }

  .bg-help__box { grid-template-columns: 1fr; padding: 44px 30px 40px; gap: 28px; }
  .bg-help__shot { max-width: 320px; margin: 0 auto; }
  .bg-help__copy h2 { font-size: 22px; }
  .bg-help__copy > p br { display: none; }
  .bg-help__assure { gap: 20px; }

  .bg-belief__grid { flex-wrap: wrap; gap: 26px 30px; }
  .bg-belief__copy h2 { font-size: 19px; }
  .bg-belief__copy p br { display: none; }
}

@media (max-width: 560px) {
  .bg-hero__title { font-size: 26px; }
  .bg-hero__title br { display: none; }
  .bg-price__in { padding: 0 18px; }
  .bg-head h2 { font-size: 21px; }

  .bg-plan__body { padding: 20px 16px 18px; }
  .bg-plan__ic { width: 44px; height: 44px; }
  .bg-plan__ic .bg-svg { width: 20px; height: 20px; }
  .bg-plan__head { gap: 11px; padding-right: 74px; }
  .bg-plan__title h3 { font-size: 16px; }
  .bg-plan__badge { font-size: 11.5px; padding: 4px 10px; }
  .bg-plan__sub { margin-left: 55px; font-size: 12.4px; }
  .bg-plan__panel { padding: 14px 13px 15px; }
  .bg-plan__panel li { font-size: 11.6px; }
  .bg-plan__fit { font-size: 12px; }

  /* siết nhẹ để giá gốc + giá mới vẫn nằm trọn một dòng trên điện thoại */
  .bg-plan__price--sale { gap: 2px 10px; }
  .bg-plan__price strong { font-size: 27px; }
  .bg-plan__was { font-size: 16px; }
  .bg-plan__cta { min-height: 48px; font-size: 12.5px; }

  /* kéo tem vào trong để không lọt xuống dưới thanh liên hệ nổi */
  .bg-plan__sale { width: 72px; height: 72px; top: 16px; right: 8px; }
  .bg-plan.is-hl .bg-plan__sale { top: 54px; right: 6px; }
  .bg-plan__sale span { font-size: 8.5px; letter-spacing: .13em; }
  .bg-plan__sale em { font-size: 18px; }

  .bg-belief__grid li { width: calc(50% - 15px); }
}
