/* Javan Bartar Service Page Widget — scoped styles */

.jbfx-services-widget .jbfx-services,
.jbfx-services-widget .jbfx-services * {
  box-sizing: border-box;
}

/* Full-width breakout wrapper */
.jbfx-services-widget--fullwidth {
  position: relative !important;
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  overflow: visible !important;
}

.jbfx-services-widget--fullwidth:not(.jbfx-breakout-ready) {
  opacity: 0;
}

.jbfx-services-widget--fullwidth.jbfx-breakout-ready {
  opacity: 1;
}

.jbfx-services-widget--fullwidth .jbfx-services {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
}

.jbfx-services-widget .jbfx-services {
  --bg: #07020a;
  --bg2: #16051d;
  --text: #fff7fb;
  --muted: rgba(255, 247, 251, 0.7);
  --soft: rgba(255, 247, 251, 0.46);
  --line: rgba(255, 255, 255, 0.11);
  --pink: #ff2f8d;
  --pink2: #d80b63;
  --violet: #a76cff;
  --cream: #ffe2ef;
  --hero-g1: #ffffff;
  --hero-g2: #ffe2ef;
  --hero-g3: #ff2f8d;
  --hero-g4: #a76cff;
  --hero-bg-word: "DIAGNOSIS";

  position: relative !important;
  width: 100% !important;
  max-width: 100% !important;
  direction: rtl;
  color: var(--text);
  font-family: "IRANSansX", "Vazirmatn", Tahoma, Arial, sans-serif;
  background:
    radial-gradient(circle at 80% 0%, rgba(255, 47, 141, 0.22), transparent 34%),
    radial-gradient(circle at 12% 44%, rgba(167, 108, 255, 0.15), transparent 38%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg2) 44%, var(--bg) 100%);
  overflow: hidden;
  isolation: isolate;
}

.jbfx-services-widget .jbfx-services a {
  color: inherit;
  text-decoration: none;
}

.jbfx-services-widget .jbfx-services svg:not(.jbfx-body-spot__rings) {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.jbfx-services-widget .jbfx-container {
  width: min(1220px, calc(100% - 40px));
  margin-inline: auto;
}

.jbfx-services-widget .jbfx-hero {
  position: relative;
  min-height: auto;
  display: grid;
  align-items: center;
  padding: 56px 0 48px;
  overflow: hidden;
}

.jbfx-services-widget .jbfx-hero::before {
  content: var(--hero-bg-word, "DIAGNOSIS");
  position: absolute;
  right: 50%;
  top: 50%;
  transform: translate(50%, -50%);
  color: rgba(255, 255, 255, 0.024);
  font-size: clamp(90px, 17vw, 260px);
  font-weight: 950;
  letter-spacing: -11px;
  white-space: nowrap;
  pointer-events: none;
}

.jbfx-services-widget .jbfx-hero__grid-bg,
.jbfx-services-widget .jbfx-hero__glow {
  position: absolute;
  pointer-events: none;
}

.jbfx-services-widget .jbfx-hero__grid-bg {
  inset: 0;
  background-image:
  linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
  linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 74px 74px;
  opacity: .14;
  mask-image: radial-gradient(circle at center, #000, transparent 76%);
}

.jbfx-services-widget .jbfx-hero__glow {
  border-radius: 999px;
  filter: blur(4px);
}

.jbfx-services-widget .jbfx-hero__glow--a {
  width: 620px;
  height: 620px;
  right: -160px;
  top: 80px;
  background: radial-gradient(circle, rgba(255,47,141,.22), transparent 68%);
}

.jbfx-services-widget .jbfx-hero__glow--b {
  width: 520px;
  height: 520px;
  left: -160px;
  bottom: -40px;
  background: radial-gradient(circle, rgba(167,108,255,.16), transparent 68%);
}

.jbfx-services-widget .jbfx-hero__layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(200px, 0.46fr);
  gap: clamp(34px, 6vw, 90px);
  align-items: center;
}

.jbfx-services-widget .jbfx-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--cream);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.jbfx-services-widget .jbfx-kicker::before,
.jbfx-services-widget .jbfx-kicker::after {
  content: "";
  width: 42px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--pink));
}

.jbfx-services-widget .jbfx-kicker::after {
  background: linear-gradient(90deg, var(--pink), transparent);
}

.jbfx-services-widget .jbfx-hero h1 {
  max-width: 900px;
  margin: 22px 0 0;
  color: #fff;
  font-size: clamp(48px, 8vw, 112px);
  line-height: 1.02;
  letter-spacing: -3.4px;
  font-weight: 950;
}

.jbfx-services-widget .jbfx-hero h1 em,
.jbfx-services-widget .jbfx-package__intro h2 em {
  display: block;
  font-style: normal;
  background: linear-gradient(135deg, var(--hero-g1, #ffffff) 0%, var(--hero-g2, #ffe2ef) 24%, var(--hero-g3, #ff2f8d) 62%, var(--hero-g4, #a76cff) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.jbfx-services-widget .jbfx-hero p {
  max-width: 740px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 2.05;
}

.jbfx-services-widget .jbfx-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.jbfx-services-widget .jbfx-hero__actions button,
.jbfx-services-widget .jbfx-recommend button,
.jbfx-services-widget .jbfx-final button {
  min-height: 56px;
  border-radius: 999px;
  padding: 0 24px;
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, var(--pink2), var(--pink));
  box-shadow: 0 18px 50px rgba(255,47,141,.3);
  font-family: inherit;
  font-weight: 950;
  cursor: pointer;
}

.jbfx-services-widget .jbfx-hero__actions .is-soft,
.jbfx-services-widget .jbfx-recommend .is-soft {
  color: rgba(255,247,251,.82);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: none;
}

.jbfx-services-widget .jbfx-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  color: rgba(255,247,251,.68);
  font-size: 13px;
}

.jbfx-services-widget .jbfx-hero__meta i {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--pink);
  box-shadow: 0 0 16px rgba(255,47,141,.8);
}

.jbfx-services-widget .jbfx-bodymap {
  position: relative;
  width: min(320px, 100%);
  min-height: 0;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.jbfx-services-widget .jbfx-bodymap__stage {
  position: relative;
  width: min(168px, 48vw);
  margin: 0 auto;
  flex: 0 0 auto;
}

.jbfx-services-widget .jbfx-bodymap__footer {
  width: 100%;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 2px;
}

.jbfx-services-widget .jbfx-bodymap__lottie,
.jbfx-services-widget .jbfx-bodymap__image {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 28px 70px rgba(255,47,141,.18));
  pointer-events: none;
}

.jbfx-services-widget .jbfx-bodymap__image {
  display: block;
  object-fit: contain;
  object-position: center;
}

.jbfx-services-widget .jbfx-bodymap__lottie svg {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.jbfx-services-widget .jbfx-bodymap__spots {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

.jbfx-services-widget .jbfx-body-spot {
  position: absolute;
  z-index: 5;
  width: 44px;
  height: 44px;
  margin-top: -22px;
  margin-left: -22px;
  padding: 0;
  border: 0;
  background: transparent !important;
  cursor: pointer;
  transform: none;
  pointer-events: auto;
  outline: none !important;
  -webkit-tap-highlight-color: transparent;
  appearance: none;
  box-shadow: none;
  overflow: visible;
}

.jbfx-services-widget .jbfx-body-spot__rings {
  position: absolute;
  top: 0;
  left: 0;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px;
  min-height: 44px;
  max-width: 44px;
  max-height: 44px;
  overflow: visible;
  pointer-events: none;
  fill: none;
  stroke: none;
}

.jbfx-services-widget .jbfx-body-spot__ring {
  fill: none;
  stroke-linecap: round;
  transform-box: fill-box;
  transform-origin: center;
  vector-effect: non-scaling-stroke;
}

.jbfx-services-widget .jbfx-body-spot__ring--a {
  stroke: rgba(255, 47, 141, 0.58);
  stroke-width: 2.8;
  animation: jbfxSvgRing 2.6s ease-out infinite;
  animation-delay: var(--jbfx-pulse-delay, 0s);
}

.jbfx-services-widget .jbfx-body-spot__ring--b {
  stroke: rgba(255, 47, 141, 0.34);
  stroke-width: 2.2;
  animation: jbfxSvgRing 2.6s ease-out infinite;
  animation-delay: calc(var(--jbfx-pulse-delay, 0s) + 0.42s);
}

.jbfx-services-widget .jbfx-body-spot__ring--hover {
  stroke: rgba(255, 47, 141, 0.42);
  stroke-width: 2.4;
  opacity: 0;
  transition: opacity .35s ease;
}

@keyframes jbfxSvgRing {
  0% {
    transform: scale(0.5);
    opacity: 0.85;
  }
  70% {
    transform: scale(1.55);
    opacity: 0;
  }
  100% {
    transform: scale(1.55);
    opacity: 0;
  }
}

.jbfx-services-widget .jbfx-body-spot:hover .jbfx-body-spot__ring--a,
.jbfx-services-widget .jbfx-body-spot:hover .jbfx-body-spot__ring--b,
.jbfx-services-widget .jbfx-body-spot.is-active .jbfx-body-spot__ring--a,
.jbfx-services-widget .jbfx-body-spot.is-active .jbfx-body-spot__ring--b {
  animation: none;
  opacity: 0;
}

.jbfx-services-widget .jbfx-body-spot:hover .jbfx-body-spot__ring--hover,
.jbfx-services-widget .jbfx-body-spot.is-active .jbfx-body-spot__ring--hover {
  opacity: 1;
}

.jbfx-services-widget .jbfx-body-spot.is-active .jbfx-body-spot__ring--hover {
  stroke: rgba(255, 47, 141, 0.62);
  stroke-width: 2.8;
}

.jbfx-services-widget .jbfx-body-spot:focus,
.jbfx-services-widget .jbfx-body-spot:focus-visible {
  outline: none !important;
  background: transparent !important;
}

.jbfx-services-widget .jbfx-bodymap__full {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  padding: 10px 18px;
  border: 1px solid rgba(255,47,141,.38);
  color: #fff;
  background: rgba(255,47,141,.16);
  box-shadow: 0 12px 36px rgba(255,47,141,.22);
  font-family: inherit;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.55;
  cursor: pointer;
  white-space: normal;
  text-align: center;
  max-width: 100%;
  transition: .25s ease;
}

.jbfx-services-widget .jbfx-bodymap__full:hover,
.jbfx-services-widget .jbfx-bodymap__full.is-active {
  background: linear-gradient(135deg, var(--pink2), var(--pink));
  border-color: transparent;
  box-shadow: 0 16px 44px rgba(255,47,141,.34);
}

.jbfx-services-widget .jbfx-hotspot-note {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 12px 14px;
  border-radius: 18px;
  color: rgba(255,247,251,.78);
  background: rgba(7,2,10,.72);
  border: 1px solid rgba(255,255,255,.12);
  text-align: center;
  font-size: 13px;
  line-height: 1.75;
  backdrop-filter: blur(14px);
}

.jbfx-services-widget .jbfx-diagnosis {
  padding: 42px 0 86px;
}

.jbfx-services-widget .jbfx-diagnosis__head,
.jbfx-services-widget .jbfx-section-head,
.jbfx-services-widget .jbfx-package__intro {
  text-align: center;
}

.jbfx-services-widget .jbfx-diagnosis__head h2,
.jbfx-services-widget .jbfx-section-head h2,
.jbfx-services-widget .jbfx-package__intro h2,
.jbfx-services-widget .jbfx-guide__copy h2,
.jbfx-services-widget .jbfx-final h2 {
  margin: 18px 0 0;
  color: #fff;
  font-size: clamp(34px, 5vw, 76px);
  line-height: 1.1;
  letter-spacing: -2.2px;
}

.jbfx-services-widget .jbfx-section-head p,
.jbfx-services-widget .jbfx-package__intro p,
.jbfx-services-widget .jbfx-final p {
  max-width: 800px;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 2;
}

.jbfx-services-widget .jbfx-need-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.jbfx-services-widget .jbfx-need-cloud button {
  min-height: 52px;
  border-radius: 999px;
  padding: 0 18px;
  color: rgba(255,247,251,.78);
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.11);
  font-family: inherit;
  font-weight: 900;
  cursor: pointer;
  transition: .25s ease;
}

.jbfx-services-widget .jbfx-need-cloud button:hover,
.jbfx-services-widget .jbfx-need-cloud button.is-active {
  color: #fff;
  transform: translateY(-3px);
  background: rgba(255,47,141,.13);
  border-color: rgba(255,47,141,.34);
}

.jbfx-services-widget .jbfx-recommend {
  width: min(850px, 100%);
  margin: 24px auto 0;
  padding: 24px;
  border-radius: 34px;
  text-align: center;
  background:
  radial-gradient(circle at 20% 0%, rgba(255,47,141,.16), transparent 40%),
  rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.12);
}

.jbfx-services-widget .jbfx-recommend span,
.jbfx-services-widget .jbfx-guide__result span {
  color: var(--cream);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .08em;
}

.jbfx-services-widget .jbfx-recommend h3,
.jbfx-services-widget .jbfx-guide__result h3 {
  margin: 8px 0 0;
  color: #fff;
  font-size: clamp(24px, 3vw, 40px);
}

.jbfx-services-widget .jbfx-recommend p,
.jbfx-services-widget .jbfx-guide__result p {
  max-width: 620px;
  margin: 12px auto 0;
  color: var(--muted);
  line-height: 1.9;
}

.jbfx-services-widget .jbfx-recommend div {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.jbfx-services-widget .jbfx-package {
  padding: 78px 0 100px;
}

.jbfx-services-widget .jbfx-diagnostic {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
  margin-top: 38px;
  padding: 18px;
  border-radius: 50px;
  background:
  radial-gradient(circle at 30% 0%, rgba(255,47,141,.18), transparent 40%),
  linear-gradient(145deg, rgba(255,255,255,.085), rgba(255,255,255,.026));
  border: 1px solid rgba(255,255,255,.13);
  box-shadow: 0 34px 120px rgba(0,0,0,.3);
}

.jbfx-services-widget .jbfx-live {
  padding: 24px;
  border-radius: 36px;
  background: rgba(7,2,10,.54);
  border: 1px solid rgba(255,255,255,.09);
}

.jbfx-services-widget .jbfx-live__top {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.jbfx-services-widget .jbfx-live__top svg {
  width: 58px;
  height: 58px;
  padding: 15px;
  border-radius: 20px;
  color: var(--cream);
  background: rgba(255,47,141,.14);
  border: 1px solid rgba(255,47,141,.3);
}

.jbfx-services-widget .jbfx-live__top small,
.jbfx-services-widget .jbfx-live__top strong {
  display: block;
}

.jbfx-services-widget .jbfx-live__top small {
  color: var(--soft);
  font-size: 12px;
  margin-bottom: 5px;
}

.jbfx-services-widget .jbfx-live__top strong {
  color: #fff;
  font-size: 16px;
}

.jbfx-services-widget .jbfx-live__summary {
  min-height: 220px;
  margin-top: 26px;
  padding: 16px;
  border-radius: 24px;
  color: rgba(255,247,251,.76);
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.08);
  line-height: 1.9;
  font-size: 13.5px;
}

.jbfx-services-widget .jbfx-live__hint {
  margin-top: 14px;
  padding: 16px;
  border-radius: 24px;
  background: rgba(255,47,141,.09);
  border: 1px solid rgba(255,47,141,.18);
}

.jbfx-services-widget .jbfx-live__hint b {
  color: #fff;
}

.jbfx-services-widget .jbfx-live__hint p {
  color: var(--muted);
  line-height: 1.85;
  font-size: 13px;
  margin: 8px 0 0;
}

.jbfx-services-widget .jbfx-wizard {
  position: relative;
  min-height: 590px;
  padding: clamp(24px, 4vw, 46px);
  border-radius: 36px;
  background:
  radial-gradient(circle at 85% 0%, rgba(167,108,255,.12), transparent 34%),
  rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.09);
}

.jbfx-services-widget .jbfx-wizard__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 16px;
  align-items: center;
  margin-bottom: 22px;
}

.jbfx-services-widget .jbfx-wizard__top small {
  display: block;
  color: var(--cream);
  font-size: 12px;
  font-weight: 950;
}

.jbfx-services-widget .jbfx-wizard__top strong {
  display: block;
  margin-top: 5px;
  color: #fff;
  font-size: 18px;
}

.jbfx-services-widget .jbfx-progress {
  height: 9px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255,255,255,.08);
}

.jbfx-services-widget .jbfx-progress i {
  display: block;
  width: 16.66%;
  height: 100%;
  background: linear-gradient(90deg, var(--pink2), var(--pink), var(--violet));
  box-shadow: 0 0 24px rgba(255,47,141,.55);
  transition: width .3s ease;
}

.jbfx-services-widget .jbfx-alert {
  display: none;
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 16px;
  color: #fff;
  background: rgba(255,47,141,.16);
  border: 1px solid rgba(255,47,141,.28);
  font-size: 13px;
}

.jbfx-services-widget .jbfx-alert.is-show {
  display: block;
}

.jbfx-services-widget .jbfx-step {
  display: none;
}

.jbfx-services-widget .jbfx-step.is-active {
  display: block;
  animation: jbfxStepIn .35s ease both;
}

@keyframes jbfxStepIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.jbfx-services-widget .jbfx-step h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(32px, 4.8vw, 64px);
  line-height: 1.12;
  letter-spacing: -1.8px;
}

.jbfx-services-widget .jbfx-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.jbfx-services-widget .jbfx-options button {
  min-height: 82px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.11);
  color: rgba(255,247,251,.78);
  background:
  radial-gradient(circle at 20% 0%, rgba(255,47,141,.09), transparent 34%),
  rgba(255,255,255,.05);
  font-family: inherit;
  font-weight: 900;
  text-align: right;
  padding: 16px;
  cursor: pointer;
  transition: .25s ease;
}

.jbfx-services-widget .jbfx-options button:hover,
.jbfx-services-widget .jbfx-options button.is-selected {
  color: #fff;
  transform: translateY(-3px);
  border-color: rgba(255,47,141,.38);
  background:
  radial-gradient(circle at 20% 0%, rgba(255,47,141,.2), transparent 40%),
  rgba(255,255,255,.07);
}

.jbfx-services-widget .jbfx-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.jbfx-services-widget .jbfx-fields label {
  display: grid;
  gap: 8px;
}

.jbfx-services-widget .jbfx-fields .is-wide {
  grid-column: 1 / -1;
}

.jbfx-services-widget .jbfx-fields span {
  color: rgba(255,247,251,.64);
  font-size: 12px;
  font-weight: 850;
}

.jbfx-services-widget .jbfx-fields input,
.jbfx-services-widget .jbfx-fields select,
.jbfx-services-widget .jbfx-fields textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 20px;
  background: rgba(7,2,10,.68);
  color: #fff;
  padding: 0 16px;
  font-family: inherit;
  outline: none;
}

.jbfx-services-widget .jbfx-fields input,
.jbfx-services-widget .jbfx-fields select {
  min-height: 56px;
}

.jbfx-services-widget .jbfx-fields textarea {
  min-height: 150px;
  padding-top: 16px;
  resize: vertical;
  line-height: 1.9;
}

.jbfx-services-widget .jbfx-fields input::placeholder,
.jbfx-services-widget .jbfx-fields textarea::placeholder {
  color: rgba(255,247,251,.34);
}

.jbfx-services-widget .jbfx-wizard__nav {
  position: absolute;
  right: clamp(24px, 4vw, 46px);
  left: clamp(24px, 4vw, 46px);
  bottom: clamp(24px, 4vw, 46px);
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.jbfx-services-widget .jbfx-wizard__nav button {
  min-height: 54px;
  border-radius: 18px;
  padding: 0 20px;
  border: 0;
  font-family: inherit;
  font-weight: 950;
  cursor: pointer;
}

.jbfx-services-widget .jbfx-wizard__nav button[id$="-next"],
.jbfx-services-widget .jbfx-wizard__nav button[id$="-submit"] {
  color: #fff;
  background: linear-gradient(135deg, var(--pink2), var(--pink));
  box-shadow: 0 16px 44px rgba(255,47,141,.28);
}

.jbfx-services-widget .jbfx-wizard__nav button[id$="-prev"] {
  color: rgba(255,247,251,.78);
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
}

.jbfx-services-widget .jbfx-wizard__nav button[id$="-submit"] {
  display: none;
}

.jbfx-services-widget .jbfx-paths {
  padding: 70px 0 100px;
}

.jbfx-services-widget .jbfx-path-rail {
  position: relative;
  display: grid;
  gap: 18px;
  margin-top: 40px;
}

.jbfx-services-widget .jbfx-path-rail::before {
  content: "";
  position: absolute;
  right: 40px;
  top: 20px;
  bottom: 20px;
  width: 2px;
  background: linear-gradient(180deg, transparent, rgba(255,47,141,.8), rgba(167,108,255,.7), transparent);
  box-shadow: 0 0 28px rgba(255,47,141,.36);
}

.jbfx-services-widget .jbfx-path {
  position: relative;
  min-height: 150px;
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: 24px 30px 24px 24px;
  border-radius: 40px;
  overflow: hidden;
  background:
  linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.022));
  border: 1px solid rgba(255,255,255,.11);
  transition: .28s ease;
}

.jbfx-services-widget .jbfx-path:hover {
  transform: translateX(-8px);
  border-color: rgba(255,47,141,.34);
  background:
  radial-gradient(circle at 15% 0%, rgba(255,47,141,.16), transparent 42%),
  linear-gradient(145deg, rgba(255,255,255,.095), rgba(255,255,255,.032));
}

.jbfx-services-widget .jbfx-path > span {
  position: relative;
  z-index: 2;
  min-height: 58px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  color: #fff;
  background: rgba(255,47,141,.14);
  border: 1px solid rgba(255,47,141,.3);
  font-size: 13px;
  font-weight: 950;
}

.jbfx-services-widget .jbfx-path.is-featured > span {
  background: linear-gradient(135deg, var(--pink2), var(--pink));
  box-shadow: 0 18px 46px rgba(255,47,141,.28);
}

.jbfx-services-widget .jbfx-path h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(24px, 3vw, 42px);
  line-height: 1.25;
  letter-spacing: -1px;
}

.jbfx-services-widget .jbfx-path p {
  max-width: 720px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.85;
}

.jbfx-services-widget .jbfx-path b {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 18px;
  color: #fff;
  background: rgba(255,47,141,.14);
  border: 1px solid rgba(255,47,141,.3);
  font-size: 12px;
}

.jbfx-services-widget .jbfx-guide {
  padding: 70px 0 90px;
}

.jbfx-services-widget .jbfx-guide__layout {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 28px;
  align-items: center;
}

.jbfx-services-widget .jbfx-guide__copy h2 {
  margin-top: 18px;
}

.jbfx-services-widget .jbfx-guide__panel {
  padding: 18px;
  border-radius: 38px;
  background:
  radial-gradient(circle at 20% 0%, rgba(255,47,141,.14), transparent 40%),
  rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.12);
}

.jbfx-services-widget .jbfx-guide__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.jbfx-services-widget .jbfx-guide__tabs button {
  min-height: 44px;
  border-radius: 999px;
  padding: 0 14px;
  color: rgba(255,247,251,.74);
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.1);
  font-family: inherit;
  font-weight: 900;
  cursor: pointer;
}

.jbfx-services-widget .jbfx-guide__tabs button.is-active {
  color: #fff;
  background: rgba(255,47,141,.15);
  border-color: rgba(255,47,141,.34);
}

.jbfx-services-widget .jbfx-guide__result {
  margin-top: 18px;
  padding: 24px;
  border-radius: 28px;
  background: rgba(7,2,10,.46);
  border: 1px solid rgba(255,255,255,.08);
}

.jbfx-services-widget .jbfx-method {
  padding: 70px 0 90px;
}

.jbfx-services-widget .jbfx-method-line {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.jbfx-services-widget .jbfx-method-line::before {
  content: "";
  position: absolute;
  right: 8%;
  left: 8%;
  top: 16px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255,47,141,.75), rgba(167,108,255,.7), transparent);
  box-shadow: 0 0 28px rgba(255,47,141,.35);
}

.jbfx-services-widget .jbfx-method-step {
  position: relative;
  padding-top: 48px;
  text-align: center;
}

.jbfx-services-widget .jbfx-method-step i {
  position: absolute;
  top: 0;
  right: 50%;
  width: 34px;
  height: 34px;
  transform: translateX(50%);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 0 10px rgba(255,47,141,.13), 0 0 38px rgba(255,47,141,.75);
}

.jbfx-services-widget .jbfx-method-step h3 {
  margin: 0;
  color: #fff;
  font-size: 24px;
}

.jbfx-services-widget .jbfx-method-step p {
  margin: 10px auto 0;
  max-width: 240px;
  color: var(--muted);
  line-height: 1.8;
  font-size: 14px;
}

.jbfx-services-widget .jbfx-proof {
  padding: 32px 0 80px;
}

.jbfx-services-widget .jbfx-proof__strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-radius: 36px;
  overflow: hidden;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.12);
}

.jbfx-services-widget .jbfx-proof__strip div {
  padding: 24px;
  text-align: center;
  border-left: 1px solid rgba(255,255,255,.08);
}

.jbfx-services-widget .jbfx-proof__strip div:last-child {
  border-left: 0;
}

.jbfx-services-widget .jbfx-proof__strip strong {
  display: block;
  color: #fff;
  font-size: clamp(24px, 3vw, 40px);
}

.jbfx-services-widget .jbfx-proof__strip span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.jbfx-services-widget .jbfx-faq {
  padding: 70px 0 90px;
}

.jbfx-services-widget .jbfx-faq__list {
  width: min(920px, 100%);
  margin: 34px auto 0;
  display: grid;
  gap: 12px;
}

.jbfx-services-widget .jbfx-faq__item {
  border-radius: 26px;
  overflow: hidden;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.11);
}

.jbfx-services-widget .jbfx-faq__item button {
  width: 100%;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 0;
  padding: 0 20px;
  color: #fff;
  background: transparent;
  font-family: inherit;
  font-size: 16px;
  font-weight: 950;
  cursor: pointer;
  text-align: right;
}

.jbfx-services-widget .jbfx-faq__item button span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 999px;
  color: var(--cream);
  background: rgba(255,47,141,.15);
}

.jbfx-services-widget .jbfx-faq__item p {
  display: none;
  margin: 0;
  padding: 0 20px 22px;
  color: var(--muted);
  line-height: 1.9;
}

.jbfx-services-widget .jbfx-faq__item.is-open p {
  display: block;
}

.jbfx-services-widget .jbfx-faq__item.is-open button span {
  transform: rotate(45deg);
}

.jbfx-services-widget .jbfx-final {
  padding: 38px 0 120px;
}

.jbfx-services-widget .jbfx-final__inner {
  text-align: center;
  padding: clamp(34px, 6vw, 78px);
  border-radius: 60px;
  background:
  radial-gradient(circle at 20% 0%, rgba(255,47,141,.22), transparent 44%),
  radial-gradient(circle at 90% 100%, rgba(167,108,255,.16), transparent 42%),
  linear-gradient(145deg, rgba(255,255,255,.09), rgba(255,255,255,.026));
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 34px 120px rgba(0,0,0,.28);
}

.jbfx-services-widget .jbfx-final span {
  color: var(--cream);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .12em;
}

.jbfx-services-widget .jbfx-final button {
  margin-top: 28px;
}

.jbfx-services-widget .jbfx-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}

.jbfx-services-widget .jbfx-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .jbfx-services-widget .jbfx-hero__layout,
  .jbfx-services-widget .jbfx-diagnostic,
  .jbfx-services-widget .jbfx-guide__layout {
    grid-template-columns: 1fr;
  }

  .jbfx-services-widget .jbfx-hero__copy,
  .jbfx-services-widget .jbfx-guide__copy {
    text-align: center;
  }

  .jbfx-services-widget .jbfx-hero h1,
  .jbfx-services-widget .jbfx-hero p,
  .jbfx-services-widget .jbfx-hero__actions,
  .jbfx-services-widget .jbfx-hero__meta {
    margin-inline: auto;
  }

  .jbfx-services-widget .jbfx-hero__actions,
  .jbfx-services-widget .jbfx-hero__meta {
    justify-content: center;
  }

  .jbfx-services-widget .jbfx-method-line,
  .jbfx-services-widget .jbfx-proof__strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .jbfx-services-widget .jbfx-method-line::before {
    display: none;
  }
}

@media (max-width: 760px) {

  .jbfx-services-widget .jbfx-container {
  width: min(100% - 26px, 1220px);
  }

  .jbfx-services-widget .jbfx-hero {
  min-height: auto;
  padding: 66px 0 48px;
  }

  .jbfx-services-widget .jbfx-hero h1 {
  font-size: clamp(42px, 14vw, 68px);
  letter-spacing: -1.6px;
  }

  .jbfx-services-widget .jbfx-hero p,
  .jbfx-services-widget .jbfx-section-head p,
  .jbfx-services-widget .jbfx-package__intro p,
  .jbfx-services-widget .jbfx-final p {
  font-size: 14.5px;
  line-height: 1.9;
  }

  .jbfx-services-widget .jbfx-hero__actions {
  display: grid;
  grid-template-columns: 1fr;
  }

  .jbfx-services-widget .jbfx-bodymap {
    width: min(300px, calc(100% - 12px));
    gap: 12px;
  }

  .jbfx-services-widget .jbfx-bodymap__stage {
    width: min(148px, 44vw);
  }

  .jbfx-services-widget .jbfx-bodymap__footer {
    max-width: 100%;
    gap: 8px;
  }

  .jbfx-services-widget .jbfx-bodymap__full {
    width: 100%;
    font-size: 11.5px;
    padding: 10px 14px;
  }

  .jbfx-services-widget .jbfx-hotspot-note {
    font-size: 12px;
    padding: 11px 12px;
    border-radius: 16px;
  }

  .jbfx-services-widget .jbfx-body-spot {
    width: 38px;
    height: 38px;
    margin-top: -19px;
    margin-left: -19px;
  }

  .jbfx-services-widget .jbfx-body-spot__rings {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px;
    min-height: 38px;
    max-width: 38px;
    max-height: 38px;
  }

  .jbfx-services-widget .jbfx-diagnostic {
  border-radius: 34px;
  padding: 12px;
  }

  .jbfx-services-widget .jbfx-live,
  .jbfx-services-widget .jbfx-wizard {
  border-radius: 26px;
  }

  .jbfx-services-widget .jbfx-wizard {
  min-height: 720px;
  padding: 22px;
  }

  .jbfx-services-widget .jbfx-wizard__top {
  grid-template-columns: 1fr;
  }

  .jbfx-services-widget .jbfx-step h3 {
  font-size: clamp(30px, 9vw, 46px);
  }

  .jbfx-services-widget .jbfx-options,
  .jbfx-services-widget .jbfx-fields {
  grid-template-columns: 1fr;
  }

  .jbfx-services-widget .jbfx-options button {
  min-height: 70px;
  }

  .jbfx-services-widget .jbfx-wizard__nav {
  right: 22px;
  left: 22px;
  bottom: 22px;
  }

  .jbfx-services-widget .jbfx-wizard__nav button {
  padding: 0 14px;
  font-size: 13px;
  }

  .jbfx-services-widget .jbfx-path-rail::before {
  display: none;
  }

  .jbfx-services-widget .jbfx-path {
  grid-template-columns: 1fr;
  gap: 14px;
  border-radius: 30px;
  padding: 22px;
  }

  .jbfx-services-widget .jbfx-path b {
  width: fit-content;
  }

  .jbfx-services-widget .jbfx-method-line,
  .jbfx-services-widget .jbfx-proof__strip {
  grid-template-columns: 1fr;
  }

  .jbfx-services-widget .jbfx-proof__strip div {
  border-left: 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  }

  .jbfx-services-widget .jbfx-proof__strip div:last-child {
  border-bottom: 0;
  }

  .jbfx-services-widget .jbfx-final__inner {
  border-radius: 36px;
  }


}

/* Elementor widget container */
.elementor-widget-jb_service_page,
.elementor-widget-jb_service_page > .elementor-widget-container {
  width: 100% !important;
  max-width: 100% !important;
  overflow: visible !important;
}

.elementor-section:has(.jbfx-services-widget),
.elementor-container:has(.jbfx-services-widget),
.elementor-column:has(.jbfx-services-widget),
.elementor-widget-wrap:has(.jbfx-services-widget),
.elementor-widget:has(.jbfx-services-widget),
.e-con:has(.jbfx-services-widget),
.e-con-inner:has(.jbfx-services-widget),
.entry-content:has(.jbfx-services-widget),
.site-content:has(.jbfx-services-widget) {
  overflow: visible !important;
  max-width: none !important;
}

.elementor-section.elementor-section-boxed:has(.jbfx-services-widget) > .elementor-container,
.elementor-section:has(.jbfx-services-widget--fullwidth) > .elementor-container {
  max-width: 100% !important;
  width: 100% !important;
  padding-inline: 0 !important;
}

.elementor-widget-jb_service_page .elementor-widget-container {
  overflow: visible !important;
  padding: 0 !important;
  max-width: none !important;
  width: 100% !important;
}

/* Elementor editor: no 100vw breakout */
.elementor-editor-active .elementor-widget-jb_service_page,
.elementor-editor-preview .elementor-widget-jb_service_page {
  width: 100% !important;
  max-width: 100% !important;
}

.elementor-editor-active .jbfx-services-widget,
.elementor-editor-preview .jbfx-services-widget,
.elementor-editor-active .jbfx-services-widget--fullwidth,
.elementor-editor-preview .jbfx-services-widget--fullwidth {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  overflow: visible !important;
  opacity: 1 !important;
}

.elementor-editor-active .jbfx-services-widget .jbfx-services,
.elementor-editor-preview .jbfx-services-widget .jbfx-services {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  margin-inline: 0 !important;
}

.elementor-editor-active .jbfx-services-widget .jbfx-faq__item p,
.elementor-editor-preview .jbfx-services-widget .jbfx-faq__item p {
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  .jbfx-services-widget .jbfx-services *,
  .jbfx-services-widget .jbfx-services *::before,
  .jbfx-services-widget .jbfx-services *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
}
