/* Perma Managed Services Cards - styles deliberately isolated from Divi. */
.pmc-section, .pmc-section *, .pmc-float-stage, .pmc-float-stage * { box-sizing: border-box; }
.pmc-section {
  --pmc-gap: 22px;
  --pmc-pad: 32px;
  position: relative !important;
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  background: #fafafd;
  padding: 0 !important;
  isolation: isolate;
  font-family: 'Plus Jakarta Sans', Arial, sans-serif;
  color: #111;
}
/* Never override the width/max-width set on a Divi row or column. */
.et_pb_column:has(.pmc-section), .et_pb_code:has(.pmc-section) { min-width: 0; }
.pmc-fallback { padding: 28px var(--pmc-pad); }
.pmc-fallback .pmc-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--pmc-gap);
  margin: 0 auto;
  max-width: 1510px;
  width: 100%;
  align-items: stretch;
}
.pmc-card {
  width: auto;
  min-width: 0;
  min-height: 570px;
  padding: 29px 22px 29px;
  display: flex;
  flex-direction: column;
  border: 1px solid #e0e6ed;
  background: #fff;
  box-shadow: 0 5px 24px rgba(35, 38, 65, .035);
  color: #111;
  font-family: 'Plus Jakarta Sans', Arial, sans-serif;
  text-align: left;
}
.pmc-card__head { display: flex; justify-content: space-between; align-items: flex-start; min-height: 50px; margin-bottom: 7px; }
.pmc-card__icon { width: 44px; height: 44px; stroke: #080808; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.pmc-card__badge { display: inline-block; padding: 5px 10px; background: #8d1ccf; color: #fff; font: 700 14px/1.2 'Plus Jakarta Sans',sans-serif; border-radius: 5px; }
.pmc-card h3.pmc-card__title {
  margin: 0 0 33px !important;
  padding: 0 !important;
  font: 700 20px/1.28 'Sora',sans-serif !important;
  letter-spacing: -.55px;
  text-transform: uppercase;
  color: #101010 !important;
  min-height: 76px;
}
.pmc-card p.pmc-card__description {
  padding: 0 !important;
  margin: 0 0 22px !important;
  font: 400 15px/1.63 'Plus Jakarta Sans',sans-serif !important;
  color: #70798a !important;
  min-height: 107px;
}
.pmc-card ul.pmc-card__features { padding: 0 !important; margin: 0 !important; list-style: none !important; }
.pmc-card .pmc-card__features li {
  position: relative;
  display: block;
  padding: 0 0 16px 19px !important;
  margin: 0 0 17px 0 !important;
  border-bottom: 1px solid #e4e2e9;
  font: 400 14px/1.58 'Plus Jakarta Sans',sans-serif !important;
  list-style: none !important;
  color: #24242a !important;
}
.pmc-card .pmc-card__features li:last-child { border-bottom: none; margin-bottom: 10px !important; }
.pmc-card .pmc-card__features li::before { content: '✓'; position:absolute; top:0; left:0; color:#9f2cf1; font-size:18px; font-weight:600; line-height: 1.25; }
.pmc-card__value { background:#f6f6fa; padding: 20px 16px 16px; margin-top:auto; min-height:123px; }
.pmc-card .pmc-card__value h4 { padding:0 !important; margin:0 0 9px !important; font:italic 700 13px/1.3 'Plus Jakarta Sans',sans-serif !important; color:#171717 !important; }
.pmc-card .pmc-card__value p { padding:0 !important; margin:0 !important; font:400 12.7px/1.52 'Plus Jakarta Sans',sans-serif !important; color:#28282a !important; }
/* Front-end enhancement: original markup remains present in Divi and is visible in the editor. */
.pmc-section.pmc-enhanced .pmc-fallback { visibility: hidden; }
.pmc-float-stage {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 98;
  /* JavaScript sets the exact width and left edge of the Divi Code Module. */
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fafafd;
  pointer-events: none;
  visibility: hidden;
  font-family: 'Plus Jakarta Sans',sans-serif;
}
/* The clipping window is exactly as wide as the selected Divi row content. */
.pmc-float-stage .pmc-window {
  width: 100%;
  max-width: 100%;
  height: 100%;
  overflow: hidden;
  flex: none;
  display: flex;
  align-items: center;
}
.pmc-float-stage .pmc-rail {
  display: flex;
  flex-wrap: nowrap;
  gap: 22px;
  width: max-content;
  max-width: none;
  margin: 0;
  padding: 0;
  flex: none;
  align-items: stretch;
  will-change: transform;
  transform: translate3d(var(--pmc-x, 0px), 0, 0);
}
.pmc-float-stage .pmc-card {
  flex: 0 0 auto;
  width: var(--pmc-card-width, 350px);
}
@media (max-width: 980px) {
  .pmc-section { --pmc-pad: 22px; --pmc-gap: 16px; }
  .pmc-fallback .pmc-rail { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .pmc-card { min-height: 535px; }
  .pmc-float-stage .pmc-window { width: 100%; }
  .pmc-float-stage .pmc-rail { gap: 16px; }
}
@media (max-width: 600px) {
  .pmc-section { --pmc-pad: 16px; }
  .pmc-fallback { padding: 20px 16px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .pmc-fallback .pmc-rail { display: flex; width: max-content; max-width: none; gap:16px; }
  .pmc-fallback .pmc-card { width: min(84vw, 350px); }
  .pmc-float-stage .pmc-window { width: 100%; }
  .pmc-float-stage .pmc-card, .pmc-fallback .pmc-card { min-height: 505px; padding: 21px 18px; }
  .pmc-card h3.pmc-card__title { font-size: 18px !important; min-height: 68px; margin-bottom: 17px !important; }
  .pmc-card p.pmc-card__description { font-size: 14px !important; min-height: 98px; }
  .pmc-card__value { min-height: 110px; }
}
/* Respect motion preference, and avoid animation for content visible inside the builder. */
@media (prefers-reduced-motion: reduce) {
  .pmc-float-stage { display:none !important; }
  .pmc-section .pmc-fallback { visibility:visible !important; }
}
