/*
 * /price — dùng chung hệ giao diện trang chủ (body.page-home + home.css, nạp trước file này).
 * File này chỉ chứa phần riêng của trang giá: hero ngắn, tiêu đề từng tab, ghi chú, cam kết, so sánh giao diện.
 */

body.page-price {
  --price-header-h: 60px;
}

body.page-price .price-skip-link {
  position: absolute;
  z-index: 1100;
  top: 88px;
  left: 16px;
}

/* Hero: cùng nền, eyebrow, nút và dải số liệu như trang chủ nhưng thấp hơn (không có ảnh lớn). */
body.page-price .hero.price-hero {
  min-height: auto;
  padding: 36px 0 64px !important;
}

body.page-price .price-hero .hero-title {
  max-width: 900px;
  font-size: clamp(2.5rem, 4.6vw, 4.25rem);
}

body.page-price .price-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--home-muted);
  font-size: 13px;
  font-weight: 600;
}

body.page-price .price-breadcrumb a {
  color: var(--home-muted);
  text-decoration: none;
}

body.page-price .price-breadcrumb a:hover {
  color: var(--home-primary);
}

body.page-price .price-breadcrumb .bi-chevron-right {
  font-size: 11px;
  opacity: 0.6;
}

body.page-price .price-breadcrumb [aria-current] {
  color: var(--home-ink);
}

body.page-price .price-hero .arrow-circle {
  color: var(--home-primary);
}

body.page-price .price-hero .hero-proof-grid {
  margin-top: 48px;
}

body.page-price .hero-proof-item strong sup {
  font-size: 0.6em;
}

/* Bảng giá theo tab: thanh pill + thẻ giá dùng nguyên style trang chủ (home.css). */
body.page-price #pricing {
  scroll-margin-top: calc(var(--price-header-h) + 12px);
}

body.page-price .price-tabs-section .tabs-scroll-wrapper {
  margin-top: 24px;
}

body.page-price .price-tabs-section .pricing-tab-switcher {
  margin-bottom: 0 !important;
  flex-wrap: nowrap;
  scrollbar-width: none;
}

body.page-price .price-tabs-section .pricing-tab-switcher::-webkit-scrollbar {
  display: none;
}

body.page-price .price-tabs-section .nav-link {
  font-weight: 700;
}

/* Tiêu đề riêng của từng tab (nhỏ hơn tiêu đề section). */
body.page-price .tab-pane > .section-header {
  display: flex;
  flex-direction: column;
  margin-bottom: 36px;
}

body.page-price .tab-pane .section-title {
  font-size: clamp(1.5rem, 2.3vw, 2.1rem);
}

body.page-price .tab-pane .section-subtitle {
  font-size: 16px;
}

body.page-price .tab-pane .section-subtitle a {
  color: var(--home-primary);
  font-weight: 650;
}

body.page-price .section-kicker {
  text-transform: uppercase;
}

body.page-price .price-trust-section .section-title {
  font-size: clamp(1.75rem, 2.6vw, 2.4rem);
}

body.page-price .price-cards > [class*="col-"] {
  display: flex;
}

body.page-price .price-cards .card {
  width: 100%;
}

body.page-price .pricing-section .card-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  font-weight: 800;
}

body.page-price .pricing-section .card-divider {
  margin: 20px 0;
}

body.page-price .pricing-section .card-price {
  margin: 0 0 2px;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

body.page-price .pricing-section .card-price sup {
  font-size: 0.55em;
}

body.page-price .pricing-section .card-price--text {
  font-size: 22px;
  line-height: 1.3;
}

body.page-price .pricing-section .card-list li {
  display: flex;
  gap: 10px;
}

body.page-price .pricing-section .card-list--2col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 24px;
}

/* Gói nổi bật: viền xanh nhẹ, giữ nền trắng như thẻ trang chủ. */
body.page-price .pricing-section .card.is-featured {
  border: 1.5px solid rgba(37, 99, 235, 0.55);
  background:
    radial-gradient(circle at 100% 0, rgba(37, 99, 235, 0.07), transparent 45%),
    #fff;
  box-shadow: 0 22px 56px rgba(37, 99, 235, 0.14);
}

/* Ghi chú dưới bảng giá */
body.page-price .price-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 820px;
  margin: 36px auto 0;
  padding: 14px 18px;
  border: 1px solid #dbeafe;
  border-radius: 14px;
  background: #eff6ff;
  color: #1e3a8a;
  font-size: 14.5px;
  line-height: 1.6;
}

body.page-price .price-note > i {
  margin-top: 4px;
  color: var(--home-primary);
}

body.page-price .price-note--warn {
  border-color: #fde68a;
  background: #fffbeb;
  color: #92400e;
}

body.page-price .price-note--warn > i {
  color: #d97706;
}

body.page-price .price-sheet-btn {
  min-height: 46px;
  padding-inline: 22px;
  border-radius: 12px !important;
  font-weight: 700;
}

/* Cam kết + so sánh giao diện quản lý */
body.page-price .price-trust-section {
  background: #fff;
}

body.page-price .price-trust-section .section-header {
  display: flex;
  flex-direction: column;
  margin-bottom: 40px;
}

body.page-price .price-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

body.page-price .price-trust-item {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--home-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

body.page-price .price-trust-item p {
  margin: 0;
  color: #334155;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.55;
}

body.page-price .price-trust-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid #dbeafe;
  border-radius: 13px;
  background: #eff6ff;
  color: var(--home-primary);
  font-size: 18px;
}

body.page-price .price-compare-title {
  max-width: 760px;
  margin: 72px auto 28px;
  color: var(--home-ink);
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

body.page-price .price-compare-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 20px;
}

body.page-price .price-compare-card {
  margin: 0;
  padding: 18px;
  border: 1px solid var(--home-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.07);
}

body.page-price .price-compare-card.is-ours {
  border-color: rgba(37, 99, 235, 0.45);
}

body.page-price .price-compare-card figcaption {
  margin-bottom: 14px;
  color: var(--home-ink);
  font-size: 15px;
  font-weight: 750;
  text-align: center;
}

body.page-price .price-compare-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--home-line);
  border-radius: 12px;
  object-fit: cover;
  object-position: top left;
  transition: transform 180ms ease;
}

body.page-price .price-compare-card a:hover img {
  transform: scale(1.015);
}

body.page-price .price-compare-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--home-primary), var(--home-cyan));
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.25);
  color: #fff;
}

@media (max-width: 991.98px) {
  body.page-price {
    --price-header-h: 50px;
  }



  body.page-price .price-trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  body.page-price .hero.price-hero {
    padding: 28px 0 48px !important;
  }

  body.page-price .price-hero .hero-title {
    max-width: 100%;
    font-size: clamp(2rem, 9vw, 2.5rem);
  }







  body.page-price .pricing-section .card-list--2col {
    grid-template-columns: minmax(0, 1fr);
  }

  body.page-price .pricing-section .card-price {
    font-size: 26px;
  }

  body.page-price .price-trust-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  body.page-price .price-trust-item {
    flex-direction: row;
    align-items: center;
    padding: 16px 18px;
  }

  body.page-price .price-trust-icon {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
  }

  body.page-price .price-compare-title {
    margin-top: 52px;
  }

  body.page-price .price-compare-grid {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
  }

  body.page-price .price-compare-card {
    width: 100%;
    padding: 14px;
  }

  body.page-price .price-compare-arrow {
    transform: rotate(90deg);
  }
}

/* Nhịp nền như trang chủ: bảng giá trắng → cam kết xám nhạt → FAQ trắng → CTA trắng. */
body.page-price .price-trust-section {
  background: var(--home-surface-soft);
}

body.page-price .faq-section {
  background: #fff !important;
}
