/*
 * Incremental B2B polish for the five pages revised in this session.
 * Existing page layouts, colors and depth files remain the source of truth;
 * this layer only clarifies elevation, grouping and scan order.
 */

/* Give the three flatter pages a stronger entry edge without replacing their
   existing hero treatment. SIP and OEM already have dedicated hero depth. */
.b2b-business-center-page .page-hero,
.b2b-production-page .page-hero,
.b2b-sip-article-page .page-hero-article {
  border-bottom-color: var(--copper);
  box-shadow: 0 12px 28px rgba(16, 24, 32, .10);
}

/* The SIP hero is dark. The shared .btn-wa defaults to dark text for light
   surfaces, so keep this one inverse action readable. */
.poe-sip-page .page-hero .btn-wa {
  color: #fff;
  background: rgba(255, 255, 255, .04);
  border-color: rgba(214, 228, 232, .42);
  box-shadow: 0 9px 20px rgba(0, 0, 0, .14);
}

.poe-sip-page .page-hero .btn-wa:hover,
.poe-sip-page .page-hero .btn-wa:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, .13);
  border-color: rgba(255, 255, 255, .72);
}

.b2b-premium-page .wa-inline-icon {
  display: inline-block;
  width: 1.1em;
  height: 1.1em;
  flex: 0 0 1.1em;
  vertical-align: -.12em;
}

.b2b-premium-page .section-head {
  max-width: 820px;
}

.b2b-premium-page .section-title {
  letter-spacing: -.018em;
}

/* Evidence cards: a quiet shadow, a visible edge and one technical accent
   line. No grid, markup or card dimensions are changed. */
.b2b-business-center-page .card-jbss,
.b2b-production-page .card-jbss {
  position: relative;
  overflow: hidden;
  border-color: #d7dfe2;
  box-shadow: 0 10px 24px rgba(16, 24, 32, .07), 0 2px 5px rgba(16, 24, 32, .04);
}

.b2b-business-center-page .card-jbss::before,
.b2b-production-page .card-jbss::before {
  position: absolute;
  top: 0;
  right: 18px;
  left: 18px;
  height: 2px;
  background: var(--copper);
  content: '';
}

.b2b-production-page .card-jbss::before {
  background: var(--secondary);
}

.b2b-business-center-page .card-jbss:hover,
.b2b-production-page .card-jbss:hover {
  box-shadow: 0 16px 32px rgba(16, 24, 32, .11), 0 3px 8px rgba(16, 24, 32, .05);
}

/* Tables are procurement evidence, so lift the complete wrapper rather than
   decorating individual cells. Existing table colors are preserved. */
.b2b-business-center-page .table-wrap,
.b2b-production-page .table-wrap {
  border-color: #d7dfe2;
  border-radius: 10px;
  box-shadow: 0 12px 26px rgba(16, 24, 32, .08), 0 2px 6px rgba(16, 24, 32, .04);
}

/* Visible FAQ accordions read as answer records, not as a flat text block. */
.b2b-business-center-page .faq-list,
.b2b-production-page .faq-list {
  display: grid;
  gap: 8px;
  border: 0;
  overflow: visible;
}

.b2b-business-center-page details.faq-item,
.b2b-production-page details.faq-item {
  overflow: hidden;
  border: 1px solid #d7dfe2;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 6px 16px rgba(16, 24, 32, .05);
}

.b2b-business-center-page details.faq-item[open],
.b2b-production-page details.faq-item[open] {
  border-color: rgba(198, 106, 50, .52);
  box-shadow: 0 10px 22px rgba(16, 24, 32, .08);
}

.b2b-business-center-page details.faq-item summary,
.b2b-production-page details.faq-item summary {
  min-height: 58px;
  padding: 16px 48px 16px 18px;
  color: var(--text-dark);
  font-weight: 700;
}

.b2b-business-center-page details.faq-item .faq-answer,
.b2b-production-page details.faq-item .faq-answer {
  padding: 0 18px 16px;
  background: #fffaf6;
}

.b2b-business-center-page details.faq-item .faq-answer p,
.b2b-production-page details.faq-item .faq-answer p {
  margin: 0;
}

/* SIP article: the existing lead/stats/callouts become one coherent evidence
   rail through elevation only; typography and content stay untouched. */
.b2b-sip-article-page .article-lead,
.b2b-sip-article-page .key-stat,
.b2b-sip-article-page .callout,
.b2b-sip-article-page .article-cta {
  box-shadow: 0 10px 24px rgba(16, 24, 32, .07), 0 2px 6px rgba(16, 24, 32, .04);
}

.b2b-sip-article-page .article-lead {
  border-left-color: var(--copper);
}

.b2b-sip-article-page .key-stat {
  border-color: #d7dfe2;
}

.b2b-sip-article-page .article-body h2 {
  scroll-margin-top: 96px;
}

/* The final action should be the visual anchor, not a new component. */
.b2b-business-center-page .cta-section,
.b2b-production-page .cta-section,
.b2b-sip-article-page .article-cta {
  box-shadow: 0 16px 34px rgba(16, 24, 32, .12), 0 3px 9px rgba(16, 24, 32, .05);
}

.b2b-premium-page .btn-primary-jbss,
.b2b-premium-page .btn-secondary-jbss,
.b2b-premium-page .btn-tg,
.b2b-premium-page .btn-wa {
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease;
}

.b2b-premium-page .btn-primary-jbss:hover,
.b2b-premium-page .btn-secondary-jbss:hover,
.b2b-premium-page .btn-tg:hover,
.b2b-premium-page .btn-wa:hover {
  transform: translateY(-2px);
}

.b2b-premium-page a:focus-visible,
.b2b-premium-page button:focus-visible,
.b2b-premium-page summary:focus-visible {
  outline: 3px solid rgba(198, 106, 50, .42);
  outline-offset: 3px;
}

@media (max-width: 767.98px) {
  .b2b-business-center-page .card-jbss,
  .b2b-production-page .card-jbss,
  .b2b-business-center-page .table-wrap,
  .b2b-production-page .table-wrap,
  .b2b-sip-article-page .article-lead,
  .b2b-sip-article-page .key-stat,
  .b2b-sip-article-page .callout,
  .b2b-sip-article-page .article-cta { box-shadow: 0 7px 16px rgba(16, 24, 32, .06); }

  .b2b-business-center-page details.faq-item summary,
  .b2b-production-page details.faq-item summary {
    min-height: 54px;
    padding: 14px 44px 14px 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .b2b-premium-page *,
  .b2b-premium-page *::before,
  .b2b-premium-page *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}
