/* =========================================================
   DATAXSYS DESIGN SYSTEM v2.4
   Service hover contrast, Engine-style metrics, light footer
   ========================================================= */

/* Service cards: every foreground element becomes white on hover/focus. */
.service-card:hover,
.service-card:focus-within {
  background: var(--dx-red);
  color: #fff;
}

.service-card:hover h3,
.service-card:focus-within h3,
.service-card:hover p,
.service-card:focus-within p,
.service-card:hover a,
.service-card:focus-within a,
.service-card:hover > span,
.service-card:focus-within > span {
  color: #fff !important;
}

.service-card:hover .service-icon,
.service-card:focus-within .service-icon {
  background: rgba(255,255,255,.94);
  color: var(--dx-red);
}

/* Results metrics: heavier, tighter, and closer to Engine's visual weight. */
.result-card strong,
.results .counter {
  font-family: var(--dx-font-display) !important;
  font-weight: 900 !important;
  font-size: clamp(4.4rem, 6.2vw, 6.8rem) !important;
  line-height: .82 !important;
  letter-spacing: -.055em !important;
  color: #fff;
  font-variant-numeric: lining-nums tabular-nums;
}

.result-card span {
  margin-top: 1.5rem;
  font-size: clamp(.95rem, 1.15vw, 1.2rem);
  line-height: 1.45;
}

/* Light, compact footer with a large centered DataXsys wordmark. */
.site-footer.site-footer--light {
  margin-top: 6rem;
  padding: 4.25rem 0 0;
  background: #f4f4f2 !important;
  color: var(--dx-neutral-900);
  overflow: hidden;
}

.footer-top--compact {
  display: block;
  padding-bottom: 3rem;
}

.footer-links--compact {
  width: min(720px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3.5rem;
  text-align: left;
}

.footer-links--compact h3 {
  margin: 0 0 .9rem;
  color: var(--dx-neutral-900) !important;
  font-family: var(--dx-font-body) !important;
  font-size: .72rem !important;
  line-height: 1.2;
  letter-spacing: .02em;
  text-transform: none;
  font-weight: 800;
}

.footer-links--compact a {
  display: block;
  margin: .5rem 0;
  color: #5f5f65 !important;
  font-size: .72rem;
  line-height: 1.35;
  transition: color .2s ease;
}

.footer-links--compact a:hover { color: var(--dx-red) !important; }

.footer-bottom--light {
  border-top: 1px solid #cfcfd2 !important;
  padding: 1.2rem 0 1.35rem;
  color: #606066 !important;
  font-size: .68rem !important;
}

.footer-bottom--light a { color: #606066; }
.footer-bottom--light a:hover { color: var(--dx-red); }

.footer-wordmark {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding: 1rem 0 0;
  line-height: 0;
}

.footer-wordmark img {
  width: min(78vw, 980px);
  max-width: none;
  height: auto;
  display: block;
  filter: none;
  opacity: 1;
  transform: translateY(7%);
}

@media (max-width: 767px) {
  .footer-links--compact {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .footer-bottom--light {
    flex-direction: column;
    gap: .85rem;
  }
  .footer-wordmark img { width: 96vw; }
}

@media (max-width: 479px) {
  .site-footer.site-footer--light { padding-top: 3rem; }
  .footer-links--compact { grid-template-columns: 1fr; }
  .footer-wordmark img { width: 105vw; }
}

.btn-client-website{
display:inline-flex;align-items:center;justify-content:center;
padding:16px 30px;border-radius:999px;
background:#fff!important;color:#111!important;
border:2px solid #fff!important;font-weight:700;
text-decoration:none;transition:all .25s ease}
.btn-client-website:hover{
background:#f2f2f2!important;color:#111!important;
border-color:#f2f2f2!important;
box-shadow:0 10px 24px rgba(0,0,0,.18);
transform:translateY(-2px)}
