/* ===================================
   Phượng Hoàng V2 - Blueprint
   Visual Hierarchy · Product Showcase
   GPU-safe animations only.
   =================================== */

/* ═══════════ SECTION BASE ═══════════ */
.bp-section {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  position: relative;
}

/* ── Stats ribbon - large typographic numbers as visual imagery ── */
.bp-stats-ribbon {
  padding: clamp(2rem, 4vw, 3.5rem) 0;
  background: var(--ph-bg-primary);
  position: relative;
  isolation: isolate;
}

.bp-stats-ribbon::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, transparent 0%, rgba(29, 139, 44, 0.015) 30%, rgba(29, 139, 44, 0.015) 70%, transparent 100%);
  pointer-events: none;
}

.bp-stats-ribbon-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 3vw, 3rem);
  max-width: var(--ph-container-default);
  margin: 0 auto;
  padding: 0 var(--ph-space-md);
}

.bp-stats-ribbon-item {
  text-align: center;
  flex: 0 1 auto;
  min-width: 140px;
}

.bp-stats-ribbon-value {
  display: block;
  font-family: var(--ph-font-display);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 700;
  color: var(--ph-text-primary);
  line-height: 1;
  letter-spacing: -0.04em;
}

.bp-stats-ribbon-unit {
  font-size: 0.45em;
  font-weight: 600;
  color: var(--ph-accent);
  letter-spacing: 0;
}

.bp-stats-ribbon-label {
  display: block;
  margin-top: 0.5rem;
  font: var(--ph-text-caption);
  color: var(--ph-text-muted);
  line-height: 1.5;
}

.bp-stats-ribbon-sep {
  width: 1px;
  height: 60px;
  background: linear-gradient(180deg, transparent, var(--ph-divider), transparent);
  flex-shrink: 0;
}

@media (max-width: 639px) {
  .bp-stats-ribbon-inner {
    flex-direction: column;
    gap: 1.25rem;
  }

  .bp-stats-ribbon-sep {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--ph-divider), transparent);
  }

  .bp-stats-ribbon-item {
    min-width: 0;
  }
}

.bp-break-banner {
  padding: clamp(1.75rem, 3vw, 2.5rem) 0;
  background: var(--ph-bg-tertiary);
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

/* Subtle dot-grid overlay - industrial blueprint texture */
.bp-break-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: radial-gradient(circle, var(--ph-accent) 0.5px, transparent 0.5px);
  background-size: 20px 20px;
  opacity: 0.04;
  pointer-events: none;
}

.bp-break-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 2.5vw, 2rem);
  max-width: var(--ph-container-default);
  margin: 0 auto;
  padding: 0 var(--ph-space-md);
}

.bp-break-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ph-accent), transparent);
  opacity: 0.25;
}

.bp-break-text {
  font-family: var(--ph-font-display);
  font-size: clamp(0.9375rem, 1.5vw, 1.125rem);
  font-weight: 500;
  color: var(--ph-text-secondary);
  letter-spacing: 0.04em;
  text-align: center;
  white-space: nowrap;
}

@media (max-width: 639px) {
  .bp-break-inner {
    gap: 0.75rem;
    padding: 0 var(--ph-space-sm);
  }

  .bp-break-text {
    white-space: normal;
    font-size: 0.875rem;
    letter-spacing: 0.02em;
  }
}

.bp-section-alt {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  background: var(--ph-section-alt-bg);
  position: relative;
}

/* Subtle top accent line - marks section chapter boundary in dark backgrounds */
.bp-section-alt::before,
.bp-section-dark::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--ph-accent) 25%, var(--ph-accent) 75%, transparent 100%);
  opacity: 0.07;
  pointer-events: none;
}

.bp-section-dark {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  background: var(--ph-bg-primary);
  position: relative;
}

.bp-section-header {
  text-align: left;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
  max-width: var(--ph-container-default);
  margin-left: 0;
  margin-right: auto;
}

.bp-section-title {
  font: var(--ph-text-h2);
  color: var(--ph-text-primary);
  letter-spacing: -0.03em;
  max-width: 640px;
}

.bp-section-header .bp-section-title::before,
.ph-news-hero-copy .bp-section-title::before,
.ph-cert-hero-copy .bp-section-title::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--ph-accent);
  margin-bottom: var(--ph-space-sm);
  border-radius: 1px;
  opacity: 0.6;
}

/* ── Section header variant: centered editorial (no accent bar) ── */
.bp-section-header--centered {
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.bp-section-header--centered .bp-section-title {
  max-width: none;
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
}

.bp-section-header--centered .bp-section-title::before {
  display: none;
}

.bp-section-header--centered .bp-section-subtitle {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* Section subtitle - editorial context line below headings, left-aligned with header */
.bp-section-subtitle {
  font: var(--ph-text-body-lg);
  color: var(--ph-text-secondary);
  text-align: left;
  max-width: 560px;
  margin-left: 0;
  margin-right: auto;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
  line-height: 1.65;
}

/* Section tag: shared eyebrow chip above section/page titles (news, certificates, ...) */
.ph-section-tag {
  display: inline-block;
  font-size: .6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--ph-accent);
  padding: .2rem .6rem;
  background: var(--ph-accent-subtle);
  border-radius: 4px;
  margin-bottom: .5rem;
}

/* ═══════════ SCROLL REVEAL ═══════════ */
.bp-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 500ms var(--ph-ease-out),
    transform 500ms var(--ph-ease-out);
}

.bp-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════ MAGNETIC BUTTON ═══════════ */
.bp-btn-magnetic {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--ph-space-2xs);
  min-height: 58px;
  padding: 0 2.25rem;
  background: linear-gradient(135deg, var(--ph-accent) 0%, var(--ph-accent-dark) 100%);
  color: var(--ph-text-on-accent);
  border: none;
  border-radius: var(--ph-radius-sm);
  font: var(--ph-text-button);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  will-change: transform;
  transition: transform 80ms var(--ph-ease-out),
    box-shadow 200ms var(--ph-ease-out);
  box-shadow: 0 2px 20px rgba(29, 139, 44, 0.30),
    0 0 0 1px rgba(255, 255, 255, 0.10) inset,
    0 8px 40px rgba(29, 139, 44, 0.08);
}

.bp-btn-magnetic:hover {
  box-shadow: 0 4px 32px rgba(29, 139, 44, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.16) inset,
    0 12px 48px rgba(29, 139, 44, 0.12);
  color: var(--ph-text-on-accent);
}

@media (prefers-reduced-motion: reduce) {
  .bp-btn-magnetic {
    transition: transform 200ms var(--ph-ease-out);
  }

  .bp-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .bp-hero-badge,
  .bp-hero-badge-dot,
  .bp-hero-title,
  .bp-hero-subtitle,
  .bp-hero-actions,
  .bp-hero-trust {
    animation: none;
  }
}

/* ═══════════ 1. HERO - statement band (2nd section; intro carries the first viewport) ═══════════ */
.bp-hero {
  position: relative;
  min-height: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
  isolation: isolate;
  padding: 0;
  /* Nền SAGE liền khối, tách hẳn khỏi #banner trắng phía trên */
  background: var(--ph-section-alt-bg);
}

.bp-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 11fr) minmax(0, 9fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
  max-width: var(--ph-container-wide);
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 2.75rem) var(--ph-space-md) clamp(1.5rem, 3vw, 2.5rem);
  width: 100%;
}

@media (max-width: 767px) {
  .bp-hero-grid {
    padding: clamp(2rem, 6vw, 2.75rem) var(--ph-space-sm) clamp(1.25rem, 4vw, 1.75rem);
  }
}

.bp-hero-content {
  display: flex;
  flex-direction: column;
  gap: var(--ph-space-md);
  min-width: 0;
}

/* ── Media column: full-bleed product tile (edge-to-edge, no inner mat) ── */
.bp-hero-media {
  min-width: 0;
}

.bp-hero-figure {
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 540px;
  aspect-ratio: 1 / 1;
  padding: 0;
  overflow: hidden;
  background: var(--ph-surface-primary);
  border: 1px solid var(--ph-border-default);
  border-radius: var(--ph-radius-lg);
  box-shadow: var(--ph-shadow-1), inset 0 2px 8px rgba(8, 51, 90, 0.05);
}

.bp-hero-figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 1024px) {
  .bp-hero-grid {
    grid-template-columns: 1fr;
    gap: clamp(1.5rem, 4vw, 2rem);
  }

  .bp-hero-figure {
    max-width: 480px;
  }
}

.bp-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--ph-space-2xs);
  padding: var(--ph-space-2xs) var(--ph-space-sm);
  background: var(--ph-warning-subtle);
  color: var(--ph-warning);
  border: 1px solid rgba(240, 168, 40, 0.12);
  border-radius: var(--ph-radius-full);
  font: var(--ph-text-overline);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: bp-fade-in 700ms var(--ph-ease-out) both;
  animation-delay: 100ms;
  width: fit-content;
}

.bp-hero-badge-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ph-warning);
  box-shadow: 0 0 8px rgba(240, 168, 40, 0.5);
  animation: bp-pulse-dot 2s ease-in-out infinite;
}

@keyframes bp-pulse-dot {

  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 8px rgba(240, 168, 40, 0.5);
  }

  50% {
    opacity: 0.25;
    box-shadow: 0 0 3px rgba(240, 168, 40, 0.15);
  }
}

.bp-hero-title {
  font-family: var(--ph-font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.25;
  color: var(--ph-text-primary);
  letter-spacing: -0.02em;
  margin: 0;
  animation: bp-fade-in 700ms var(--ph-ease-out) both;
  animation-delay: 250ms;
}

/* Headline mainline: one visual cluster "Khoảng 4.000 Vụ cháy".
   Flex with baseline alignment so the prefix/suffix labels share the
   number's baseline. Unit A (label + number) is nowrap; the suffix is
   its own wrap unit, so on narrow screens the only allowed break is
   before "Vụ cháy" (grouping preserved, never between label and number). */
.bp-hero-mainline {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 0.35em;
  margin-bottom: 0.3em;
}

.bp-hero-mainline-unit {
  display: inline-flex;
  align-items: baseline;
  column-gap: 0.3em;
  white-space: nowrap;
}

.bp-hero-stat-label {
  font-family: var(--ph-font-display);
  font-size: clamp(1rem, 1.9vw, 1.375rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ph-text-primary);
}

.bp-hero-stat-suffix {
  /* Chỉ là anchor cho suffix "Vụ cháy", KHÔNG ghi đè typography:
     kế thừa toàn bộ từ .bp-hero-stat-label (cùng element dùng cả 2 class).
     Trước đây font-weight: 700 ở đây khiến "Vụ cháy" đậm hơn "Khoảng" (600). */
}

.bp-hero-stat {
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1;
  color: var(--ph-warning);
  letter-spacing: -0.04em;
  font-family: var(--ph-font-display);
  white-space: nowrap;
}

.bp-hero-title-line {
  display: block;
}

.bp-hero-highlight {
  display: block;
  margin-top: 0.35em;
  color: var(--ph-accent-warm);
  font-weight: 600;
  /* Ở 390px dòng này xuống 2 dòng với 2 từ mồ côi ("hiện sớm.")
     -> balance chia đều thành 2 dòng chủ ý */
  text-wrap: balance;
}

@keyframes bp-fade-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.bp-hero-subtitle {
  font: var(--ph-text-body-lg);
  color: var(--ph-text-secondary);
  max-width: 720px;
  line-height: 1.75;
  margin: 0;
  animation: bp-fade-in 700ms var(--ph-ease-out) both;
  animation-delay: 400ms;
}

.bp-hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--ph-space-sm);
  animation: bp-fade-in 700ms var(--ph-ease-out) both;
  animation-delay: 550ms;
}

.bp-hero-zalo,
.bp-hero-email {
  color: var(--ph-text-secondary);
  font-weight: 600;
  text-decoration: none;
  padding: var(--ph-space-2xs) var(--ph-space-sm);
  border: 1px solid var(--ph-border-default);
  border-radius: var(--ph-radius-full);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  background: rgba(148, 166, 190, 0.03);
  transition: all 200ms var(--ph-ease-out);
}

.bp-hero-zalo:hover,
.bp-hero-email:hover {
  border-color: var(--ph-accent);
  color: var(--ph-accent);
  background: var(--ph-accent-subtle);
}

/* ── Hero trust strip ── */
.bp-hero-trust {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--ph-space-2xs);
  padding: var(--ph-space-md) var(--ph-space-md) var(--ph-space-lg);
  border-top: 1px solid var(--ph-divider);
  animation: bp-fade-in 700ms var(--ph-ease-out) both;
  animation-delay: 700ms;
}

.bp-hero-trust-row {
  display: flex;
  align-items: center;
  gap: var(--ph-space-md);
  flex-wrap: wrap;
  justify-content: center;
}

.bp-hero-trust-item {
  font: var(--ph-text-caption);
  color: var(--ph-text-muted);
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* Trust items that link out (projects, certifications) - internal linking for SEO */
.bp-hero-trust-link {
  text-decoration: none;
  transition: color 200ms var(--ph-ease-out);
}

.bp-hero-trust-link:hover {
  color: var(--ph-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.bp-hero-trust-sep {
  display: inline-block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--ph-text-muted);
  opacity: 0.3;
  flex-shrink: 0;
}

@media (max-width: 639px) {
  .bp-hero-trust {
    padding: var(--ph-space-sm) var(--ph-space-sm) var(--ph-space-md);
  }

  .bp-hero-trust-row {
    gap: var(--ph-space-xs) var(--ph-space-sm);
  }

  .bp-hero-trust-item {
    font-size: 0.6875rem;
  }
}

/* ═══════════ 2. COMPARISON ═══════════ */
.bp-section#compare {
  position: relative;
  isolation: isolate;
}

/* Subtle ambient glow behind compare section for visual depth */
.bp-section#compare::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(800px, 70vw);
  height: min(500px, 50vh);
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(29, 139, 44, 0.03) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ── Compare section 2-column layout ── */
.bp-compare-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.bp-compare-content {
  min-width: 0;
  /* prevent grid blowout */
}

/* Responsive - stack on tablet/mobile */
@media (max-width: 1023px) {
  .bp-compare-layout {
    grid-template-columns: 1fr;
    gap: clamp(1.5rem, 3vw, 2.5rem);
  }

  .bp-compare-diagram {
    max-width: 560px;
    margin: 0 auto;
  }
}

.bp-compare-grid {
  display: grid;
  position: relative;
  z-index: 1;
  grid-template-columns: 1fr 1fr;
  gap: var(--ph-space-xs);
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .bp-compare-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* Hazard icon strip - sits between section header and comparison grid */
.bp-hazards-strip {
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 3vw, 2.25rem);
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
  flex-wrap: wrap;
}

.bp-hazard-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bp-hazard-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--ph-text-secondary);
  transition: color 200ms var(--ph-ease-out);
}

.bp-hazard-item:hover .bp-hazard-icon {
  color: var(--ph-accent);
}

.bp-hazard-icon svg {
  width: 22px;
  height: 22px;
}

.bp-hazard-label {
  font: var(--ph-text-caption);
  color: var(--ph-text-secondary);
  font-weight: 500;
  white-space: nowrap;
}

@media (max-width: 639px) {
  .bp-hazards-strip {
    gap: clamp(0.75rem, 2vw, 1.25rem);
    justify-content: flex-start;
  }

  .bp-hazard-icon {
    width: 24px;
    height: 24px;
  }

  .bp-hazard-icon svg {
    width: 18px;
    height: 18px;
  }

  .bp-hazard-label {
    font-size: 0.6875rem;
  }
}

.bp-compare-col {
  padding: clamp(1rem, 2.5vw, 2rem) clamp(1rem, 2vw, 1.5rem);
}

/* ── Compare diagram - visual anchor (right column in 2-col layout) ── */
.bp-compare-diagram {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.bp-compare-diagram img {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 40px rgba(0, 0, 0, 0.35));
  border-radius: var(--ph-radius-sm);
  opacity: 0.92;
  transition: opacity 300ms var(--ph-ease-out);
}

.bp-compare-diagram img:hover {
  opacity: 1;
}

/* Hazard strip as diagram annotations */
.bp-compare-diagram .bp-hazards-strip {
  margin-top: clamp(0.75rem, 1.5vw, 1.25rem);
  margin-bottom: 0;
  opacity: 0.82;
  transition: opacity 250ms var(--ph-ease-out);
}

.bp-compare-diagram:hover .bp-hazards-strip {
  opacity: 1;
}

@media (max-width: 767px) {
  .bp-compare-diagram img {
    max-width: 100%;
  }

  .bp-compare-diagram .bp-hazards-strip {
    justify-content: center;
  }
}

.bp-compare-old {
  border-right: 1px solid var(--ph-divider);
}

.bp-compare-new {
  box-shadow: inset 0 2px 0 var(--ph-accent);
}

@media (max-width: 767px) {
  .bp-compare-old {
    border-right: none;
    border-bottom: 1px solid var(--ph-divider);
  }

  .bp-compare-new {
    box-shadow: none;
    border-left: 2px solid var(--ph-accent);
  }
}

.bp-compare-label {
  font: var(--ph-text-overline);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--ph-space-md);
  font-weight: 700;
}

.bp-compare-old .bp-compare-label {
  color: var(--ph-danger);
  opacity: 0.80;
}

.bp-compare-new .bp-compare-label {
  color: var(--ph-accent);
}

.bp-compare-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--ph-space-sm);
}

.bp-compare-list li {
  position: relative;
  padding-left: 1.75rem;
  font-size: 0.9375rem;
  color: var(--ph-text-secondary);
  line-height: 1.7;
}

.bp-compare-list li::before {
  position: absolute;
  left: 0;
  top: 2px;
  font-weight: 700;
  font-size: 0.8125rem;
}

.bp-compare-old .bp-compare-list li::before {
  content: '×';
  color: var(--ph-danger);
}

.bp-compare-new .bp-compare-list li::before {
  content: '✓';
  color: var(--ph-accent);
}

/* how-it-works mechanism - 3-step flow + explanation, distinct sub-section */
.bp-compare-how {
  max-width: var(--ph-container-default);
  margin: var(--ph-space-md) auto 0;
  border-top: 1px solid var(--ph-border-hover);
  padding: var(--ph-space-md) var(--ph-space-md) 0;
  background: var(--ph-surface-primary);
  border-radius: var(--ph-radius-md);
  border: 1px solid var(--ph-border-subtle);
  border-top: 2px solid var(--ph-accent);
}

.bp-compare-how p {
  text-align: left;
  font: var(--ph-text-body-sm);
  color: var(--ph-text-secondary);
  line-height: 1.75;
  padding: var(--ph-space-xs) 0 var(--ph-space-sm);
}

.bp-compare-how strong {
  color: var(--ph-text-primary);
  font-weight: 600;
}

.bp-how-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 3vw, 2rem);
  padding-bottom: var(--ph-space-sm);
}

.bp-how-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.bp-how-step-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--ph-accent);
  background: var(--ph-accent-subtle);
  border-radius: var(--ph-radius-sm);
}

.bp-how-step-icon svg {
  width: 28px;
  height: 28px;
}

.bp-how-step-label {
  font: var(--ph-text-caption);
  font-weight: 600;
  color: var(--ph-text-primary);
  white-space: nowrap;
}

.bp-how-step-arrow {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--ph-accent);
  opacity: 0.35;
  margin-top: -20px;
}

.bp-how-step-arrow svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 479px) {
  .bp-compare-how {
    margin: var(--ph-space-sm) auto 0;
    padding: var(--ph-space-sm) var(--ph-space-sm) 0;
  }

  .bp-how-steps {
    gap: 0.75rem;
  }

  .bp-how-step-icon {
    width: 36px;
    height: 36px;
  }

  .bp-how-step-icon svg {
    width: 22px;
    height: 22px;
  }

  .bp-how-step-label {
    font-size: 0.6875rem;
  }

  .bp-how-step-arrow {
    width: 16px;
    height: 16px;
    margin-top: -14px;
  }

  .bp-how-step-arrow svg {
    width: 16px;
    height: 16px;
  }
}

/* inline stat - closing cost-of-inaction punchline */
.bp-compare-stat {
  text-align: left;
  font: var(--ph-text-body-sm);
  color: var(--ph-text-secondary);
  line-height: 1.75;
  margin: var(--ph-space-sm) 0 0;
  padding: var(--ph-space-sm) 0 0;
  border-top: 1px solid var(--ph-divider);
}

.bp-compare-stat strong {
  color: var(--ph-accent);
  font-weight: 600;
}

/* ═══════════ 3. OBJECTIONS ═══════════ */
.bp-objections-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--ph-space-md);
}

@media (max-width: 767px) {
  .bp-objections-grid {
    grid-template-columns: 1fr;
    gap: var(--ph-space-sm);
  }
}

.bp-objection-card {
  display: flex;
  flex-direction: column;
  padding: var(--ph-space-md);
  background: var(--ph-surface-primary);
  border: 1px solid var(--ph-border-subtle);
  border-radius: var(--ph-radius-md);
  transition: border-color 200ms var(--ph-ease-out),
    transform 200ms var(--ph-ease-out),
    box-shadow 200ms var(--ph-ease-out);
  position: relative;
}

.bp-objection-card:hover {
  border-color: var(--ph-accent);
  transform: translateY(-1px);
  box-shadow: var(--ph-shadow-1);
}

/* Subtle accent dot before heading - visual anchor */
.bp-objection-card h3::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ph-accent);
  margin-right: 8px;
  vertical-align: middle;
  margin-top: -2px;
  opacity: 0.55;
}

.bp-objection-card h3 {
  font: var(--ph-text-h4);
  color: var(--ph-text-primary);
  margin-bottom: var(--ph-space-xs);
  letter-spacing: -0.01em;
}

.bp-objection-card p {
  font: var(--ph-text-body-sm);
  color: var(--ph-text-secondary);
  line-height: 1.7;
  flex: 1;
}

.bp-objection-card p strong {
  color: var(--ph-text-primary);
}

.bp-objection-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--ph-space-2xs);
  margin-top: var(--ph-space-xs);
  font: var(--ph-text-caption);
  font-weight: 600;
  color: var(--ph-accent);
  text-decoration: none;
  padding: var(--ph-space-2xs) 0;
  transition: color 200ms var(--ph-ease-out),
    gap 200ms var(--ph-ease-out);
}

.bp-objection-cta:hover {
  color: var(--ph-accent-hover);
  gap: var(--ph-space-xs);
}

/* ── Objections 2-column layout (content grid + visual) ── */
.bp-objections-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

@media (max-width: 1023px) {
  .bp-objections-layout {
    grid-template-columns: 1fr;
    gap: clamp(1.25rem, 2.5vw, 2rem);
  }
}

.bp-objections-content {
  min-width: 0;
}

/* ── Right column: product visual ── */
.bp-objections-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 1023px) {
  .bp-objections-visual {
    max-width: 320px;
    margin: 0 auto;
  }
}

.bp-objections-product {
  position: relative;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Ambient halo - subtle green glow, lighter than hero */
.bp-objections-product::before {
  content: '';
  position: absolute;
  inset: -6%;
  border-radius: 50%;
  background: radial-gradient(ellipse 50% 45% at 50% 50%, rgba(29, 139, 44, 0.07) 0%, transparent 55%);
  filter: blur(42px);
  z-index: 0;
}

.bp-objections-product img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border-radius: var(--ph-radius-md);
  object-fit: contain;
  transition: transform 600ms var(--ph-ease-out);
}

.bp-objections-product:hover img {
  transform: scale(1.03);
}

/* ── Q5 CTA banner - editorial accent row below the 2-column grid ── */
.bp-objections-cta-banner {
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
}

.bp-objections-cta-banner .bp-objection-card {
  flex-direction: row;
  align-items: center;
  gap: var(--ph-space-lg);
  background: var(--ph-accent-subtle);
  border-color: var(--ph-accent);
  border-left: 3px solid var(--ph-accent);
  padding: var(--ph-space-md) var(--ph-space-lg);
}

.bp-objections-cta-banner .bp-objection-card h3 {
  color: var(--ph-accent);
  flex-shrink: 0;
  margin-bottom: 0;
  white-space: nowrap;
}

.bp-objections-cta-banner .bp-objection-card p {
  flex: 1;
  min-width: 0;
}

.bp-objections-cta-banner .bp-objection-card .bp-objection-cta {
  color: var(--ph-accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0;
}

.bp-objections-cta-banner .bp-objection-card:hover {
  background: rgba(29, 139, 44, 0.10);
  border-color: var(--ph-accent);
}

@media (max-width: 767px) {
  .bp-objections-cta-banner .bp-objection-card {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--ph-space-sm);
    padding: var(--ph-space-md);
  }

  .bp-objections-cta-banner .bp-objection-card h3 {
    margin-bottom: var(--ph-space-2xs);
    white-space: normal;
  }

  .bp-objections-cta-banner .bp-objection-card .bp-objection-cta {
    margin-top: var(--ph-space-xs);
  }
}

/* ═══════════ 1. PRODUCT INTRO - first section, carries the fixed-header offset ═══════════ */
/* Product-first: eyebrow + H1 + desc + 3 value points left, recessed product visual right.
   Uses the page-standard .container-wide (1280px) - no custom max-width. */

#banner {
  padding-top: calc(var(--ph-header-h) + clamp(2rem, 3.5vw, 3rem));
  /* Section chính: nền trắng (light) / navy (dark) để tách khỏi bp-hero SAGE phía dưới */
  background: var(--ph-bg-primary);
}

@media (max-width: 479px) {
  #banner {
    padding-top: calc(var(--ph-header-h) + clamp(1.5rem, 4vw, 2rem));
  }
}

.bp-intro-layout {
  display: grid;
  grid-template-columns: minmax(0, 9fr) minmax(0, 11fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.bp-intro-content {
  min-width: 0;
}

.bp-intro-eyebrow {
  font: var(--ph-text-overline);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ph-accent);
  margin: 0 0 0.75rem;
}

.bp-intro-title {
  font-family: var(--ph-font-display);
  font-size: clamp(2rem, 3.2vw, 2.625rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--ph-text-primary);
  margin: 0 0 1rem;
}

/* ── Highlight line: accent-colored supporting message under the H1 ── */
.bp-intro-highlight {
  font-family: var(--ph-font-display);
  font-size: clamp(1.125rem, 1.8vw, 1.375rem);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--ph-text-accent);
  margin: 0 0 1.25rem;
}

.bp-intro-desc {
  font: var(--ph-text-body-lg);
  color: var(--ph-text-secondary);
  max-width: 56ch;
  margin: 0 0 clamp(1.5rem, 3vw, 2rem);
}

/* ── CTA row: primary (products) + ghost (in-page anchor) ── */
.bp-intro-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--ph-space-sm);
}

.bp-intro-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 1.75rem;
  background: transparent;
  color: var(--ph-text-primary);
  border: 1px solid var(--ph-border-hover);
  border-radius: var(--ph-radius-sm);
  font: var(--ph-text-button);
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color var(--ph-duration-fast) var(--ph-ease-out),
    color var(--ph-duration-fast) var(--ph-ease-out),
    background var(--ph-duration-fast) var(--ph-ease-out);
}

.bp-intro-ghost:hover {
  border-color: var(--ph-border-active);
  color: var(--ph-text-accent);
  background: var(--ph-accent-subtle);
}

/* ── Value points: full-width 3-col strip below the intro row ── */
.bp-intro-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin: clamp(2.5rem, 5vw, 4rem) 0 0;
  padding: clamp(2rem, 4vw, 3rem) 0 0;
  border-top: 1px solid var(--ph-divider);
  list-style: none;
}

.bp-intro-point {
  display: flex;
  align-items: flex-start;
  gap: var(--ph-space-sm);
}

.bp-intro-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  margin-top: 0.125rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ph-accent);
  background: var(--ph-accent-subtle);
  border-radius: var(--ph-radius-sm);
}

.bp-intro-icon svg {
  width: 17px;
  height: 17px;
}

.bp-intro-point-body {
  min-width: 0;
}

.bp-intro-point-title {
  display: block;
  font-family: var(--ph-font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ph-text-primary);
  letter-spacing: -0.01em;
  margin: 0 0 0.25rem;
}

.bp-intro-point-desc {
  font: var(--ph-text-body-sm);
  color: var(--ph-text-muted);
  line-height: 1.6;
  max-width: 54ch;
  margin: 0;
}

/* ── Media column: brand video on a navy screen (video = visual chính) ── */
.bp-intro-media {
  position: relative;
  min-width: 0;
}

.bp-intro-video {
  margin: 0;
}

.bp-intro-video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  overflow: hidden;
  background: var(--ph-bg-footer);
  border: 1px solid var(--ph-border-default);
  border-radius: var(--ph-radius-lg);
  box-shadow: var(--ph-shadow-2);
}

.bp-intro-video-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: var(--ph-bg-footer);
}

.bp-intro-video-poster {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--ph-space-sm);
  padding: var(--ph-space-md);
  text-align: center;
  pointer-events: none;
  background:
    radial-gradient(ellipse 65% 75% at 50% 42%, var(--ph-accent-glow) 0%, transparent 70%),
    var(--ph-bg-footer);
}

.bp-intro-video-poster[hidden] {
  display: none;
}

.bp-intro-video-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: var(--ph-radius-full);
  background: var(--ph-text-inverse);
  color: var(--ph-bg-footer);
  box-shadow: var(--ph-shadow-2);
}

.bp-intro-video-play svg {
  width: 26px;
  height: 26px;
}

.bp-intro-video-label {
  font: var(--ph-text-overline);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  max-width: 34ch;
}

@media (max-width: 1023px) {
  .bp-intro-layout {
    grid-template-columns: 1fr;
    gap: clamp(1.5rem, 4vw, 2.5rem);
  }

  .bp-intro-media {
    width: 100%;
    max-width: 620px;
    margin: 0 auto;
  }

  .bp-intro-points {
    grid-template-columns: 1fr;
    gap: clamp(1.25rem, 3vw, 1.75rem);
  }
}

@media (max-width: 639px) {
  .bp-intro-video-play {
    width: 52px;
    height: 52px;
  }

  .bp-intro-video-play svg {
    width: 22px;
    height: 22px;
  }
}

/* ═══════════ 4. PRODUCTS ═══════════ */
.bp-persona-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--ph-space-sm);
  margin-bottom: clamp(2rem, 3.5vw, 3rem);
}

@media (max-width: 1023px) {
  .bp-persona-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 479px) {
  .bp-persona-strip {
    grid-template-columns: 1fr;
    gap: var(--ph-space-xs);
  }
}

.bp-persona-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--ph-space-xs);
  padding: var(--ph-space-md) var(--ph-space-sm);
  background: var(--ph-surface-primary);
  border: 1px solid var(--ph-border-default);
  border-radius: var(--ph-radius-lg);
  text-decoration: none;
  text-align: center;
  transition: border-color 200ms var(--ph-ease-out),
    transform 200ms var(--ph-ease-out);
}

.bp-persona-item:hover {
  border-color: var(--ph-accent);
  transform: translateY(-2px);
}

.bp-persona-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--ph-radius-md);
  margin-bottom: var(--ph-space-2xs);
  transition: background 200ms var(--ph-ease-out);
  color: var(--ph-text-muted);
}

.bp-persona-item:hover .bp-persona-icon {
  background: var(--ph-accent-subtle);
  color: var(--ph-accent);
}

.bp-persona-icon svg {
  width: 22px;
  height: 22px;
  transition: color 200ms var(--ph-ease-out);
}

.bp-persona-label {
  font: var(--ph-text-body-sm);
  font-weight: 600;
  color: var(--ph-text-primary);
}

.bp-persona-hint {
  font: var(--ph-text-caption);
  color: var(--ph-accent);
  font-weight: 500;
}

/* ── Tier cards ── */
.bp-product-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--ph-space-md);
  margin-bottom: var(--ph-space-md);
}

@media (max-width: 1023px) {
  .bp-product-tiers {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    gap: var(--ph-space-md);
  }
}

.bp-tier-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--ph-surface-primary);
  border: 1px solid var(--ph-border-default);
  border-radius: var(--ph-radius-lg);
  overflow: hidden;
  box-shadow: var(--ph-shadow-1);
  transition: border-color 200ms var(--ph-ease-out),
    transform 300ms var(--ph-ease-spring);
}

.bp-tier-card:hover {
  border-color: var(--ph-accent);
  transform: translateY(-3px);
}

/* Featured tier - subtle emphasis to break cookie-cutter 3-card pattern */
#tier-thuong-mai {
  border-color: var(--ph-accent);
  box-shadow: 0 0 0 1px rgba(29, 139, 44, 0.10), var(--ph-shadow-2);
}

[data-theme="light"] #tier-thuong-mai {
  box-shadow: 0 0 0 1px rgba(29, 139, 44, 0.18), var(--ph-shadow-2);
}

.bp-tier-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse 55% 60% at 50% 55%, rgba(29, 139, 44, 0.06) 0%, transparent 65%),
    radial-gradient(ellipse 80% 15% at 50% 92%, rgba(29, 139, 44, 0.10) 0%, transparent 50%),
    linear-gradient(180deg, var(--ph-bg-tertiary) 0%, #0f1f35 60%, #0a1628 100%);
  position: relative;
  overflow: hidden;
}

/* Industrial dot-grid overlay - subtle precision cue */
.bp-tier-img::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: radial-gradient(circle, rgba(148, 166, 190, 0.06) 1px, transparent 1px);
  background-size: 16px 16px;
  opacity: 0.35;
  pointer-events: none;
}

.bp-tier-img::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 45% 35% at 50% 45%, rgba(29, 139, 44, 0.14) 0%, transparent 60%),
    radial-gradient(ellipse 35% 25% at 30% 30%, rgba(196, 160, 64, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.bp-tier-img img {
  position: relative;
  z-index: 1;
  width: 78%;
  height: 78%;
  object-fit: contain;
  filter: drop-shadow(0 24px 52px rgba(0, 0, 0, 0.58)) drop-shadow(0 0 20px rgba(29, 139, 44, 0.05));
  transition: transform 600ms var(--ph-ease-out),
    filter 600ms var(--ph-ease-out);
}

/* Tier image link - wraps product image, routes to products page */
.bp-tier-img-link {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  cursor: pointer;
}

.bp-tier-img-link:focus-visible {
  outline: none;
  border-radius: var(--ph-radius-md);
  box-shadow: 0 0 0 2px var(--ph-bg-primary), 0 0 0 4px var(--ph-accent);
}

/* Re-apply image styles inside the <a> wrapper */
.bp-tier-img-link img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.bp-tier-card:hover .bp-tier-img img {
  transform: scale(1.06);
  filter: drop-shadow(0 28px 60px rgba(0, 0, 0, 0.64)) drop-shadow(0 0 32px rgba(29, 139, 44, 0.10));
}

.bp-tier-card:hover .bp-tier-img-link img {
}

[data-theme="light"] .bp-tier-img {
  background:
    radial-gradient(ellipse 55% 60% at 50% 55%, rgba(22, 138, 58, 0.04) 0%, transparent 65%),
    radial-gradient(ellipse 80% 15% at 50% 92%, rgba(22, 138, 58, 0.06) 0%, transparent 50%),
    linear-gradient(180deg, #F3F6F1 0%, #E8F0E9 60%, #DCE8DF 100%);
}

[data-theme="light"] .bp-tier-img::after {
  background-image: radial-gradient(circle, rgba(8, 51, 90, 0.06) 1px, transparent 1px);
}

/* Light-theme image: subtle navy-tinted shadow (not the heavy black drop-shadow of dark theme) */
[data-theme="light"] .bp-tier-img img {
  filter: drop-shadow(0 4px 12px rgba(8, 51, 90, 0.08)) drop-shadow(0 0 16px rgba(22, 138, 58, 0.04));
}

[data-theme="light"] .bp-tier-img-link img {
}

[data-theme="light"] .bp-tier-card:hover .bp-tier-img img {
  filter: drop-shadow(0 6px 18px rgba(8, 51, 90, 0.12)) drop-shadow(0 0 24px rgba(22, 138, 58, 0.06));
}

[data-theme="light"] .bp-tier-card:hover .bp-tier-img-link img {
}

.bp-tier-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: var(--ph-space-md);
  text-align: center;
}

.bp-tier-content h3 {
  font: var(--ph-text-h3);
  color: var(--ph-text-primary);
  margin-bottom: var(--ph-space-2xs);
  letter-spacing: -0.02em;
}

/* Tier title link - routes product tier name to products page */
.bp-tier-title-link {
  text-decoration: none;
  color: inherit;
  display: inline-block;
  border-radius: var(--ph-radius-xs);
  transition: color 200ms var(--ph-ease-out);
}

.bp-tier-title-link:hover {
  color: var(--ph-accent);
}

.bp-tier-title-link:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--ph-bg-primary), 0 0 0 4px var(--ph-accent);
}

.bp-tier-title-link h3 {
  margin: 0;
  color: inherit;
}

.bp-tier-who {
  font: var(--ph-text-caption);
  color: var(--ph-accent-warm);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: var(--ph-space-sm);
}

.bp-tier-why {
  font: var(--ph-text-body-sm);
  color: var(--ph-text-secondary);
  line-height: 1.7;
  flex: 1;
  margin-bottom: var(--ph-space-md);
}

.bp-tier-specs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--ph-space-sm);
  flex-wrap: wrap;
  margin-bottom: var(--ph-space-lg);
}

.bp-tier-price {
  font-family: var(--ph-font-display);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--ph-accent);
  letter-spacing: -0.02em;
}

.bp-tier-range {
  font-family: var(--ph-font-mono);
  font-size: 0.75rem;
  color: var(--ph-text-muted);
  font-weight: 500;
  letter-spacing: 0.04em;
  background: var(--ph-surface-primary);
  padding: var(--ph-space-2xs) var(--ph-space-sm);
  border: 1px solid var(--ph-border-subtle);
  border-radius: var(--ph-radius-full);
}

.bp-tier-cta {
  display: block;
  width: 100%;
  text-align: center;
  padding: var(--ph-space-sm) var(--ph-space-md);
  background: transparent;
  border: var(--ph-border-width-medium) solid var(--ph-accent);
  color: var(--ph-accent);
  border-radius: var(--ph-radius-sm);
  font: var(--ph-text-button-sm);
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: all 200ms var(--ph-ease-out);
}

.bp-tier-cta:hover {
  background: var(--ph-accent-subtle);
  color: var(--ph-accent-hover);
  border-color: var(--ph-accent-hover);
}

.bp-product-help {
  text-align: center;
  font: var(--ph-text-body-sm);
  color: var(--ph-text-secondary);
  padding-top: var(--ph-space-lg);
  border-top: 1px solid var(--ph-divider);
}

.bp-product-help a {
  color: var(--ph-accent);
  font-weight: 600;
  text-decoration: none;
}

.bp-product-help a:hover {
  color: var(--ph-accent-hover);
}

/* ═══════════ 5. CERTIFICATIONS ═══════════ */

.bp-section-cert {
  padding: clamp(1.5rem, 3vw, 2.5rem) 0;
}

.bp-section-cert .bp-section-header {
  margin-bottom: clamp(1rem, 2vw, 1.75rem);
}

/* ── Certificate detail cards - 4-column horizontal row ── */
.bp-cert-details {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--ph-space-md);
}

@media (max-width: 1023px) {
  .bp-cert-details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 639px) {
  .bp-cert-details {
    grid-template-columns: 1fr;
    gap: var(--ph-space-sm);
  }
}

.bp-cert-detail-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--ph-space-lg) var(--ph-space-md);
  background: var(--ph-surface-primary);
  border: 1px solid var(--ph-border-subtle);
  border-radius: var(--ph-radius-md);
  transition: border-color 200ms var(--ph-ease-out),
    box-shadow 200ms var(--ph-ease-out),
    transform 200ms var(--ph-ease-out);
  height: 100%;
}

.bp-cert-detail-card:hover {
  border-color: var(--ph-accent);
  box-shadow: var(--ph-shadow-1);
  transform: translateY(-2px);
}

/* Uniform 220px frame; the white frame hugs each document (fit-content),
   so portrait documents stay narrow and landscape ones stay wide - no big
   empty side bands. Image keeps its real ratio via max-width/max-height:
   no forced crop, no distortion, no letterbox. */
.bp-cert-card-img {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--ph-border-subtle);
  border-radius: var(--ph-radius-sm);
  overflow: hidden;
  margin: 0 auto var(--ph-space-sm);
  padding: 6px;
  width: fit-content;
  max-width: 100%;
  height: 220px;
}

.bp-cert-card-img img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Cert clickable (lightbox trigger) */
.bp-cert-clickable {
  cursor: pointer;
  transition: transform 200ms var(--ph-ease-out), box-shadow 200ms var(--ph-ease-out);
}

.bp-cert-clickable:hover {
  transform: scale(1.04);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.bp-cert-clickable:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--ph-accent);
}

.bp-cert-card-text {
  flex: 1;
  min-width: 0;
}

.bp-cert-card-text h3 {
  font: var(--ph-text-h4);
  color: var(--ph-text-primary);
  margin-bottom: var(--ph-space-2xs);
  letter-spacing: -0.01em;
}

.bp-cert-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1rem, 2vw, 1.5rem);
}

@media (min-width: 1200px) {
  .bp-cert-gallery {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 767px) {
  .bp-cert-gallery {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

/* ── Card: image above, text below, equal weight ── */
.bp-cert-card {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  min-width: 0;
  /* prevent overflow in grid children */
}

.bp-cert-trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 3 / 2;
  background:
    radial-gradient(ellipse 50% 40% at 50% 50%, rgba(29, 139, 44, 0.04) 0%, transparent 70%),
    var(--ph-surface-primary);
  border: 1px solid var(--ph-border-default);
  border-radius: var(--ph-radius-md);
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  transition: border-color 200ms var(--ph-ease-out),
    box-shadow 200ms var(--ph-ease-out),
    transform 200ms var(--ph-ease-out);
  -webkit-tap-highlight-color: transparent;
  position: relative;
}

/* Inner passport-style frame for certificate thumbnails */
.bp-cert-trigger::after {
  content: '';
  position: absolute;
  inset: 8px;
  z-index: 2;
  border: 1px solid rgba(148, 166, 190, 0.06);
  border-radius: 4px;
  pointer-events: none;
  transition: border-color 200ms var(--ph-ease-out);
}

.bp-cert-trigger:hover {
  border-color: var(--ph-border-hover);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.30);
  transform: translateY(-2px);
}

.bp-cert-trigger:hover::after {
  border-color: rgba(29, 139, 44, 0.15);
}

.bp-cert-trigger:focus-visible {
  outline: none;
  box-shadow: var(--ph-focus-ring);
}

.bp-cert-trigger img {
  display: block;
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
  background: #fff;
  transition: transform 300ms var(--ph-ease-out);
}

.bp-cert-trigger:hover img {
  transform: scale(1.03);
}

.bp-cert-title {
  font: var(--ph-text-body-sm);
  font-weight: 600;
  color: var(--ph-text-primary);
  letter-spacing: -0.01em;
  margin: 0;
  text-align: center;
}

.bp-cert-desc {
  font: var(--ph-text-caption);
  color: var(--ph-text-muted);
  line-height: 1.5;
  margin: 0;
  text-align: center;
}

/* ── Lightbox ── */
.bp-lightbox {
  position: fixed;
  inset: 0;
  z-index: var(--ph-z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.bp-lightbox[hidden] {
  display: none;
}

.bp-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  cursor: pointer;
}

.bp-lightbox-close {
  position: absolute;
  top: clamp(1rem, 3vw, 1.5rem);
  right: clamp(1rem, 3vw, 1.5rem);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: var(--ph-radius-full);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background 200ms var(--ph-ease-out);
}

.bp-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.18);
}

.bp-lightbox-close:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px #000, 0 0 0 4px #fff;
}

.bp-lightbox-stage {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1000px;
  max-height: 85vh;
}

.bp-lightbox-stage img {
  display: block;
  max-width: 100%;
  max-height: 85vh;
  width: auto;
  height: auto;
  object-fit: contain;
  background: #fff;
  border-radius: var(--ph-radius-sm);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

/* ═══════════ 7. OFFER ═══════════ */
.bp-offer {
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(4rem, 8vw, 6.5rem);
  text-align: center;
  background: linear-gradient(180deg, var(--ph-bg-secondary) 0%, var(--ph-bg-secondary) 70%, var(--ph-bg-primary) 100%);
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

/* Focal glow - draws eye to center, anchors the CTA visually */
.bp-offer::before {
  content: '';
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -30%);
  width: min(700px, 80vw);
  height: min(500px, 60vh);
  background: radial-gradient(ellipse 50% 50% at 50% 50%,
      rgba(29, 139, 44, 0.035) 0%,
      rgba(196, 160, 64, 0.015) 30%,
      transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.bp-offer .container-tight {
  position: relative;
  z-index: 1;
}

/* ═══════════ FAQ - Stacked Accordion ═══════════ */
.bp-faq {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  background: var(--ph-bg-primary);
  position: relative;
}

/* Subtle top separator */
.bp-faq::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--ph-divider) 20%, var(--ph-divider) 80%, transparent 100%);
}

/* ── Stacked accordion panel ── */
.bp-faq-panel {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--ph-border-subtle);
  border-radius: var(--ph-radius-lg);
  overflow: hidden;
  margin-top: clamp(1.25rem, 2.5vw, 2rem);
}

/* ── Each FAQ item ── */
.bp-faq-item {
  border-bottom: 1px solid var(--ph-border-subtle);
}

.bp-faq-item:last-child {
  border-bottom: none;
}

/* ── Question tab ── */
.bp-faq-tab {
  display: flex;
  align-items: center;
  gap: var(--ph-space-sm);
  width: 100%;
  padding: var(--ph-space-md) var(--ph-space-lg);
  background: var(--ph-surface-primary);
  border: none;
  text-align: left;
  cursor: pointer;
  transition: background 200ms var(--ph-ease-out);
  position: relative;
  font-family: inherit;
}

.bp-faq-tab:hover {
  background: var(--ph-surface-primary);
}

.bp-faq-tab.active {
  background: var(--ph-surface-primary);
}

/* Question label */
.bp-faq-label {
  flex: 1;
  font: var(--ph-text-body-sm);
  font-weight: 500;
  color: var(--ph-text-secondary);
  letter-spacing: -0.01em;
  line-height: 1.5;
  transition: color 200ms var(--ph-ease-out);
}

.bp-faq-tab.active .bp-faq-label {
  color: var(--ph-text-primary);
  font-weight: 600;
}

/* Chevron indicator */
.bp-faq-chevron {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  position: relative;
  transition: transform 250ms var(--ph-ease-out);
}

.bp-faq-chevron::before,
.bp-faq-chevron::after {
  content: '';
  position: absolute;
  background: var(--ph-text-muted);
  transition: background 200ms var(--ph-ease-out),
    transform 250ms var(--ph-ease-out);
}

.bp-faq-chevron::before {
  top: 7px;
  left: 3px;
  width: 10px;
  height: 1.5px;
}

.bp-faq-chevron::after {
  top: 3px;
  left: 7px;
  width: 1.5px;
  height: 10px;
}

.bp-faq-tab.active .bp-faq-chevron {
  transform: rotate(45deg);
}

.bp-faq-tab.active .bp-faq-chevron::before,
.bp-faq-tab.active .bp-faq-chevron::after {
  background: var(--ph-accent);
}

/* ── Answer panel ── */
.bp-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 350ms var(--ph-ease-out),
    opacity 250ms var(--ph-ease-out);
  opacity: 0;
}

.bp-faq-answer.is-active {
  max-height: 300px;
  opacity: 1;
}

.bp-faq-answer p {
  padding: 0 var(--ph-space-lg) var(--ph-space-md);
  font: var(--ph-text-body-sm);
  color: var(--ph-text-secondary);
  line-height: 1.7;
  max-width: 720px;
}

/* ── CTA link ── */
.bp-faq-all {
  display: inline-flex;
  align-items: center;
  gap: var(--ph-space-2xs);
  margin-top: var(--ph-space-md);
  font: var(--ph-text-body-sm);
  font-weight: 600;
  color: var(--ph-accent);
  text-decoration: none;
  transition: color 200ms var(--ph-ease-out),
    gap 200ms var(--ph-ease-out);
}

.bp-faq-all:hover {
  color: var(--ph-accent-hover);
  gap: var(--ph-space-xs);
}

/* ── Responsive ── */
@media (max-width: 767px) {
  .bp-faq-tab {
    padding: var(--ph-space-sm) var(--ph-space-md);
  }

  .bp-faq-answer p {
    padding: 0 var(--ph-space-md) var(--ph-space-sm);
  }

  .bp-faq-label {
    font-size: 0.8125rem;
  }
}

/* ═══════════════════════════════════════════════════════
   INTERNAL PAGE VISUAL SYSTEM
   Compact heroes, section rhythm, content grids
   ═══════════════════════════════════════════════════════ */

/* ── Internal Page Hero - compact, intentional ── */
.bp-internal-hero {
  padding: clamp(4rem, 7vw, 5.5rem) 0 clamp(1.25rem, 2.5vw, 2rem);
  text-align: center;
  position: relative;
}

/* First section of contact/404/policy pages: clears the fixed header (top bar in flow) */
main > section:first-child.bp-internal-hero {
  padding-top: calc(var(--ph-header-h) + clamp(1.5rem, 3vw, 2.5rem));
}

.bp-internal-hero .bp-section-title {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Internal hero: section headers center by default (hero is centered moment) */
.bp-internal-hero .bp-section-header {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.bp-internal-hero .bp-section-header .bp-section-title::before {
  margin-left: auto;
  margin-right: auto;
}

.bp-internal-hero .bp-section-subtitle {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* Override the default left-accent bar on internal pages */
.bp-internal-hero .bp-section-title::before {
  display: none;
}

.bp-internal-hero-desc {
  max-width: 680px;
  margin: 0.75rem auto 0;
  color: var(--ph-text-secondary);
  font-size: 1.0625rem;
  line-height: 1.7;
}

/* ── Internal section rhythm variants ── */
.bp-section-sm {
  padding: clamp(1rem, 2vw, 1.75rem) 0;
}

.bp-section-md {
  padding: clamp(1.5rem, 3vw, 2.5rem) 0;
}

.bp-section-lg {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.bp-section-xl {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

/* ── Internal section heading ── */
.bp-section-heading {
  font: var(--ph-text-h2);
  color: var(--ph-text-primary);
  margin-bottom: 1.25rem;
  text-align: center;
  letter-spacing: -0.03em;
}

/* ── Content grid widths ── */
.bp-content-wide {
  max-width: var(--ph-container-wide);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--ph-space-md);
  padding-right: var(--ph-space-md);
}

.bp-content-default {
  max-width: var(--ph-container-default);
  margin-left: auto;
  margin-right: auto;
}

.bp-content-narrow {
  max-width: var(--ph-container-narrow);
  margin-left: auto;
  margin-right: auto;
}

.bp-content-tight {
  max-width: var(--ph-container-tight);
  margin-left: auto;
  margin-right: auto;
}

/* ── Card surface - consistent B2B card treatment ── */
.bp-card {
  background: var(--ph-surface-primary);
  border: 1px solid var(--ph-border-default);
  border-radius: var(--ph-radius-md);
  transition: border-color var(--ph-duration-fast) var(--ph-ease-out),
    transform var(--ph-duration-normal) var(--ph-ease-spring);
}

.bp-card:hover {
  border-color: var(--ph-accent);
  transform: translateY(-2px);
}

/* ── Section separator - subtle, not a heavy divider ── */
.bp-sep {
  border: none;
  border-top: 1px solid var(--ph-divider);
  margin: 0;
}

/* ── Placeholder image container - honest, marked for replacement ── */
.bp-placeholder-visual {
  margin-bottom: clamp(2rem, 3.5vw, 3rem);
  max-width: var(--ph-container-wide);
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.bp-placeholder-visual img {
  width: 100%;
  height: auto;
  border-radius: var(--ph-radius-md);
  border: 1px dashed var(--ph-border-hover);
  display: block;
}

/* Overlay label - reinforces "this is a placeholder" */
.bp-placeholder-visual::after {
  content: '';
  position: absolute;
  bottom: 12px;
  right: 16px;
  font: var(--ph-text-caption);
  color: var(--ph-text-muted);
  opacity: 0.45;
  letter-spacing: 0.04em;
  pointer-events: none;
}

/* ── Two-column editorial ── */
.bp-editorial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}

@media (max-width: 767px) {
  .bp-editorial-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Three-column card grid ── */
.bp-card-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

@media (max-width: 1023px) {
  .bp-card-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 639px) {
  .bp-card-grid-3 {
    grid-template-columns: 1fr;
  }
}

/* ── Four-column card grid ── */
.bp-card-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

@media (max-width: 1023px) {
  .bp-card-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 639px) {
  .bp-card-grid-4 {
    grid-template-columns: 1fr;
  }
}

/* ── Auto-fit grid (flexible columns) ── */
.bp-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

/* ── Process steps row ── */
.bp-process-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}

.bp-process-row .bp-process-item {
  text-align: center;
  padding: 1.25rem 0.75rem;
  background: var(--ph-surface-primary);
  border: 1px solid var(--ph-border-default);
  position: relative;
  transition: border-color var(--ph-duration-fast);
}

.bp-process-row .bp-process-item:first-child {
  border-radius: var(--ph-radius-md) 0 0 var(--ph-radius-md);
}

.bp-process-row .bp-process-item:last-child {
  border-radius: 0 var(--ph-radius-md) var(--ph-radius-md) 0;
}

.bp-process-row .bp-process-item:not(:last-child) {
  border-right: none;
}

.bp-process-row .bp-process-item:hover {
  border-color: var(--ph-accent);
  z-index: 1;
}

.bp-process-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ph-accent-subtle);
  color: var(--ph-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  font-family: var(--ph-font-mono);
  margin: 0 auto 0.5rem;
}

.bp-process-icon {
  font-size: 1.25rem;
  display: block;
  margin-bottom: 0.35rem;
}

.bp-process-item h4 {
  font: var(--ph-text-h5);
  color: var(--ph-text-primary);
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.bp-process-item p {
  font-size: 0.75rem;
  color: var(--ph-text-secondary);
  line-height: 1.5;
}

@media (max-width: 767px) {
  .bp-process-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .bp-process-row .bp-process-item,
  .bp-process-row .bp-process-item:first-child,
  .bp-process-row .bp-process-item:last-child {
    border-radius: var(--ph-radius-md);
    border-right: 1px solid var(--ph-border-default);
  }
}

/* ── Stats row ── */
.bp-stats-row {
  display: flex;
  justify-content: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  flex-wrap: wrap;
}

.bp-stat-item {
  text-align: center;
  min-width: 120px;
}

.bp-stat-value {
  font-family: var(--ph-font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--ph-accent);
  line-height: 1.1;
}

.bp-stat-label {
  font-size: 0.8125rem;
  color: var(--ph-text-muted);
  margin-top: 0.25rem;
  font-weight: 500;
}

/* ── Feature list (compact, no cards) ── */
.bp-feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.bp-feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 1.25rem;
  background: var(--ph-surface-primary);
  border: 1px solid var(--ph-border-subtle);
  border-radius: var(--ph-radius-md);
  transition: border-color var(--ph-duration-fast);
}

.bp-feature-item:hover {
  border-color: var(--ph-accent);
}

.bp-feature-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: var(--ph-radius-sm);
  background: var(--ph-accent-subtle);
  color: var(--ph-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

.bp-feature-item h3 {
  font: var(--ph-text-h4);
  color: var(--ph-text-primary);
  margin-bottom: 0.15rem;
  font-size: 0.9375rem;
}

.bp-feature-item p {
  font-size: 0.8125rem;
  color: var(--ph-text-secondary);
  line-height: 1.55;
}

/* ── Values grid (centered icon + label) ── */
.bp-values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
}

.bp-value-item {
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--ph-surface-primary);
  border: 1px solid var(--ph-border-default);
  border-radius: var(--ph-radius-md);
  transition: border-color var(--ph-duration-fast);
}

.bp-value-item:hover {
  border-color: var(--ph-accent);
}

.bp-value-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ph-accent-subtle);
  color: var(--ph-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  font-family: var(--ph-font-mono);
  margin: 0 auto 0.85rem;
}

.bp-value-item h3 {
  font: var(--ph-text-h4);
  color: var(--ph-text-primary);
  margin-bottom: 0.35rem;
}

.bp-value-item p {
  font-size: 0.8125rem;
  color: var(--ph-text-secondary);
  line-height: 1.55;
}
