/* Mobile app development page — builds on ecommerce-modern.css with an emerald + gold palette */
.ecom-page.mx-page {
  --ec-indigo: #0e6b4f;
  --ec-violet: #0b5a42;
  --ec-mint: #16a34a;
  --ec-soft: #f3f7f2;
  --ec-dark: #0a2a20;
  --ec-grad: linear-gradient(120deg, #0e6b4f, #17936c 55%, #c9a227);
  --mx-gold: #c9a227;
  --mx-gold-soft: #f3e6b5;
  --mx-tint: #e7f3ec;
  --mx-tint-line: #bfe0cd;
  --mx-line: #e3e8e2;
}
.mx-main {
  color: var(--ec-ink);
}

/* Palette overrides for tints hard-coded in the shared theme */
.mx-page .ec-hero {
  background: linear-gradient(180deg, #f2f8f3 0%, #ffffff 100%);
}
.mx-page .ec-hero::before {
  background-image:
    linear-gradient(rgba(14, 107, 79, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 107, 79, 0.07) 1px, transparent 1px);
}
.mx-page .ec-hero-bg i:nth-child(1) {
  background: #bbf0d3;
}
.mx-page .ec-hero-bg i:nth-child(2) {
  background: #f6e7b0;
}
.mx-page .ec-hero-bg i:nth-child(3) {
  background: #c7ecdc;
}
.mx-page .ec-badge {
  border-color: var(--mx-tint-line);
}
.mx-page .ec-icon,
.mx-page .ec-faq-grid summary span {
  background: var(--mx-tint);
  box-shadow: inset 0 0 0 1px rgba(14, 107, 79, 0.12);
}
.mx-page .ec-subnav a:hover {
  background: var(--mx-tint);
}
.mx-page .ec-faq-grid details[open] {
  border-color: var(--mx-tint-line);
}
.mx-page .ec-head-light > span,
.mx-page .ec-label-light {
  color: #9ee6c4;
}
.mx-page .ec-cta h2 em,
.mx-page .mx-dark h2 em {
  background: linear-gradient(120deg, #9ee6c4, #f3d77a) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
}
.mx-page .ec-cta-bg {
  background:
    linear-gradient(90deg, rgba(10, 42, 32, 0.97) 30%, rgba(10, 42, 32, 0.82)),
    url("/assets/images/mobile-outcomes-ai.webp") center/cover no-repeat;
}
.mx-page .ec-form input:focus,
.mx-page .ec-form select:focus,
.mx-page .ec-form textarea:focus {
  box-shadow: 0 0 0 4px rgba(14, 107, 79, 0.14);
}
.mx-page .ec-float svg,
.mx-page .ec-float i {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  color: #fff;
  background: #0e6b4f;
  font-size: 14px;
}
.mx-page .ec-float-b i {
  background: var(--mx-gold);
}
.mx-page .ec-commerce-rail i {
  background: var(--mx-gold);
}
.ec-label .bi,
.ec-badge .bi {
  font-size: 14px;
}

/* Hero */
.mx-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 13px;
  color: var(--ec-muted);
}
.mx-crumbs a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--ec-muted);
  font-weight: 600;
}
.mx-crumbs a:hover {
  color: var(--ec-indigo);
}
.mx-crumbs > .bi {
  font-size: 10px;
  opacity: 0.6;
}
.mx-crumbs b {
  color: var(--ec-ink);
}
.mx-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.mx-hero-stats div {
  min-width: 120px;
  padding: 14px 18px;
  border: 1px solid var(--mx-line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
}
.mx-hero-stats strong {
  display: block;
  font-family: var(--font-primary, inherit);
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ec-indigo);
}
.mx-hero-stats span {
  display: block;
  margin-top: 6px;
  color: var(--ec-muted);
  font-size: 12px;
  font-weight: 600;
}
.mx-hero-frame img {
  aspect-ratio: 1568/1003;
}
.mx-platforms {
  position: absolute;
  z-index: 2;
  left: 8%;
  bottom: -26px;
  display: flex;
  gap: 10px;
  padding: 12px;
  border-radius: 18px;
  background: var(--ec-dark);
  box-shadow: 0 24px 50px -16px rgba(10, 42, 32, 0.6);
}
.mx-platforms span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #9ee6c4;
  font-size: 19px;
  animation: mx-pop 3.2s ease-in-out infinite;
}
.mx-platforms span:nth-child(2) {
  animation-delay: 0.4s;
  color: #b9f5a0;
}
.mx-platforms span:nth-child(3) {
  animation-delay: 0.8s;
  color: #f3d77a;
}
.mx-platforms span:nth-child(4) {
  animation-delay: 1.2s;
  color: #a5d8ff;
}
@keyframes mx-pop {
  0%,
  70%,
  100% {
    transform: none;
  }
  35% {
    transform: translateY(-5px);
  }
}

/* Trust rail */
.mx-rail span {
  gap: 10px !important;
}
.mx-rail span .bi {
  color: #9ee6c4;
  font-size: 15px;
}

/* Shared helpers */
.mx-num {
  position: absolute;
  right: 22px;
  top: 18px;
  font-family: var(--font-primary, inherit);
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
  color: rgba(14, 107, 79, 0.08);
}
.mx-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--mx-tint);
  color: var(--ec-indigo);
  font-size: 12px;
  font-weight: 700;
}
.mx-chip-dark {
  background: rgba(158, 230, 196, 0.12);
  color: #9ee6c4;
}
.mx-dark {
  color: #fff;
  background:
    radial-gradient(circle at 12% 0, rgba(23, 147, 108, 0.35), transparent 42%),
    radial-gradient(
      circle at 92% 100%,
      rgba(201, 162, 39, 0.18),
      transparent 40%
    ),
    var(--ec-dark);
}
.mx-dark h2,
.mx-dark h3 {
  color: #fff;
}
.mx-dark p {
  color: rgba(255, 255, 255, 0.7);
}
.ec-section h2 em {
  font-style: normal;
}

/* Services */
.mx-service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.mx-service-grid article {
  position: relative;
  padding: 30px;
  border: 1px solid var(--mx-line);
  border-radius: 22px;
  background: #fff;
  overflow: hidden;
  transition:
    transform 0.35s,
    box-shadow 0.35s,
    border-color 0.35s;
}
.mx-service-grid article::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ec-grad);
  opacity: 0;
  transition: opacity 0.35s;
}
.mx-service-grid article > * {
  position: relative;
}
.mx-service-grid article:hover {
  transform: translateY(-8px);
  border-color: transparent;
  box-shadow: 0 30px 60px -26px rgba(14, 107, 79, 0.6);
  color: #fff;
}
.mx-service-grid article:hover::before {
  opacity: 1;
}
.mx-service-grid article:hover .ec-icon {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  box-shadow: none;
}
.mx-service-grid article:hover p,
.mx-service-grid article:hover a {
  color: rgba(255, 255, 255, 0.88);
}
.mx-service-grid article:hover .mx-num {
  color: rgba(255, 255, 255, 0.16);
}
.mx-service-grid .ec-icon {
  font-size: 22px;
}
.mx-service-grid h3 {
  margin: 26px 0 10px;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.mx-service-grid p {
  color: var(--ec-muted);
  font-size: 14.5px;
  line-height: 1.65;
}
.mx-service-grid a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 20px;
  color: var(--ec-indigo);
  font-size: 13px;
  font-weight: 700;
}
.mx-service-grid a .bi {
  transition: transform 0.25s;
}
.mx-service-grid article:hover a .bi {
  transform: translateX(4px);
}

/* Outcomes */
.mx-outcomes {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.mx-outcomes > div > p {
  margin-top: 20px;
  font-size: 17px;
  line-height: 1.7;
}
.mx-checks {
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  list-style: none;
}
.mx-checks li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}
.mx-checks .bi {
  flex: none;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #9ee6c4;
  color: var(--ec-dark);
  font-size: 13px;
}
.mx-outcome-visual {
  position: relative;
}
.mx-outcome-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1717/916;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7);
}
.mx-gauges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: -46px 18px 0;
  position: relative;
}
.mx-gauge {
  position: relative;
  padding: 18px 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(10, 42, 32, 0.85);
  backdrop-filter: blur(12px);
  text-align: center;
}
.mx-gauge svg {
  width: 84px;
  height: 84px;
  margin: 0 auto;
  display: block;
  transform: rotate(-90deg);
}
.mx-gauge circle {
  fill: none;
  stroke-width: 9;
}
.mx-gauge circle:first-child {
  stroke: rgba(255, 255, 255, 0.1);
}
.mx-gauge circle:last-child {
  stroke: #9ee6c4;
  stroke-linecap: round;
  stroke-dasharray: 314.16;
  stroke-dashoffset: 314.16;
  transition: stroke-dashoffset 1.8s cubic-bezier(0.2, 0.7, 0.2, 1) 0.3s;
}
.mx-gauge:nth-child(2) circle:last-child {
  stroke: #f3d77a;
}
.mx-gauge:nth-child(3) circle:last-child {
  stroke: #a5d8ff;
}
.is-in .mx-gauge circle:last-child,
.ec-main:not(.ec-motion) .mx-gauge circle:last-child {
  stroke-dashoffset: calc(314.16 - 314.16 * var(--p) / 100);
}
.mx-gauge strong {
  position: absolute;
  left: 0;
  right: 0;
  top: 44px;
  font-family: var(--font-primary, inherit);
  font-size: 17px;
  font-weight: 800;
  color: #fff;
}
.mx-gauge span {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
}

/* Process timeline */
.mx-process {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  list-style: none;
  counter-reset: none;
}
.mx-process li {
  position: relative;
  padding: 28px 26px;
  border: 1px solid var(--mx-line);
  border-radius: 22px;
  background: #fff;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}
.mx-process li:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 44px -26px rgba(14, 107, 79, 0.5);
}
.mx-process li::after {
  content: "";
  position: absolute;
  left: 84px;
  right: -18px;
  top: 55px;
  height: 2px;
  background: var(--ec-grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s ease calc(var(--d, 0ms) + 200ms);
}
.mx-process li:nth-child(3n)::after {
  display: none;
}
.mx-process.is-in li::after,
.ec-main:not(.ec-motion) .mx-process li::after {
  transform: scaleX(1);
}
.mx-process b {
  position: relative;
  z-index: 1;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  border: 1px solid var(--mx-line);
  background: #fff;
  color: var(--ec-indigo);
  font: 800 18px var(--font-primary, inherit);
  transition:
    background 0.4s ease var(--d, 0ms),
    color 0.4s ease var(--d, 0ms),
    border-color 0.4s ease var(--d, 0ms);
}
.mx-process.is-in b,
.ec-main:not(.ec-motion) .mx-process b {
  color: #fff;
  border-color: transparent;
  background: var(--ec-grad);
}
.mx-process h3 {
  margin: 20px 0 10px;
  font-size: 20px;
  font-weight: 700;
}
.mx-process p {
  color: var(--ec-muted);
  font-size: 14.5px;
  line-height: 1.65;
}
.ec-motion .mx-process.ec-reveal {
  transform: none;
}

/* Industries bento */
.mx-industries {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.mx-industry-lead {
  grid-column: span 2;
  grid-row: span 2;
  position: relative;
  min-height: 420px;
  border-radius: 24px;
  overflow: hidden;
  color: #fff;
  background: var(--ec-dark);
}
.mx-industry-lead img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s ease;
}
.mx-industry-lead:hover img {
  transform: scale(1.05);
}
.mx-industry-lead::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 42, 32, 0.05) 20%,
    rgba(10, 42, 32, 0.92) 85%
  );
}
.mx-industry-lead > div {
  position: absolute;
  z-index: 1;
  left: 28px;
  right: 28px;
  bottom: 26px;
}
.mx-industry-lead .mx-chip {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  backdrop-filter: blur(8px);
}
.mx-industry-lead h3 {
  margin: 14px 0 8px;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}
.mx-industry-lead p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  line-height: 1.6;
}
.mx-industry {
  position: relative;
  padding: 22px;
  border: 1px solid var(--mx-line);
  border-radius: 20px;
  background: #fff;
  transition:
    transform 0.3s,
    box-shadow 0.3s,
    border-color 0.3s;
}
.mx-industry:hover {
  transform: translateY(-5px);
  border-color: var(--mx-tint-line);
  box-shadow: 0 22px 40px -24px rgba(14, 107, 79, 0.5);
}
.mx-industry .ec-icon {
  width: 46px;
  height: 46px;
  font-size: 20px;
  transition: 0.3s;
}
.mx-industry:hover .ec-icon {
  color: #fff;
  background: var(--ec-grad);
  box-shadow: none;
}
.mx-industry h3 {
  margin: 16px 0 6px;
  font-size: 17px;
  font-weight: 700;
}
.mx-industry p {
  color: var(--ec-muted);
  font-size: 13.5px;
  line-height: 1.55;
}
.mx-industry b {
  position: absolute;
  right: 16px;
  top: 14px;
  color: #c6d3cb;
  font-size: 12px;
}

/* Recognition */
.mx-badges {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.mx-badges article {
  position: relative;
  padding: 26px 20px;
  border: 1px solid var(--mx-line);
  border-radius: 22px;
  background: linear-gradient(180deg, #fff, #f7faf6);
  text-align: center;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}
.mx-badges article:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 44px -26px rgba(201, 162, 39, 0.7);
}
.mx-badge-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff6d6, #f3d77a 60%, #c9a227);
  color: #5a4500;
  font-size: 26px;
  box-shadow: 0 0 0 6px rgba(201, 162, 39, 0.12);
}
.mx-badges small {
  position: absolute;
  left: 16px;
  top: 14px;
  color: #b9c4bd;
  font-size: 11px;
  font-weight: 700;
}
.mx-badges strong {
  display: block;
  font-family: var(--font-primary, inherit);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}
.mx-badges article > span:last-child {
  display: block;
  margin-top: 6px;
  color: var(--ec-muted);
  font-size: 13px;
}

/* Use-case explorer */
.mx-uc {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 20px;
}
.mx-uc-tabs {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mx-uc-tabs button {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: transparent;
  color: var(--ec-ink);
  text-align: left;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition:
    background 0.25s,
    border-color 0.25s,
    box-shadow 0.25s;
}
.mx-uc-tabs button .bi {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: #fff;
  color: var(--ec-indigo);
  font-size: 16px;
  box-shadow: inset 0 0 0 1px var(--mx-line);
}
.mx-uc-tabs button b {
  color: #b9c4bd;
  font-size: 11px;
}
.mx-uc-tabs button:hover {
  background: #fff;
  border-color: var(--mx-line);
}
.mx-uc-tabs button.is-active {
  background: #fff;
  border-color: var(--mx-tint-line);
  box-shadow: 0 14px 30px -20px rgba(14, 107, 79, 0.6);
}
.mx-uc-tabs button.is-active .bi {
  background: var(--ec-grad);
  color: #fff;
  box-shadow: none;
}
.mx-uc-tabs button.is-active b {
  color: var(--ec-indigo);
}
.mx-uc-stage {
  display: grid;
  grid-template-columns: 0.62fr 1fr;
  gap: 20px;
  padding: 20px;
  border: 1px solid var(--mx-line);
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--ec-shadow);
}
.mx-uc-image {
  width: 100%;
  height: 100%;
  max-height: 560px;
  object-fit: cover;
  border-radius: 18px;
}
.mx-uc-panel {
  padding: 10px 6px 6px;
  animation: mx-panel 0.45s ease;
}
@keyframes mx-panel {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.mx-uc-panel h3 {
  margin: 0 0 20px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.mx-uc-flow {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
  position: relative;
}
.mx-uc-flow::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 30px;
  bottom: 30px;
  width: 2px;
  background: linear-gradient(180deg, #f59e8b, #f3d77a, #17936c);
}
.mx-uc-flow li {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
}
.mx-uc-flow li > span {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  font-size: 18px;
}
.mx-uc-flow .is-problem > span {
  background: #e8705a;
}
.mx-uc-flow .is-solution > span {
  background: #c9a227;
}
.mx-uc-flow .is-result > span {
  background: #0e6b4f;
}
.mx-uc-flow li > div {
  padding: 14px 16px;
  border-radius: 16px;
  background: #f6f8f5;
}
.mx-uc-flow strong {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.mx-uc-flow .is-problem strong {
  color: #c4513b;
}
.mx-uc-flow .is-solution strong {
  color: #9a7a12;
}
.mx-uc-flow .is-result strong {
  color: #0e6b4f;
}
.mx-uc-flow p {
  color: #4b5563;
  font-size: 14.5px;
  line-height: 1.6;
}

/* Case study */
.mx-case {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
}
.mx-case-body {
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
}
.mx-case-body h3 {
  margin: 16px 0 22px;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.mx-case-cs {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 14px;
  align-items: center;
}
.mx-case-cs > div {
  padding: 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
}
.mx-case-cs > .bi {
  color: #f3d77a;
  font-size: 22px;
}
.mx-case-cs strong {
  display: block;
  margin-bottom: 6px;
  color: #9ee6c4;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.mx-case-cs p {
  font-size: 14px;
  line-height: 1.55;
}
.mx-case-body ul {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.mx-case-body li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: #e5f5ec;
  font-size: 13px;
  font-weight: 600;
}
.mx-case-body li .bi {
  color: #9ee6c4;
}
.mx-case-metrics {
  display: grid;
  gap: 16px;
}
.mx-case-metrics > div {
  padding: 28px;
  border-radius: 24px;
  background: linear-gradient(150deg, #17936c, #0e6b4f);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
}
.mx-case-metrics > div:last-child {
  background: linear-gradient(150deg, #d8b23a, #a88512);
}
.mx-case-metrics strong {
  display: block;
  font-family: var(--font-primary, inherit);
  font-size: clamp(46px, 5vw, 64px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #fff;
}
.mx-case-metrics span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  font-weight: 600;
}
.mx-case-metrics em {
  display: block;
  height: 6px;
  margin-top: 18px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.22);
  position: relative;
  overflow: hidden;
}
.mx-case-metrics em::after {
  content: "";
  position: absolute;
  inset: 0;
  width: var(--w);
  border-radius: inherit;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.6s cubic-bezier(0.2, 0.7, 0.2, 1) 0.4s;
}
.mx-case.is-in em::after,
.ec-main:not(.ec-motion) .mx-case-metrics em::after {
  transform: scaleX(1);
}

/* Comprehensive capabilities */
.mx-cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.mx-cap-grid article {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 24px;
  border: 1px solid var(--mx-line);
  border-radius: 20px;
  background: #fff;
  transition:
    transform 0.3s,
    box-shadow 0.3s,
    border-color 0.3s;
}
.mx-cap-grid article:hover {
  transform: translateY(-4px);
  border-color: var(--mx-tint-line);
  box-shadow: 0 22px 40px -24px rgba(14, 107, 79, 0.5);
}
.mx-cap-grid .ec-icon {
  width: 48px;
  height: 48px;
  font-size: 20px;
}
.mx-cap-grid h3 {
  margin: 2px 0 6px;
  font-size: 18px;
  font-weight: 700;
}
.mx-cap-grid p {
  color: var(--ec-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* Security layers */
.mx-security {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.mx-security > div > p {
  margin-top: 20px;
  font-size: 17px;
  line-height: 1.7;
}
.mx-shield {
  position: relative;
  width: 240px;
  height: 240px;
  margin-top: 36px;
}
.mx-shield i {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(158, 230, 196, 0.35);
  border-radius: 50%;
  animation: mx-ring 4s ease-in-out infinite;
}
.mx-shield i:nth-child(2) {
  inset: 22px;
  animation-delay: 0.5s;
  border-color: rgba(243, 215, 122, 0.35);
}
.mx-shield i:nth-child(3) {
  inset: 44px;
  animation-delay: 1s;
}
.mx-shield i:nth-child(4) {
  inset: 66px;
  animation-delay: 1.5s;
  border-color: rgba(243, 215, 122, 0.45);
}
.mx-shield span {
  position: absolute;
  inset: 84px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(140deg, #17936c, #0e6b4f);
  color: #fff;
  font-size: 30px;
  box-shadow: 0 0 40px rgba(158, 230, 196, 0.45);
}
@keyframes mx-ring {
  50% {
    transform: scale(1.06);
    opacity: 0.5;
  }
}
.mx-layers {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}
.mx-layers li {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  align-items: center;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  transition:
    background 0.3s,
    transform 0.3s;
}
.mx-layers li:hover {
  background: rgba(158, 230, 196, 0.08);
  transform: translateX(6px);
}
.mx-layers li > span {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(158, 230, 196, 0.12);
  color: #9ee6c4;
  font-size: 22px;
}
.mx-layers small {
  color: #f3d77a;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.mx-layers h3 {
  margin: 2px 0 4px;
  font-size: 18px;
  font-weight: 700;
}
.mx-layers p {
  font-size: 14px;
  line-height: 1.55;
}

/* Tech stack */
.mx-stack {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  position: relative;
}
.mx-stack article {
  position: relative;
  padding: 24px;
  border: 1px solid var(--mx-line);
  border-radius: 22px;
  background: #fff;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}
.mx-stack article:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 48px -28px rgba(14, 107, 79, 0.55);
}
.mx-stack header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mx-stack .ec-icon {
  width: 46px;
  height: 46px;
  font-size: 20px;
}
.mx-stack small {
  color: var(--ec-indigo);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.mx-stack strong {
  display: block;
  margin: 18px 0 8px;
  font-family: var(--font-primary, inherit);
  font-size: 20px;
  font-weight: 700;
}
.mx-stack p {
  color: var(--ec-muted);
  font-size: 13.5px;
  line-height: 1.6;
}
.mx-stack article > div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}
.mx-stack article > div span {
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--mx-tint);
  color: #0b5a42;
  font-size: 12px;
  font-weight: 600;
  transition:
    background 0.2s,
    color 0.2s;
}
.mx-stack article > div span:hover {
  background: var(--ec-indigo);
  color: #fff;
}

/* Cost guide */
.mx-timeline {
  margin-bottom: 26px;
  padding: 24px 26px;
  border: 1px solid var(--mx-line);
  border-radius: 22px;
  background: #fff;
}
.mx-timeline-scale {
  display: flex;
  justify-content: space-between;
  margin-left: 170px;
  margin-bottom: 10px;
  color: #9aa49e;
  font-size: 11px;
  font-weight: 700;
}
.mx-timeline-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 10px;
  align-items: center;
  padding: 7px 0;
}
.mx-timeline-row b {
  font-size: 14px;
}
.mx-timeline-row > div {
  position: relative;
  height: 30px;
  border-radius: 10px;
  background: repeating-linear-gradient(
    90deg,
    #f1f4f0 0 calc(25% - 1px),
    #e3e8e2 calc(25% - 1px) 25%
  );
}
.mx-timeline-row i {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: var(--from);
  width: calc(var(--to) - var(--from));
  border-radius: 8px;
  background: var(--ec-grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s cubic-bezier(0.2, 0.7, 0.2, 1) var(--d, 0ms);
  display: flex;
  align-items: center;
  padding-left: 10px;
}
.mx-timeline-row i span {
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  font-style: normal;
  white-space: nowrap;
}
.mx-timeline.is-in i,
.ec-main:not(.ec-motion) .mx-timeline i {
  transform: scaleX(1);
}
.mx-cost {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
}
.mx-cost article {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--mx-line);
  border-radius: 24px;
  background: #fff;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}
.mx-cost article:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 48px -26px rgba(14, 107, 79, 0.5);
}
.mx-cost article.is-featured {
  color: #fff;
  border-color: transparent;
  background:
    radial-gradient(
      circle at 90% 0,
      rgba(243, 215, 122, 0.25),
      transparent 45%
    ),
    var(--ec-dark);
  box-shadow: 0 30px 60px -30px rgba(10, 42, 32, 0.8);
}
.mx-cost header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mx-cost header small {
  color: #b9c4bd;
  font-weight: 700;
}
.mx-cost .is-featured .ec-icon {
  background: rgba(255, 255, 255, 0.1);
  color: #f3d77a;
  box-shadow: none;
}
.mx-cost-name {
  display: block;
  margin-top: 20px;
  color: var(--ec-indigo);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.mx-cost .is-featured .mx-cost-name {
  color: #9ee6c4;
}
.mx-cost strong {
  display: block;
  margin: 8px 0 10px;
  font-family: var(--font-primary, inherit);
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.mx-cost p {
  color: var(--ec-muted);
  font-size: 14.5px;
  line-height: 1.6;
}
.mx-cost .is-featured p {
  color: rgba(255, 255, 255, 0.75);
}
.mx-cost ul {
  margin: 20px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--mx-line);
  list-style: none;
  display: grid;
  gap: 10px;
}
.mx-cost .is-featured ul {
  border-color: rgba(255, 255, 255, 0.14);
}
.mx-cost li {
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
}
.mx-cost li .bi {
  color: var(--ec-mint);
}
.mx-cost .is-featured li .bi {
  color: #9ee6c4;
}
.mx-note {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 20px;
  color: var(--ec-muted);
  font-size: 13.5px;
}
.mx-note .bi {
  color: var(--ec-indigo);
}

/* Engagement models */
.mx-engage {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.mx-engage article {
  position: relative;
  padding: 28px;
  border: 1px solid var(--mx-line);
  border-radius: 24px;
  background: #fff;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}
.mx-engage article:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 48px -26px rgba(14, 107, 79, 0.5);
}
.mx-engage article.is-featured {
  border-color: var(--mx-tint-line);
  box-shadow:
    0 0 0 3px rgba(14, 107, 79, 0.08),
    0 26px 48px -30px rgba(14, 107, 79, 0.6);
}
.mx-engage header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mx-engage header b {
  color: #c6d3cb;
  font-size: 13px;
}
.mx-engage small {
  display: block;
  margin-top: 20px;
  color: var(--mx-gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.mx-engage h3 {
  margin: 6px 0 10px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.mx-engage p {
  color: var(--ec-muted);
  font-size: 14.5px;
  line-height: 1.6;
}
.mx-engage strong {
  display: block;
  margin: 20px 0 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.mx-engage article > div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.mx-engage article > div span {
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--mx-tint);
  color: #0b5a42;
  font-size: 12.5px;
  font-weight: 600;
}

/* Testimonials */
.mx-testimonial-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.mx-rating {
  display: inline-grid;
  gap: 2px;
  margin-top: 28px;
  padding: 18px 22px;
  border-radius: 18px;
  background: var(--ec-dark);
  color: #fff;
}
.mx-rating strong {
  font-family: var(--font-primary, inherit);
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
}
.mx-rating span {
  color: #f3d77a;
  letter-spacing: 2px;
}
.mx-rating small {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
}
.mx-quotes {
  overflow: hidden;
  border-radius: 26px;
}
.mx-quotes-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.mx-quote {
  flex: 0 0 100%;
  margin: 0;
  padding: clamp(26px, 4vw, 44px);
  border: 1px solid var(--mx-line);
  border-radius: 26px;
  background: linear-gradient(160deg, #fff, #f4f8f3);
}
.mx-quote-stars {
  color: var(--mx-gold);
  letter-spacing: 3px;
}
.mx-quote blockquote {
  margin: 16px 0 26px;
  font-family: var(--font-primary, inherit);
  font-size: clamp(20px, 2.2vw, 27px);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.015em;
  color: var(--ec-ink);
}
.mx-quote figcaption {
  display: flex;
  align-items: center;
  gap: 14px;
}
.mx-quote figcaption > span {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ec-grad);
  color: #fff;
  font-weight: 800;
}
.mx-quote figcaption p {
  margin: 0;
}
.mx-quote figcaption strong {
  display: block;
  font-size: 16px;
}
.mx-quote figcaption small {
  color: var(--ec-muted);
  font-size: 13px;
}
.mx-quotes-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
}
.mx-quotes-nav > button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--mx-line);
  border-radius: 50%;
  background: #fff;
  color: var(--ec-ink);
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
}
.mx-quotes-nav > button:hover {
  background: var(--ec-indigo);
  color: #fff;
}
.mx-quotes-dots {
  display: flex;
  gap: 8px;
}
.mx-quotes-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #cfd8d2;
  cursor: pointer;
  transition:
    width 0.3s,
    background 0.3s;
}
.mx-quotes-dots button.is-active {
  width: 28px;
  background: var(--ec-indigo);
}

/* CTA extras */
.mx-cta-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.mx-cta-points span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: #e5f5ec;
  font-size: 13px;
  font-weight: 600;
}
.mx-cta-points .bi {
  color: #f3d77a;
}
.mx-main .ec-form small .bi {
  color: var(--ec-mint);
}

/* Responsive */
@media (max-width: 1100px) {
  .mx-badges {
    grid-template-columns: repeat(3, 1fr);
  }
  .mx-stack {
    grid-template-columns: repeat(2, 1fr);
  }
  .mx-industries {
    grid-template-columns: repeat(2, 1fr);
  }
  .mx-uc {
    grid-template-columns: 1fr;
  }
  .mx-uc-tabs {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: thin;
  }
  .mx-uc-tabs button {
    flex: none;
    grid-template-columns: 32px auto;
    padding: 10px 14px;
    border-color: var(--mx-line);
    background: #fff;
  }
  .mx-uc-tabs button b {
    display: none;
  }
}
@media (max-width: 900px) {
  .mx-outcomes,
  .mx-security,
  .mx-testimonial-grid,
  .mx-case {
    grid-template-columns: 1fr;
  }
  .mx-service-grid,
  .mx-cap-grid,
  .mx-process,
  .mx-cost,
  .mx-engage {
    grid-template-columns: repeat(2, 1fr);
  }
  .mx-process li:nth-child(3n)::after {
    display: block;
  }
  .mx-process li:nth-child(2n)::after {
    display: none;
  }
  .mx-shield {
    margin-inline: auto;
  }
}
@media (max-width: 640px) {
  .mx-service-grid,
  .mx-cap-grid,
  .mx-process,
  .mx-cost,
  .mx-engage,
  .mx-badges,
  .mx-stack,
  .mx-checks,
  .mx-industries {
    grid-template-columns: 1fr;
  }
  .mx-industry-lead {
    grid-column: auto;
    grid-row: auto;
    min-height: 360px;
  }
  .mx-process li::after {
    display: none !important;
  }
  .mx-uc-stage {
    grid-template-columns: 1fr;
    padding: 14px;
  }
  .mx-uc-image {
    max-height: 220px;
  }
  .mx-gauges {
    margin: -30px 8px 0;
    gap: 8px;
  }
  .mx-gauge svg {
    width: 64px;
    height: 64px;
  }
  .mx-gauge strong {
    top: 36px;
    font-size: 14px;
  }
  .mx-gauge span {
    font-size: 11px;
  }
  .mx-case-cs {
    grid-template-columns: 1fr;
  }
  .mx-case-cs > .bi {
    transform: rotate(90deg);
    justify-self: center;
  }
  .mx-timeline {
    padding: 18px;
  }
  .mx-timeline-scale {
    margin-left: 0;
  }
  .mx-timeline-row {
    grid-template-columns: 1fr;
  }
  .mx-platforms {
    left: 50%;
    transform: translateX(-50%);
  }
  .mx-hero-stats div {
    flex: 1;
    min-width: 0;
    padding: 12px;
  }
  .mx-hero-stats strong {
    font-size: 22px;
  }
  .mx-shield {
    width: 200px;
    height: 200px;
  }
  .mx-shield span {
    inset: 68px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .mx-platforms span,
  .mx-shield i,
  .mx-uc-panel {
    animation: none;
  }
  .mx-quotes-track {
    transition: none;
  }
}
.mx-page .ec-proof {
  padding-bottom: 56px;
}
.mx-rail span {
  letter-spacing: 0.14em !important;
}
.mx-rail span .bi {
  letter-spacing: 0;
}
.mx-testimonial-grid {
  grid-template-columns: minmax(300px, 0.9fr) 1.4fr;
}
.mx-testimonial-grid h2 {
  font-size: clamp(32px, 3.6vw, 48px);
}
@media (max-width: 900px) {
  .mx-testimonial-grid {
    grid-template-columns: 1fr;
  }
}
.mx-crumbs,
.mx-crumbs a {
  color: #475266;
}
@media (max-width: 640px) {
  .mx-timeline-row:nth-child(2) i span,
  .mx-timeline-row:nth-child(3) i span {
    position: absolute;
    left: calc(100% + 8px);
    color: var(--ec-ink);
  }
  .mx-timeline-row i {
    overflow: visible;
  }
}
.mx-testimonial-grid > *,
.mx-uc > *,
.mx-outcomes > *,
.mx-security > *,
.mx-case > * {
  min-width: 0;
}

/* ---------- v6: testimonials wall ---------- */
.mx-tst-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 40px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.mx-tst-head h2 {
  margin: 14px 0 0;
  max-width: 640px;
}
.mx-testimonials .mx-rating {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
  padding: 16px 22px;
  border-radius: 18px;
  background: var(--ec-dark);
  color: #fff;
  box-shadow: 0 20px 40px -24px rgba(10, 42, 32, 0.7);
}
.mx-testimonials .mx-rating strong {
  font-family: var(--font-primary, inherit);
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}
.mx-testimonials .mx-rating strong small {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.6);
}
.mx-testimonials .mx-rating div {
  display: grid;
  gap: 4px;
}
.mx-testimonials .mx-rating span {
  color: #f3d77a;
  letter-spacing: 3px;
  font-size: 16px;
}
.mx-testimonials .mx-rating div small {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 600;
}
.mx-tst-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  grid-auto-rows: auto;
  gap: 16px;
}
.mx-tst {
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 28px;
  border: 1px solid var(--mx-line);
  border-radius: 24px;
  background: #fff;
  transition:
    transform 0.3s,
    box-shadow 0.3s,
    border-color 0.3s;
}
.mx-tst:hover {
  transform: translateY(-6px);
  border-color: var(--mx-tint-line);
  box-shadow: 0 26px 48px -28px rgba(14, 107, 79, 0.55);
}
.mx-tst > .bi {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--mx-tint);
  color: var(--ec-indigo);
  font-size: 22px;
}
.mx-tst blockquote {
  flex: 1;
  margin: 18px 0 22px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.65;
  color: #2b3340;
}
.mx-tst figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--mx-line);
}
.mx-tst figcaption > span {
  flex: none;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ec-grad);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}
.mx-tst figcaption p {
  flex: 1;
  margin: 0;
  min-width: 0;
}
.mx-tst figcaption strong {
  display: block;
  font-size: 15px;
}
.mx-tst figcaption small {
  display: block;
  color: var(--ec-muted);
  font-size: 12.5px;
}
.mx-tst figcaption b {
  color: var(--mx-gold);
  font-size: 12px;
  letter-spacing: 1px;
  white-space: nowrap;
}
.mx-tst.is-featured {
  grid-row: span 2;
  color: #fff;
  border-color: transparent;
  background:
    radial-gradient(
      circle at 100% 0,
      rgba(243, 215, 122, 0.22),
      transparent 45%
    ),
    radial-gradient(circle at 0 100%, rgba(23, 147, 108, 0.4), transparent 50%),
    var(--ec-dark);
  box-shadow: 0 30px 60px -30px rgba(10, 42, 32, 0.8);
}
.mx-tst.is-featured > .bi {
  width: 56px;
  height: 56px;
  background: rgba(243, 215, 122, 0.14);
  color: #f3d77a;
  font-size: 30px;
}
.mx-tst.is-featured blockquote {
  display: flex;
  align-items: center;
  font-family: var(--font-primary, inherit);
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: #fff;
}
.mx-tst.is-featured figcaption {
  border-color: rgba(255, 255, 255, 0.14);
}
.mx-tst.is-featured figcaption small {
  color: rgba(255, 255, 255, 0.65);
}
.mx-tst.is-featured figcaption b {
  color: #f3d77a;
}
.mx-tst:nth-child(4) {
  grid-column: 2 / span 2;
}

/* ---------- v6: security layer path ---------- */
.mx-sec {
  position: relative;
  margin: 0;
  padding: 34px 0 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr) 56px;
  gap: 16px;
  align-items: start;
}
.mx-sec::before,
.mx-sec::after {
  content: "";
  position: absolute;
  left: 24px;
  right: 28px;
  top: 56px;
  height: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.12);
}
.mx-sec::after {
  background: linear-gradient(90deg, #9ee6c4, #f3d77a);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.6s cubic-bezier(0.2, 0.7, 0.2, 1) 0.2s;
}
.mx-sec.is-in::after,
.ec-main:not(.ec-motion) .mx-sec::after {
  transform: scaleX(1);
}
.mx-sec li {
  position: relative;
}
.mx-sec-node {
  position: relative;
  z-index: 1;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 2px solid rgba(158, 230, 196, 0.5);
  background: var(--ec-dark);
  color: #9ee6c4;
  font: 800 16px var(--font-primary, inherit);
  transition:
    background 0.4s ease var(--d, 0ms),
    color 0.4s ease var(--d, 0ms),
    border-color 0.4s ease var(--d, 0ms);
}
.mx-sec.is-in .mx-sec-node,
.ec-main:not(.ec-motion) .mx-sec-node {
  background: #9ee6c4;
  color: var(--ec-dark);
  border-color: #9ee6c4;
}
.mx-sec-card {
  margin-top: 22px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(8px);
  transition:
    transform 0.3s,
    background 0.3s,
    border-color 0.3s;
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.6s ease calc(var(--d, 0ms) + 200ms),
    transform 0.6s ease calc(var(--d, 0ms) + 200ms),
    background 0.3s,
    border-color 0.3s;
}
.mx-sec.is-in .mx-sec-card,
.ec-main:not(.ec-motion) .mx-sec-card {
  opacity: 1;
  transform: none;
}
.mx-sec-card:hover {
  background: rgba(158, 230, 196, 0.08);
  border-color: rgba(158, 230, 196, 0.35);
}
.mx-sec-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mx-sec-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(158, 230, 196, 0.12);
  color: #9ee6c4;
  font-size: 22px;
}
.mx-sec-depth {
  display: flex;
  flex-direction: column-reverse;
  gap: 4px;
}
.mx-sec-depth i {
  width: 34px;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.12);
}
.mx-sec-depth i.is-on {
  background: linear-gradient(90deg, #9ee6c4, #f3d77a);
}
.mx-sec-card small {
  display: block;
  margin-top: 20px;
  color: #f3d77a;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.mx-sec-card h3 {
  margin: 6px 0 8px;
  font-size: 19px;
  font-weight: 700;
}
.mx-sec-card p {
  font-size: 14px;
  line-height: 1.6;
}
.mx-sec-end {
  padding-top: 0;
}
.mx-sec-end span {
  position: relative;
  z-index: 1;
  width: 56px;
  height: 56px;
  margin-top: -5px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(140deg, #17936c, #0e6b4f);
  color: #fff;
  font-size: 24px;
  box-shadow:
    0 0 0 6px rgba(158, 230, 196, 0.12),
    0 0 30px rgba(158, 230, 196, 0.35);
  animation: mx-glow 3s ease-in-out infinite;
}
@keyframes mx-glow {
  50% {
    box-shadow:
      0 0 0 10px rgba(158, 230, 196, 0.06),
      0 0 44px rgba(158, 230, 196, 0.5);
  }
}
.ec-motion .mx-sec.ec-reveal {
  transform: none;
}

@media (max-width: 1100px) {
  .mx-tst-grid {
    grid-template-columns: 1fr 1fr;
  }
  .mx-tst.is-featured {
    grid-row: auto;
    grid-column: 1 / -1;
  }
  .mx-tst:nth-child(4) {
    grid-column: 1 / -1;
  }
  .mx-sec {
    grid-template-columns: repeat(2, 1fr);
    padding-top: 0;
  }
  .mx-sec::before,
  .mx-sec::after,
  .mx-sec-end {
    display: none;
  }
}
@media (max-width: 640px) {
  .mx-tst-grid,
  .mx-sec {
    grid-template-columns: 1fr;
  }
  .mx-tst:nth-child(4) {
    grid-column: auto;
  }
  .mx-sec li {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 14px;
  }
  .mx-sec-card {
    margin-top: 0;
  }
  .mx-testimonials .mx-rating {
    width: 100%;
    justify-content: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  .mx-sec-end span {
    animation: none;
  }
  .mx-sec-card {
    opacity: 1;
    transform: none;
  }
}
