/* ==========================================================================
   Dedicated Flagship Money Page & Silo Styles: Bọc Răng Sứ & Dán Sứ Veneer (/boc-rang-su/)
   Mobile-first, WCAG AA contrast, zero horizontal overflow, GPU-smooth interactions
   ========================================================================== */

/* Hero Grid & KPI Row (Khối 01) */
.bs-crown-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
}

.bs-crown-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.bs-crown-kpi {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 13px 12px;
  backdrop-filter: blur(6px);
}

.bs-crown-kpi strong {
  display: block;
  font-size: 17px;
  font-weight: 800;
  color: #6ee7b7;
  line-height: 1.25;
  margin-bottom: 4px;
}

.bs-crown-kpi span {
  display: block;
  font-size: 12.5px;
  color: #ecfdf5;
  line-height: 1.35;
}

.bs-crown-hero-frame {
  background: rgba(5, 46, 22, 0.72);
  border: 1.5px solid rgba(110, 231, 183, 0.38);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.28);
}

.bs-crown-hero-frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  cursor: zoom-in;
}

.bs-crown-hero-cap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  background: rgba(4, 47, 46, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.bs-crown-hero-cap strong {
  display: block;
  font-size: 14px;
  color: #fff;
}

.bs-crown-hero-cap span {
  display: block;
  font-size: 12.5px;
  color: #a7f3d0;
}

.bs-crown-hero-cap small {
  white-space: nowrap;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(251, 191, 36, 0.18);
  border: 1px solid rgba(251, 191, 36, 0.45);
  color: #fde68a;
  font-weight: 700;
  font-size: 11.5px;
}

/* Sticky Section Jump Bar (Khối 02) */
.bs-crown-subnav-wrap {
  position: sticky;
  top: 66px;
  z-index: 88;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--bs-border);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}

.bs-crown-subnav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.bs-crown-subnav::-webkit-scrollbar {
  display: none;
}

.bs-crown-subnav a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--bs-navy);
  background: #f1f5f9;
  border: 1px solid transparent;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.bs-crown-subnav a:hover,
.bs-crown-subnav a.is-active {
  background: #064e3b;
  color: #fff;
}

.bs-crown-subnav a.bs-crown-subnav__cta {
  background: #fffbeb;
  border-color: #f59e0b;
  color: #92400e;
}

.bs-crown-subnav a.bs-crown-subnav__cta:hover {
  background: #d97706;
  color: #fff;
}

/* Clinical Scorecard 4 Columns (Khối 04) */
.bs-crown-scorecard {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.bs-crown-score {
  background: #f8fafc;
  border: 1px solid var(--bs-border);
  border-top: 4px solid #059669;
  border-radius: 14px;
  padding: 18px;
}

.bs-crown-score__num {
  font-size: 22px;
  font-weight: 800;
  color: #064e3b;
  line-height: 1.2;
}

.bs-crown-score__lbl {
  font-size: 14px;
  font-weight: 700;
  color: var(--bs-navy);
  margin: 6px 0 4px;
}

.bs-crown-score p {
  font-size: 13px;
  color: var(--bs-muted);
  margin: 0;
  line-height: 1.5;
}

/* Yes / No Eligibility Grid (Khối 05) */
.bs-crown-yn-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 28px;
}

.bs-crown-yn-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid var(--bs-border);
}

.bs-crown-yn-card--yes {
  border-top: 4px solid #059669;
  background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 42%);
}

.bs-crown-yn-card--no {
  border-top: 4px solid #d97706;
  background: linear-gradient(180deg, #fffbeb 0%, #ffffff 42%);
}

.bs-crown-yn-card h3 {
  font-size: 19px;
  margin: 8px 0 14px;
}

.bs-crown-yn-card ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
  font-size: 15px;
  line-height: 1.6;
}

/* Visual Split Figure Blocks */
.bs-crown-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 30px;
  align-items: center;
}

.bs-crown-figure {
  margin: 0;
  background: #fff;
  border: 1px solid var(--bs-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
}

.bs-crown-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  cursor: zoom-in;
}

.bs-crown-figure figcaption {
  padding: 12px 16px;
  font-size: 13px;
  color: var(--bs-muted);
  background: #f8fafc;
  border-top: 1px solid var(--bs-border);
  line-height: 1.5;
}

/* 4-Step CAD/CAM Timeline Cards (Khối 07) */
.bs-crown-timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.bs-crown-step {
  background: #fff;
  border: 1px solid var(--bs-border);
  border-radius: 16px;
  padding: 20px 18px;
}

.bs-crown-step__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #065f46;
  font-size: 12.5px;
  font-weight: 800;
  margin-bottom: 10px;
}

.bs-crown-step h3 {
  font-size: 16.5px;
  margin: 0 0 8px;
}

.bs-crown-step p {
  font-size: 14px;
  color: var(--bs-muted);
  margin: 0;
  line-height: 1.55;
}

/* Included vs Optional Grid (Khối 08) */
.bs-crown-inc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}

/* Interactive Porcelain & Veneer Cost Calculator (Khối 08) */
.bs-crown-calc {
  margin-top: 28px;
  background: linear-gradient(145deg, #052e16 0%, #064e3b 100%);
  color: #fff;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 18px 40px rgba(5, 46, 22, 0.22);
}

.bs-crown-calc-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: center;
}

.bs-crown-calc label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: #a7f3d0;
  margin-bottom: 6px;
}

.bs-crown-calc select,
.bs-crown-calc input[type="number"] {
  width: 100%;
  min-height: 46px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.96);
  color: #0f172a;
  padding: 10px 14px;
  font-size: 14.5px;
  font-weight: 700;
}

.bs-crown-calc-result {
  background: rgba(0, 0, 0, 0.26);
  border: 1px solid rgba(110, 231, 183, 0.3);
  border-radius: 16px;
  padding: 22px;
}

.bs-crown-calc-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  padding: 6px 0;
  font-size: 14px;
  color: #e2e8f0;
}

.bs-crown-calc-total {
  font-size: 27px;
  font-weight: 800;
  color: #6ee7b7;
}

/* Credentials & Technology Proof Cards (Khối 12) */
.bs-crown-certs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.bs-crown-cert-card {
  display: flex;
  gap: 14px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--bs-border);
  border-radius: 14px;
  padding: 14px;
}

.bs-crown-cert-card img {
  width: 120px;
  height: 86px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--bs-border);
  flex-shrink: 0;
  cursor: zoom-in;
}

/* Interactive 30-Second Conservative Triage (Khối 13) */
.bs-crown-triage {
  background: #ffffff;
  border: 2px solid rgba(5, 150, 105, 0.3);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.05);
}

.bs-crown-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.bs-crown-tab {
  appearance: none;
  border: 1.5px solid #cbd5e1;
  background: #f8fafc;
  color: var(--bs-navy);
  font-weight: 700;
  font-size: 14px;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.18s ease;
}

.bs-crown-tab:hover {
  border-color: #059669;
  color: #064e3b;
}

.bs-crown-tab.is-active {
  background: #064e3b;
  border-color: #064e3b;
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(6, 78, 59, 0.25);
}

.bs-crown-triage-panel {
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: 14px;
  padding: 22px;
}

.bs-crown-triage-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 14px 0 18px;
}

.bs-crown-triage-meta > div {
  background: #ffffff;
  border: 1px solid #d1fae5;
  border-radius: 10px;
  padding: 12px 14px;
}

.bs-crown-triage-meta small {
  display: block;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--bs-muted);
  font-weight: 700;
  margin-bottom: 4px;
}

.bs-crown-triage-meta strong {
  color: #064e3b;
  font-size: 14.5px;
}

/* Remote 3-Photo Zalo Guide (Khối 13B) */
.bs-crown-photo-box {
  margin-top: 24px;
  background: linear-gradient(135deg, #052e16 0%, #065f46 100%);
  color: #fff;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 18px 36px rgba(5, 46, 22, 0.22);
}

.bs-crown-photo-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0 22px;
}

.bs-crown-photo-step {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  padding: 16px;
}

.bs-crown-photo-step strong {
  display: block;
  color: #fde68a;
  font-size: 14.5px;
  margin-bottom: 5px;
}

.bs-crown-photo-step span {
  font-size: 13.5px;
  color: #ecfdf5;
  line-height: 1.5;
  display: block;
}

/* 5-Branch 24-Post Silo Directory (Khối 15) */
.bs-crown-branch {
  margin-bottom: 26px;
}

.bs-crown-branch__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #e2e8f0;
}

.bs-crown-branch__head h3 {
  margin: 0;
  font-size: 19px;
  color: #064e3b;
}

.bs-crown-branch__head span {
  font-size: 13.5px;
  color: var(--bs-muted);
}

.bs-crown-branch__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.bs-crown-spoke-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #ffffff;
  border: 1px solid var(--bs-border);
  border-radius: 14px;
  padding: 16px 18px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.bs-crown-spoke-card:hover {
  transform: translateY(-2px);
  border-color: #059669;
  box-shadow: 0 10px 24px rgba(6, 78, 59, 0.09);
}

.bs-crown-spoke-card__tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 11.5px;
  font-weight: 700;
  color: #047857;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 999px;
  padding: 3px 10px;
  margin-bottom: 8px;
}

.bs-crown-spoke-card h4 {
  margin: 0 0 6px;
  font-size: 15.5px;
  line-height: 1.4;
  color: var(--bs-navy);
}

.bs-crown-spoke-card p {
  margin: 0 0 10px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--bs-muted);
}

.bs-crown-spoke-card__more {
  font-size: 13px;
  font-weight: 700;
  color: #059669;
}

/* Spoke Funnel Banner across 227 Porcelain/Veneer Articles */
.bs-crown-top-callout {
  border-left: 4px solid #059669;
  background: #f0fdf4;
  border-radius: 0 12px 12px 0;
  padding: 14px 18px;
  margin: 18px 0 22px;
}

.bs-crown-funnel-box {
  margin: 34px 0 20px;
  padding: 26px;
  border-radius: 18px;
  background: linear-gradient(155deg, #052e16 0%, #064e3b 65%, #0f766e 100%);
  color: #ffffff;
  box-shadow: 0 18px 38px rgba(5, 46, 22, 0.22);
}

.bs-crown-funnel-box h3 {
  color: #ffffff;
  margin: 10px 0 8px;
  font-size: 21px;
  line-height: 1.35;
}

.bs-crown-funnel-box p {
  color: #d1fae5;
  margin: 0 0 18px;
  font-size: 14.5px;
  line-height: 1.6;
}

.bs-crown-funnel-links {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.bs-crown-funnel-links li a {
  display: block;
  padding: 13px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  text-decoration: none;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.bs-crown-funnel-links li a:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #6ee7b7;
}

.bs-crown-funnel-links li a strong {
  display: block;
  font-size: 15px;
  color: #ffffff;
  margin-bottom: 3px;
}

.bs-crown-funnel-links li a span {
  display: block;
  font-size: 13px;
  color: #a7f3d0;
}

/* Responsive Breakpoints: Tablet & Mobile (360px - 1024px) */
@media (max-width: 1024px) {
  .bs-crown-hero-grid,
  .bs-crown-split,
  .bs-crown-calc-grid {
    grid-template-columns: 1fr;
  }

  .bs-crown-scorecard,
  .bs-crown-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bs-crown-branch__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .bs-crown-subnav-wrap {
    top: 58px;
  }

  .bs-crown-kpis,
  .bs-crown-scorecard {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .bs-crown-yn-grid,
  .bs-crown-timeline,
  .bs-crown-inc-grid,
  .bs-crown-certs,
  .bs-crown-triage-meta,
  .bs-crown-photo-steps,
  .bs-crown-branch__grid {
    grid-template-columns: 1fr;
  }

  .bs-crown-score {
    padding: 14px 12px;
  }

  .bs-crown-score__num {
    font-size: 19px;
  }

  .bs-crown-calc,
  .bs-crown-triage,
  .bs-crown-photo-box,
  .bs-crown-funnel-box {
    padding: 20px 16px;
  }

  .bs-crown-hero-cap {
    flex-direction: column;
    align-items: flex-start;
  }
}
