/* MEGAMIST RC94 — unified responsive CTA for home and service cards */
:where(.mm-home-services-v236,.v69-cluster-grid) a{-webkit-tap-highlight-color:transparent}

/* Shared visual language */
.mm-home-services-v236 .mm-service-v236__link,
.v69-cluster-card .mm-card-action.mm-card-action-plain{
  position:relative!important;
  isolation:isolate!important;
  z-index:4!important;
  box-sizing:border-box!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 42px!important;
  align-items:center!important;
  gap:12px!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  min-height:56px!important;
  margin-top:auto!important;
  padding:6px 7px 6px 20px!important;
  overflow:hidden!important;
  border:1px solid rgba(89,224,244,.58)!important;
  border-radius:18px!important;
  outline:0!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  background-color:#087da4!important;
  background-image:linear-gradient(132deg,#07364f 0%,#076c91 48%,#08b8d1 100%)!important;
  box-shadow:0 14px 30px rgba(4,65,92,.24),inset 0 1px 0 rgba(255,255,255,.22)!important;
  font-size:14px!important;
  font-weight:900!important;
  line-height:1.2!important;
  letter-spacing:0!important;
  text-indent:0!important;
  text-shadow:0 1px 1px rgba(0,28,43,.2)!important;
  visibility:visible!important;
  opacity:1!important;
  filter:none!important;
  mix-blend-mode:normal!important;
  transform:none!important;
  transition:transform .2s ease,box-shadow .2s ease,background-image .2s ease!important
}

.mm-home-services-v236 .mm-service-v236__link:before,
.v69-cluster-card .mm-card-action.mm-card-action-plain:before{
  content:""!important;
  position:absolute!important;
  z-index:-1!important;
  inset:0!important;
  pointer-events:none!important;
  background:linear-gradient(110deg,transparent 24%,rgba(255,255,255,.17) 49%,transparent 74%)!important;
  transform:translateX(-135%)!important;
  transition:transform .48s ease!important
}

/* Service-category cards use a generated arrow */
.v69-cluster-card .mm-card-action-label{
  position:relative!important;
  z-index:2!important;
  display:block!important;
  min-width:0!important;
  overflow-wrap:anywhere!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  font-size:14px!important;
  font-weight:900!important;
  line-height:1.2!important;
  visibility:visible!important;
  opacity:1!important
}
.v69-cluster-card .mm-card-action.mm-card-action-plain:after{
  content:"→"!important;
  position:relative!important;
  z-index:2!important;
  box-sizing:border-box!important;
  display:grid!important;
  place-items:center!important;
  width:42px!important;
  height:42px!important;
  margin:0!important;
  padding:0!important;
  border:1px solid rgba(255,255,255,.32)!important;
  border-radius:13px!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  background:rgba(3,40,59,.38)!important;
  box-shadow:none!important;
  font-size:19px!important;
  font-weight:900!important;
  line-height:1!important;
  visibility:visible!important;
  opacity:1!important
}

/* Home cards already contain an SVG arrow */
.mm-home-services-v236 .mm-service-v236__link svg{
  position:relative!important;
  z-index:2!important;
  box-sizing:border-box!important;
  display:block!important;
  width:42px!important;
  height:42px!important;
  margin:0!important;
  padding:11px!important;
  border:1px solid rgba(255,255,255,.32)!important;
  border-radius:13px!important;
  color:#fff!important;
  background:rgba(3,40,59,.38)!important;
  fill:none!important;
  stroke:#fff!important;
  stroke-width:2!important;
  box-shadow:none!important;
  visibility:visible!important;
  opacity:1!important
}

/* Hover, keyboard focus and touch/active remain on-brand */
.mm-service-v236:hover .mm-service-v236__link,
.mm-service-v236>a:focus .mm-service-v236__link,
.mm-service-v236>a:focus-visible .mm-service-v236__link,
.mm-service-v236>a:active .mm-service-v236__link,
.v69-cluster-card:hover .mm-card-action.mm-card-action-plain,
.v69-cluster-card:focus .mm-card-action.mm-card-action-plain,
.v69-cluster-card:focus-visible .mm-card-action.mm-card-action-plain,
.v69-cluster-card:active .mm-card-action.mm-card-action-plain,
.v69-cluster-card:visited .mm-card-action.mm-card-action-plain{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  background-color:#066d91!important;
  background-image:linear-gradient(132deg,#062e45 0%,#07688c 48%,#08a9c2 100%)!important;
  border-color:rgba(102,232,248,.72)!important;
  opacity:1!important;
  filter:none!important;
  box-shadow:0 18px 38px rgba(4,65,92,.31),inset 0 1px 0 rgba(255,255,255,.24)!important;
  transform:translateY(-2px)!important
}
.mm-service-v236>a:active .mm-service-v236__link,
.v69-cluster-card:active .mm-card-action.mm-card-action-plain{transform:scale(.985)!important}
.mm-service-v236:hover .mm-service-v236__link:before,
.mm-service-v236>a:focus-visible .mm-service-v236__link:before,
.v69-cluster-card:hover .mm-card-action.mm-card-action-plain:before,
.v69-cluster-card:focus-visible .mm-card-action.mm-card-action-plain:before{transform:translateX(135%)!important}
.mm-service-v236>a:focus-visible,
.v69-cluster-card:focus-visible{outline:3px solid rgba(18,174,210,.48)!important;outline-offset:5px!important}

[dir="rtl"] .mm-home-services-v236 .mm-service-v236__link,
[dir="rtl"] .v69-cluster-card .mm-card-action.mm-card-action-plain{grid-template-columns:42px minmax(0,1fr)!important;padding:6px 20px 6px 7px!important}
[dir="rtl"] .v69-cluster-card .mm-card-action.mm-card-action-plain:after{content:"←"!important;grid-column:1;grid-row:1}
[dir="rtl"] .v69-cluster-card .mm-card-action-label{grid-column:2;grid-row:1}
[dir="rtl"] .mm-home-services-v236 .mm-service-v236__link svg{grid-column:1;grid-row:1;transform:scaleX(-1)!important}

@media(max-width:680px){
  .mm-home-services-v236 .mm-service-v236__link,
  .v69-cluster-card .mm-card-action.mm-card-action-plain{
    min-height:58px!important;
    padding:7px 7px 7px 18px!important;
    border-radius:16px!important;
    font-size:15px!important
  }
  .v69-cluster-card .mm-card-action-label{font-size:15px!important}
  [dir="rtl"] .mm-home-services-v236 .mm-service-v236__link,
  [dir="rtl"] .v69-cluster-card .mm-card-action.mm-card-action-plain{padding:7px 18px 7px 7px!important}
}
@media(max-width:380px){
  .mm-home-services-v236 .mm-service-v236__link,
  .v69-cluster-card .mm-card-action.mm-card-action-plain{grid-template-columns:minmax(0,1fr) 38px!important;padding-inline-start:15px!important}
  .mm-home-services-v236 .mm-service-v236__link svg,
  .v69-cluster-card .mm-card-action.mm-card-action-plain:after{width:38px!important;height:38px!important;border-radius:12px!important}
}
@media(prefers-reduced-motion:reduce){
  .mm-home-services-v236 .mm-service-v236__link,
  .mm-home-services-v236 .mm-service-v236__link:before,
  .v69-cluster-card .mm-card-action.mm-card-action-plain,
  .v69-cluster-card .mm-card-action.mm-card-action-plain:before{transition:none!important}
}

/* RC96 — specificity lock: legacy card hover/focus rules must never whiten the CTA */
.mm-home-services-v236 .mm-service-v236:hover .mm-service-v236__link,
.mm-home-services-v236 .mm-service-v236:focus-within .mm-service-v236__link,
.mm-home-services-v236 .mm-service-v236>a:focus .mm-service-v236__link,
.mm-home-services-v236 .mm-service-v236>a:focus-visible .mm-service-v236__link,
.mm-home-services-v236 .mm-service-v236>a:active .mm-service-v236__link,
.mm-service-premium .v69-cluster-card:hover .mm-card-action.mm-card-action-plain,
.mm-service-premium .v69-cluster-card:focus .mm-card-action.mm-card-action-plain,
.mm-service-premium .v69-cluster-card:focus-within .mm-card-action.mm-card-action-plain,
.mm-service-premium .v69-cluster-card:focus-visible .mm-card-action.mm-card-action-plain,
.mm-service-premium .v69-cluster-card:active .mm-card-action.mm-card-action-plain,
.mm-service-premium .v69-cluster-card:visited .mm-card-action.mm-card-action-plain{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 42px!important;
  width:100%!important;
  min-width:0!important;
  min-height:56px!important;
  padding:6px 7px 6px 20px!important;
  border:1px solid rgba(102,232,248,.72)!important;
  border-radius:18px!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  background:#066d91 linear-gradient(132deg,#062e45 0%,#07688c 48%,#08a9c2 100%)!important;
  opacity:1!important;
  filter:none!important;
  box-shadow:0 18px 38px rgba(4,65,92,.31),inset 0 1px 0 rgba(255,255,255,.24)!important
}
.mm-service-premium .v69-cluster-card:hover .mm-card-action-label,
.mm-service-premium .v69-cluster-card:focus .mm-card-action-label,
.mm-service-premium .v69-cluster-card:focus-within .mm-card-action-label,
.mm-service-premium .v69-cluster-card:focus-visible .mm-card-action-label,
.mm-service-premium .v69-cluster-card:active .mm-card-action-label{
  display:block!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  background:transparent!important;
  opacity:1!important
}
.mm-service-premium .v69-cluster-card:hover .mm-card-action.mm-card-action-plain:after,
.mm-service-premium .v69-cluster-card:focus .mm-card-action.mm-card-action-plain:after,
.mm-service-premium .v69-cluster-card:focus-within .mm-card-action.mm-card-action-plain:after,
.mm-service-premium .v69-cluster-card:focus-visible .mm-card-action.mm-card-action-plain:after,
.mm-service-premium .v69-cluster-card:active .mm-card-action.mm-card-action-plain:after{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  background:rgba(3,40,59,.42)!important;
  border-color:rgba(255,255,255,.34)!important;
  opacity:1!important
}
@media(max-width:680px){
  .mm-home-services-v236 .mm-service-v236:hover .mm-service-v236__link,
  .mm-home-services-v236 .mm-service-v236:focus-within .mm-service-v236__link,
  .mm-service-premium .v69-cluster-card:hover .mm-card-action.mm-card-action-plain,
  .mm-service-premium .v69-cluster-card:focus-within .mm-card-action.mm-card-action-plain{
    min-height:58px!important;
    padding:7px 7px 7px 18px!important;
    border-radius:16px!important
  }
}
