/* JHC Service Pages — shared design system (single source of truth)
 * Authored 2026-07-01 from the live business-phones (post 3111) baseline.
 * Enqueued by mu-plugin jhc-service-pages-css-v1.php on the 8 service page IDs (3108-3117).
 *
 * OPT-IN BY DESIGN: every rule is scoped under `.jc-std`. A page's `.jc-mc` root only gains
 * `jc-std` when its widget markup is normalized in Phase 1 (strip inline <style>, adopt the
 * canonical .jc-* classes + .jc-logo-box shape classes). Until a page opts in, this sheet
 * matches NOTHING on it, so deploying it is provably zero-change (the Phase-0 safety proof).
 *
 * The .jc-logo-box.is-wordmark|is-square|is-tall shape system is the fix for tiny/uneven
 * logos: every mark sits in an identical optical CELL; shape is an author class, not a
 * filename. It replaces the per-filename img[src*=] + .page-id-* hacks in Customizer post
 * 2483 (retired in Phase 2).
 *
 * ACTIVATE A PAGE: add jc-std to its .jc-mc wrapper  ->  class="jc-mc jc-std"
 */

.jc-std { font-family: Yantramanav, "Segoe UI", Roboto, sans-serif; color: #202020; line-height: 1.55; }
.jc-std * { box-sizing: border-box; }
.jc-std .jc-crumb { font-size: 13px; color: #5E5E5E; padding: 16px 24px 0; max-width: 1200px; margin: 0 auto; }
.jc-std .jc-crumb a { color: #5E5E5E; text-decoration: none; }
.jc-std .jc-crumb a:hover { color: #395CAC; }
.jc-std .jc-hero { padding: 56px 24px 64px; }
.jc-std .jc-hero-inner { max-width: 1100px; margin: 0 auto; }
.jc-std .jc-eyebrow { display: inline-block; background: #FFFFFF; color: #395CAC; font-weight: 700; font-size: 13px; padding: 6px 14px; border-radius: 999px; letter-spacing: 0.3px; margin-bottom: 22px; }
.jc-std h1 { font-family: Yantramanav, sans-serif; font-size: 47px; line-height: 1.15; margin: 0 0 18px; font-weight: 600; letter-spacing: -0.5px; color: #FFFFFF; }
.jc-std .jc-sub { font-size: 19px; color: #E7EDF8; max-width: 760px; margin: 0 0 30px; }
.jc-std .jc-sub strong { color: #FFFFFF; font-weight: 600; }
.jc-std .jc-cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.jc-std .jc-btn { display: inline-block; padding: 16px 45px; border-radius: 30px; font-weight: 500; text-decoration: none; font-size: 16px; transition: transform .15s ease; }
.jc-std .jc-btn:hover { transform: translateY(-1px); }
.jc-std .jc-btn-primary { background: #395CAC; color: #FFFFFF; }
.jc-std .jc-btn-secondary { background: transparent; color: #FFFFFF; border: 2px solid #FFFFFF; }
.jc-std .jc-vendor-strip { background: #FFFFFF; border-top: 1px solid #E7EDF8; border-bottom: 1px solid #E7EDF8; padding: 28px 24px; }
.jc-std .jc-vendor-inner { max-width: 1100px; margin: 0 auto; }
.jc-std .jc-vendor-label { text-align: center; font-size: 12px; font-weight: 700; color: #5E5E5E; text-transform: uppercase; letter-spacing: 1.2px; margin: 0 0 18px; }
.jc-std .jc-vendor-row { display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; }
.jc-std .jc-vendor-row .jc-logo-box { height: 56px; display: flex; align-items: center; justify-content: center; padding: 0 6px; }
.jc-std .jc-vendor-row img { max-height: 44px; max-width: 160px; width: auto; height: auto; object-fit: contain; }
.jc-std .jc-trust-band { background: #395CAC; color: #FFFFFF; padding: 24px; }
.jc-std .jc-trust-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: center; }
.jc-std .jc-trust-inner div { font-size: 15px; font-weight: 600; line-height: 1.4; }
.jc-std .jc-section { padding: 64px 24px; max-width: 1200px; margin: 0 auto; }
.jc-std .jc-section h2 { font-family: Roboto, sans-serif; font-size: 36px; font-weight: 600; margin: 0 0 28px; color: #202020; }
.jc-std .jc-section-intro { font-size: 17px; color: #5E5E5E; max-width: 820px; margin: -10px 0 28px; }
.jc-std .jc-section.alt { background: #F9F9F9; max-width: none; padding: 64px 24px; }
.jc-std .jc-section.alt > .jc-inner { max-width: 1200px; margin: 0 auto; }
.jc-std .jc-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.jc-std .jc-card { background: #FFFFFF; border: 1px solid #E7EDF8; border-radius: 0px; padding: 28px 26px; display: flex; flex-direction: column; transition: transform .15s ease, box-shadow .15s ease; position: relative; }
.jc-std .jc-card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(57,92,172,.10); }
.jc-std .jc-card.is-featured { border: 2px solid #395CAC; box-shadow: 0 4px 18px rgba(57,92,172,.10); }
.jc-std .jc-card-flag { position: absolute; top: -12px; left: 22px; background: #395CAC; color: #FFFFFF; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; padding: 5px 11px; text-transform: uppercase; }
.jc-std .jc-card-vendor { font-size: 22px; font-weight: 700; color: #091D3E; margin: 0 0 4px; font-family: Roboto, sans-serif; }
.jc-std .jc-card-tag { font-size: 13px; color: #5E5E5E; font-weight: 600; margin: 0 0 16px; text-transform: uppercase; letter-spacing: 0.05em; }
.jc-std .jc-card ul { list-style: none; padding: 0; margin: 0 0 16px; flex: 1; }
.jc-std .jc-card ul li { font-size: 15px; color: #202020; padding: 6px 0 6px 22px; position: relative; line-height: 1.5; }
.jc-std .jc-card ul li::before { content: ""; position: absolute; left: 0; top: 13px; width: 8px; height: 8px; background: #395CAC; border-radius: 50%; }
.jc-std .jc-card-fit { font-size: 14px; color: #5E5E5E; border-top: 1px solid #E7EDF8; padding-top: 14px; line-height: 1.55; margin: 0; }
.jc-std .jc-card-fit strong { color: #202020; font-weight: 600; }
.jc-std .jc-card-badge { display: inline-block; background: #091D3E; color: #FFFFFF; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 10px; margin-top: 14px; border: 1px solid #395CAC; }
.jc-std .jc-process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: chainstep; }
.jc-std .jc-step { background: #FFFFFF; border: 1px solid #E7EDF8; padding: 24px 22px 22px; position: relative; }
.jc-std .jc-step::before { counter-increment: chainstep; content: counter(chainstep); position: absolute; top: -16px; left: 22px; width: 36px; height: 36px; border-radius: 50%; background: #395CAC; color: #FFFFFF; font-family: Roboto, sans-serif; font-weight: 700; font-size: 16px; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 4px 10px rgba(57,92,172,.25); }
.jc-std .jc-step h3 { font-family: Roboto, sans-serif; font-size: 17px; font-weight: 600; margin: 14px 0 8px; color: #202020; }
.jc-std .jc-step p { font-size: 14px; color: #5E5E5E; margin: 0; }
.jc-std .jc-why { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.jc-std .jc-why-card { background: #FFFFFF; border-left: 4px solid #395CAC; padding: 22px 24px; }
.jc-std .jc-why-card h3 { font-family: Roboto, sans-serif; font-size: 18px; font-weight: 600; color: #202020; margin: 0 0 8px; line-height: 1.3; }
.jc-std .jc-why-card p { font-size: 15px; color: #5E5E5E; line-height: 1.55; margin: 0; }
.jc-std .jc-faq details { background: #FFFFFF; border: 1px solid #E7EDF8; border-radius: 0px; margin-bottom: 12px; padding: 18px 22px; }
.jc-std .jc-faq summary { font-weight: 600; cursor: pointer; font-size: 17px; color: #202020; }
.jc-std .jc-faq details[open] summary { margin-bottom: 12px; }
.jc-std .jc-faq p { margin: 0; font-size: 15px; color: #5E5E5E; }
.jc-std .jc-final { background: #091D3E; color: #FFFFFF; padding: 56px 24px; text-align: center; }
.jc-std .jc-final h2 { font-family: Roboto, sans-serif; color: #FFFFFF; font-size: 36px; margin: 0 0 12px; font-weight: 600; }
.jc-std .jc-final p { color: #E7EDF8; max-width: 720px; margin: 0 auto 26px; font-size: 17px; }
.jc-std .jc-card-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: auto; padding-top: 14px; border-top: 1px solid #E7EDF8; }
.jc-std .jc-card-logos img { height: 30px; width: auto; opacity: 1; filter: none; }
.jc-std .jc-card-ic { width: 44px; height: 44px; display: block; margin: 2px 0 16px; flex: 0 0 auto; }
@media (max-width: 900px) {
  .jc-std .jc-cards { grid-template-columns: 1fr; }
  .jc-std .jc-process { grid-template-columns: repeat(2, 1fr); }
  .jc-std .jc-why { grid-template-columns: 1fr; }
  .jc-std .jc-trust-inner { grid-template-columns: repeat(2, 1fr); }
  .jc-std h1 { font-size: 34px; }
  .jc-std .jc-section { padding: 48px 18px; }
  .jc-std .jc-section.alt { padding: 48px 18px; }
  .jc-std .jc-hero { padding: 40px 18px 48px; }
  .jc-std .jc-vendor-row { gap: 30px; }
  .jc-std .jc-vendor-row img { max-height: 36px; max-width: 130px; }
}
@media (max-width: 480px) {
  .jc-std .jc-process { grid-template-columns: 1fr; }
  .jc-std .jc-trust-inner { grid-template-columns: 1fr; }
  .jc-std h1 { font-size: 28px; }
  .jc-std .jc-cta-row { flex-direction: column; }
  .jc-std .jc-btn { text-align: center; }
}
.jc-std .jc-vendor-row .jc-logo-box { width: 138px; }
.jc-std .jc-vendor-row .jc-logo-box.is-wordmark img { max-height: 32px; max-width: 138px; }
.jc-std .jc-vendor-row .jc-logo-box.is-square   img { max-height: 50px; max-width: 50px; }
.jc-std .jc-vendor-row .jc-logo-box.is-tall     img { max-height: 46px; max-width: 96px; }
.jc-std .jc-card-logos .jc-logo-box { height: 40px; width: 104px; display: flex; align-items: center; justify-content: center; padding: 0; }
.jc-std .jc-card-logos .jc-logo-box img { max-height: 100%; max-width: 100%; width: auto; height: auto; object-fit: contain; opacity: 1; filter: none; }
.jc-std .jc-card-logos .jc-logo-box.is-wordmark img { max-height: 22px; max-width: 104px; }
.jc-std .jc-card-logos .jc-logo-box.is-square   img { max-height: 36px; max-width: 36px; }
.jc-std .jc-card-logos .jc-logo-box.is-tall     img { max-height: 34px; max-width: 64px; }

/* Stats band (canonical; base grid lives inline on the element, this adds responsive control) */
.jc-std .jc-stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 24px; }
@media (max-width: 900px) {
  .jc-std .jc-vendor-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 12px; justify-items: center; }
  .jc-std .jc-vendor-row .jc-logo-box { width: 100%; height: 46px; }
  .jc-std .jc-vendor-row .jc-logo-box.is-square img { max-height: 42px; max-width: 42px; }
  .jc-std .jc-stats-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 480px) {
  .jc-std .jc-vendor-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .jc-std .jc-stats-grid { grid-template-columns: 1fr !important; }
}
