/* Service slides. Layout and card chrome copied from the reference
   sv-story / sv-card canvas; MDM type, blue, and Lottie fill the slots. */

.pxl-service-grid .pxl-grid-filter,
.pxl-service-grid .pxl-grid-inner {
  display: none !important;
}

.mdm-svc-host {
  --ink: #12213f;
  --ink-soft: #55617a;
  --blue: #2563eb;
  --blue-deep: #1d4ed8;
  overflow: visible !important;
  background: #fff;
}

.mdm-svc-host > .elementor-container,
.mdm-svc-host .elementor-container,
.mdm-svc-host .elementor-column,
.mdm-svc-host .elementor-widget-wrap,
.mdm-svc-host .elementor-element-populated {
  max-width: none !important;
  width: 100% !important;
  left: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  gap: 0 !important;
  column-gap: 0 !important;
}

.mdm-svc {
  --ink: #12213f;
  --ink-soft: #4a6173;
  --blue: #2563eb;
  --blue-deep: #1d4ed8;
  font-family: Inter, "Inter Tight", system-ui, sans-serif;
  color: var(--ink);
}

.mdm-svc *,
.mdm-svc *::before,
.mdm-svc *::after {
  box-sizing: border-box;
}

.mdm-svc :focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 3px;
  border-radius: 6px;
}

.mdm-svc-story {
  position: relative;
  width: 100%;
  margin: 0;
}

.mdm-svc-pin {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 0 40px;
}

.mdm-svc-head {
  width: 100%;
  padding: 0 5vw 18px;
  box-sizing: border-box;
}

.mdm-svc-title {
  max-width: 1180px;
  margin: 0 auto;
  font-family: "Inter Tight", Inter, system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(38px, 5vw, 70px);
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: var(--ink);
}

.mdm-svc-viewport {
  width: 100%;
}

.mdm-svc-track {
  display: block;
}

.mdm-svc-row {
  flex: none;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 5vw 8px;
}

.mdm-svc-row + .mdm-svc-row {
  margin-top: 28px;
}

.mdm-svc-card {
  position: relative;
  width: 100%;
  max-width: min(1180px, 92vw);
  background: #fff;
  border: 1px solid #e4e9ef;
  border-radius: 16px;
  padding: 34px 44px;
  box-shadow: 0 40px 90px -55px rgba(18, 33, 63, 0.5);
}

.mdm-svc-tab {
  position: absolute;
  top: -24px;
  left: 2px;
  font-family: Inter, system-ui, sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
  display: flex;
  align-items: center;
  gap: 6px;
}

.mdm-svc-tab svg {
  width: 12px;
  height: 12px;
}

.mdm-svc-hd {
  position: absolute;
  width: 10px;
  height: 10px;
  background: #fff;
  border: 1.5px solid var(--blue);
  border-radius: 2px;
  opacity: 0;
  transition: opacity 0.3s;
}

.mdm-svc-card:hover .mdm-svc-hd {
  opacity: 0.9;
}

.mdm-svc-card:hover {
  outline: 1.5px solid var(--blue);
}

.mdm-svc-hd.tl {
  left: -6px;
  top: -6px;
}
.mdm-svc-hd.tr {
  right: -6px;
  top: -6px;
}
.mdm-svc-hd.bl {
  left: -6px;
  bottom: -6px;
}
.mdm-svc-hd.br {
  right: -6px;
  bottom: -6px;
}

.mdm-svc-top {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: center;
}

.mdm-svc-top::before {
  content: "";
  position: absolute;
  z-index: 0;
  right: -3%;
  top: 6%;
  width: 58%;
  height: 90%;
  pointer-events: none;
  background:
    radial-gradient(58% 55% at 42% 28%, rgba(37, 99, 235, 0.22), transparent 72%),
    radial-gradient(55% 55% at 72% 82%, rgba(59, 130, 246, 0.16), transparent 72%);
  filter: blur(36px);
  border-radius: 44px;
}

.mdm-svc-left,
.mdm-svc-shot {
  position: relative;
  z-index: 2;
}

.mdm-svc-left {
  display: flex;
  flex-direction: column;
}

.mdm-svc-num {
  width: 56px;
  height: 56px;
  border-radius: 15px;
  background: #f1f4f8;
  display: grid;
  place-items: center;
  box-shadow: inset 0 2px 3px #fff, inset 0 -3px 5px #dbe0e8;
  margin-bottom: 18px;
}

.mdm-svc-num span {
  font-family: "Inter Tight", Inter, system-ui, sans-serif;
  font-weight: 700;
  font-size: 25px;
  color: #c4cbd6;
  text-shadow: 0 1px 0 #fff;
}

.mdm-svc-htext h3 {
  font-family: "Inter Tight", Inter, system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(32px, 3.7vw, 52px);
  letter-spacing: -0.04em;
  line-height: 0.92;
  margin: 0;
}

.mdm-svc-htext h3 .l1 {
  display: block;
  color: var(--ink);
}

.mdm-svc-htext h3 .l2 {
  display: block;
  color: var(--blue);
}

.mdm-svc-htext p {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.45;
  margin: 14px 0 0;
  max-width: 34ch;
}

.mdm-svc-go {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.mdm-svc-go span {
  border-bottom: 1.5px solid currentColor;
  padding-bottom: 2px;
}

.mdm-svc-go svg {
  width: 16px;
  height: 16px;
}

.mdm-svc-go:hover {
  color: var(--blue-deep);
}

.mdm-svc-shot {
  border-radius: 13px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(18, 33, 63, 0.08);
  box-shadow: 0 24px 50px -30px rgba(18, 33, 63, 0.45);
}

.mdm-svc-bar {
  height: 30px;
  background: #f4f6f9;
  border-bottom: 1px solid rgba(18, 33, 63, 0.08);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
}

.mdm-svc-bar b {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d4dae2;
}

.mdm-svc-bar b:nth-child(1) {
  background: #ff6159;
}
.mdm-svc-bar b:nth-child(2) {
  background: #febc2e;
}
.mdm-svc-bar b:nth-child(3) {
  background: #28c840;
}

.mdm-svc-bar .u {
  flex: 1;
  height: 13px;
  background: #e7ecf2;
  border-radius: 7px;
  margin-left: 8px;
  max-width: 220px;
}

.mdm-svc-imgwrap {
  position: relative;
  height: 300px;
  overflow: hidden;
  background: linear-gradient(135deg, #eef3f9, #fff);
}

.mdm-svc-anim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.mdm-svc-anim svg {
  display: block;
  width: 100%;
  height: 100%;
}

.mdm-svc-progress {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 18px 0 0;
}

.mdm-svc-progress button {
  position: relative;
  width: 30px;
  height: 22px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: #eef2f8;
  cursor: pointer;
}

.mdm-svc-progress button::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(18, 33, 63, 0.28);
  transform: translate(-50%, -50%);
}

.mdm-svc-progress button.is-on::after {
  width: 14px;
  height: 3px;
  border-radius: 99px;
  background: var(--blue-deep);
}

@media (min-width: 768px) {
  .mdm-svc-story.is-ready {
    height: 400vh;
  }

  .mdm-svc-story.is-ready .mdm-svc-pin {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    padding: 0;
  }

  .mdm-svc-story.is-ready .mdm-svc-head {
    padding-top: 108px;
    padding-bottom: 10px;
  }

  .mdm-svc-story.is-ready .mdm-svc-viewport {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    align-items: center;
    overflow: hidden;
    cursor: auto;
    touch-action: auto;
    user-select: auto;
  }

  .mdm-svc-story.is-ready .mdm-svc-viewport:active {
    cursor: auto;
  }

  .mdm-svc-story.is-ready .mdm-svc-track {
    display: flex;
    align-items: center;
    will-change: transform;
    width: 100%;
  }

  .mdm-svc-story.is-ready .mdm-svc-row {
    flex: 0 0 100vw;
    width: 100vw;
    min-width: 100vw;
    margin-top: 0;
    padding: 0 5vw;
  }

  .mdm-svc-story.is-ready .mdm-svc-progress {
    display: flex;
    padding-bottom: 28px;
  }

  .mdm-svc-story.is-ready .mdm-svc-shot {
    animation: mdm-svc-floaty 8s ease-in-out infinite;
  }
}

@keyframes mdm-svc-floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .mdm-svc-story.is-ready .mdm-svc-shot,
  .mdm-svc-shot {
    animation: none;
  }

  .mdm-svc-story {
    height: auto;
  }

  .mdm-svc-pin {
    position: relative;
    height: auto;
    overflow: visible;
  }

  .mdm-svc-track {
    display: block;
    transform: none !important;
  }

  .mdm-svc-row {
    flex: none;
    width: auto;
    min-width: 0;
  }

  .mdm-svc-progress {
    display: none;
  }
}

@media (max-width: 900px) {
  .mdm-svc-top {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .mdm-svc-top::before {
    display: none;
  }

  .mdm-svc-imgwrap {
    height: 180px;
  }

  .mdm-svc-card {
    padding: 24px 22px;
  }

  .mdm-svc-title {
    font-size: clamp(28px, 8vw, 40px);
  }
}

@media (max-width: 767px) {
  .mdm-svc-pin {
    padding: 24px 0 32px;
  }

  .mdm-svc-head {
    padding: 0 20px 12px;
  }

  .mdm-svc-row {
    padding: 16px 20px;
  }

  .mdm-svc-row + .mdm-svc-row {
    margin-top: 36px;
  }

  .mdm-svc-progress {
    display: none;
  }
}
