/* ==========================================================================
   Cost Saving (Hybrid Mesh SSE) — sandbox template styles
   Same system as the Digital Sovereignty page: theme hero (c-hero--gradient),
   overline eyebrows, white c-card blocks, Icon-0xx PNGs and btn-primary
   buttons. This file only adds layout and what the theme classes don't cover.
   ========================================================================== */

/* ---------- hero ---------- */
.shx-cost-page .shx-cost-hero__title {
  margin: 12px 0 24px; color: #fff; font-weight: 700;
  font-size: clamp(34px, 3.6vw, 52px); line-height: 1.2;
}
.shx-cost-page .shx-cost-hero__lede { color: #fff; max-width: 580px; line-height: 1.6; }
.shx-cost-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }

/* Hero diagram (same treatment as the sovereignty page's hero SVG). */
.shx-cost-hero__visual {
  margin: 0; padding: 16px; border-radius: 16px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(153,177,249,.25);
}
.shx-cost-hero-dia { display: block; width: 100%; height: auto; }
.shx-cost-hero-dia text { font-family: Inter, system-ui, sans-serif; }
.shx-cost-hero-dia .t-node { font-size: 13px; font-weight: 600; fill: #fff; }
.shx-cost-hero-dia .t-sub { font-size: 11.5px; fill: #99b1f9; }
.shx-cost-hero-dia .t-label { font-size: 10px; font-weight: 600; letter-spacing: .14em; fill: #72ddf7; }
.shx-cost-hero-dia .t-label--malibu { fill: #9BB2FA; }
.shx-cost-hero-dia .t-local { font-size: 13px; font-weight: 700; fill: #72ddf7; }
.shx-cost-hero-dia .t-local--malibu { fill: #9BB2FA; }

/* ---------- card sections ---------- */
.shx-cost-page .shx-cost-h2 { margin-top: 12px; max-width: 900px; }
.shx-cost-page .shx-cost-intro { margin-top: 16px; max-width: 860px; }
.shx-cost-items { margin-top: 24px; }
.shx-cost-page .c-icon-with-text { align-items: center; margin-bottom: 16px; }
.shx-cost-page .c-icon-with-text__text { padding-top: 0; }
.shx-cost-stack { display: grid; gap: 40px; }
.shx-cost-link { margin-top: 40px; }
#compare { scroll-margin-top: 110px; }

/* ---------- before / after comparison ---------- */
.shx-cost-compare { margin-top: 32px; }
.shx-cost-diagram { display: block; width: 100%; height: auto; }
.shx-cost-diagram text { font-family: Inter, system-ui, sans-serif; }
.shx-cost-diagram .t-h { font-size: 18px; font-weight: 700; fill: #231d5e; }
.shx-cost-diagram .t-s { font-size: 13px; fill: #6B7280; }
.shx-cost-diagram .t-c { font-size: 13px; font-weight: 600; fill: #231d5e; }
.shx-cost-diagram .t-sm { font-size: 12px; }
.shx-cost-diagram .t-small { font-size: 11.5px; fill: #6B7280; }
.shx-cost-diagram .t-n { font-size: 13px; font-weight: 600; fill: #fff; }
.shx-cost-diagram .t-lab { font-size: 10px; font-weight: 600; letter-spacing: .14em; fill: #3664f4; }
.shx-cost-diagram .t-foot { font-size: 14px; font-weight: 700; }
.shx-cost-diagram .t-muted { fill: #6B7280; }
.shx-cost-diagram .t-royal { fill: #3664f4; font-weight: 600; }

/* ---------- mid-page CTA strip ---------- */
.shx-cost-strip-wrap { padding: 0; }
.shx-cost-strip {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  padding: 36px 48px; border-radius: 16px;
}
.shx-cost-page .shx-cost-strip__title { margin: 0 0 8px; }
.shx-cost-page .shx-cost-strip__copy { margin: 0; color: #fff; opacity: .9; max-width: 640px; }
.shx-cost-strip .btn { flex: none; }

/* ---------- recognition band (mirrors the DLP Omdia block) ---------- */
.shx-cost-band { background-color: #f5f5f7; }
.shx-cost-center { max-width: 860px; margin: 0 auto 48px; }
.shx-cost-center .shx-cost-intro { margin-left: auto; margin-right: auto; }
.shx-cost-proof { border: 1px solid #e0e0e0; }
.shx-cost-proof + .shx-cost-proof { margin-top: 24px; }
.shx-cost-proof__img { max-width: 320px; width: 100%; box-shadow: 0 8px 24px rgba(0,0,0,.1); }
.shx-cost-proof__icon { max-width: 140px; }
.shx-cost-page .shx-cost-kicker { letter-spacing: .05em; font-size: .85rem; }
.shx-cost-page .shx-cost-proof__title { font-size: 1.85rem; color: #212529; }
.shx-cost-page .shx-cost-proof__copy { font-size: 1.05rem; }
.shx-cost-page .shx-cost-fineprint { margin: 32px 0 0; font-size: 12px; line-height: 1.55; color: #6B7280; }

/* ---------- closing CTA ---------- */
.shx-cost-page .shx-cost-cta { padding: 64px 0; }
.shx-cost-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.shx-cost-page .shx-cost-cta__title { margin: 12px 0 12px; }
.shx-cost-page .shx-cost-cta__copy { color: #fff; max-width: 720px; }
.shx-cost-cta .btn { flex: none; }

/* ---------- responsive ---------- */
@media (max-width: 1023px) {
  .shx-cost-hero__visual { margin-top: 32px; }
  .shx-cost-strip { flex-direction: column; align-items: flex-start; padding: 32px 28px; gap: 24px; }
  .shx-cost-hero__visual { max-width: 640px; }
  .shx-cost-cta__inner { flex-direction: column; align-items: flex-start; gap: 28px; }
}
@media (max-width: 767px) {
  .shx-cost-actions .btn { width: 100%; }
  .shx-cost-page .shx-cost-proof__title { font-size: 1.5rem; }
  .shx-cost-stack { gap: 32px; }
}


/* 2026-10-06: marketing hero photo replaces the interim SVG */
.shx-cost-hero__visual.shx-cost-hero__visual--photo { padding: 0; border: 0; background: none; }
.shx-cost-hero__photo { display: block; width: 100%; height: auto; border-radius: 16px; box-shadow: 0 24px 48px rgba(5,5,16,.35); }

/* 2026-10-06: marketing before/after diagram replaces the interim SVG pair (same treatment as ZT/Sovereignty). */
.shx-cost-arch { margin: 40px auto 48px; max-width: 1100px; }
.shx-cost-arch__img { display: block; width: 100%; height: auto; }

/* 2026-10-06 (user): all headings in init caps across the hybrid pages. Display-only (source copy unchanged); the shared Related Assets carousel (.splide) is left alone. */
main.shx-cost-page :is(h1, h2, h3, h4, h5, h6):not(.splide *) { text-transform: capitalize; }
