/*
  Lime Services — process-card text visibility fix
  Loaded after all other stylesheets to prevent clipping in both themes.
*/
.sv-process {
  overflow: visible !important;
}
.sv-process .sv-process-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  grid-auto-rows: minmax(320px, auto) !important;
  align-items: stretch !important;
  gap: 30px !important;
  overflow: visible !important;
}
.sv-process .sv-process-grid > article {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 320px !important;
  height: auto !important;
  max-height: none !important;
  padding: 25px 24px 34px 0 !important;
  overflow: visible !important;
  white-space: normal !important;
}
.sv-process .sv-process-grid > article > span {
  display: block !important;
  flex: 0 0 auto !important;
  max-width: 100% !important;
  line-height: 1.5 !important;
  overflow: visible !important;
  white-space: normal !important;
}
.sv-process .sv-process-grid > article > h3 {
  display: block !important;
  flex: 0 0 auto !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: none !important;
  margin: 54px 0 14px !important;
  font-size: clamp(18px, 1.45vw, 21px) !important;
  line-height: 1.35 !important;
  letter-spacing: -.035em !important;
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: normal !important;
  overflow-wrap: break-word !important;
  word-break: normal !important;
}
.sv-process .sv-process-grid > article > p {
  display: block !important;
  flex: 0 0 auto !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: none !important;
  margin: 0 !important;
  font-size: 14px !important;
  line-height: 1.85 !important;
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: normal !important;
  overflow-wrap: break-word !important;
  word-break: normal !important;
}
/* Explicit readable text colors in both themes. */
html[data-theme="light"] .sv-process .sv-process-grid > article > h3,
html:not([data-theme="dark"]) .sv-process .sv-process-grid > article > h3 {
  color: #002b66 !important;
}
html[data-theme="light"] .sv-process .sv-process-grid > article > p,
html:not([data-theme="dark"]) .sv-process .sv-process-grid > article > p {
  color: #718398 !important;
}
html[data-theme="dark"] .sv-process .sv-process-grid > article > h3 {
  color: #f6fbff !important;
}
html[data-theme="dark"] .sv-process .sv-process-grid > article > p {
  color: #bbcbdd !important;
}
@media (max-width: 900px) {
  .sv-process .sv-process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-auto-rows: minmax(300px, auto) !important;
    gap: 26px !important;
  }
}
@media (max-width: 620px) {
  .sv-process .sv-process-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-auto-rows: auto !important;
    gap: 28px !important;
  }
  .sv-process .sv-process-grid > article {
    min-height: 0 !important;
    padding: 22px 12px 30px 0 !important;
  }
  .sv-process .sv-process-grid > article > h3 {
    margin-top: 34px !important;
    font-size: 20px !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sv-process .sv-process-grid > article {
    transform: none !important;
  }
}


/* Center all content inside the three "The Way We Work" cards. */
.sv-process .sv-process-grid > article {
  align-items: center !important;
  text-align: center !important;
}
.sv-process .sv-process-grid > article > span,
.sv-process .sv-process-grid > article > h3,
.sv-process .sv-process-grid > article > p {
  width: 100% !important;
  max-width: 100% !important;
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}


/* Lime card redesign — match the rounded service-card visual language. */
.sv-process .sv-process-grid {
  gap: 28px !important;
  align-items: stretch !important;
}
.sv-process .sv-process-grid > article {
  position: relative !important;
  isolation: isolate !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  min-height: 320px !important;
  height: auto !important;
  padding: 30px 28px 34px !important;
  border: 1px solid rgba(160, 236, 0, .28) !important;
  border-top: 3px solid #a0ec00 !important;
  border-radius: 24px !important;
  overflow: visible !important;
  text-align: center !important;
  box-shadow:
    0 16px 34px -24px rgba(160, 236, 0, .45),
    0 5px 18px rgba(4, 18, 39, .10) !important;
  transition:
    transform .75s cubic-bezier(.2,.7,.2,1),
    box-shadow .65s ease,
    background-color .45s ease,
    border-color .45s ease !important;
  will-change: transform, opacity;
}
.sv-process .sv-process-grid > article::after {
  content: "" !important;
  position: absolute !important;
  z-index: -1 !important;
  inset: 12px !important;
  border-radius: 18px !important;
  pointer-events: none !important;
  opacity: .0 !important;
  transition: opacity .6s ease !important;
  box-shadow: 0 14px 35px rgba(160, 236, 0, .22) !important;
}
.sv-process .sv-process-grid > article:hover {
  transform: translateY(-8px) !important;
  box-shadow:
    0 22px 42px -20px rgba(160, 236, 0, .58),
    0 10px 25px rgba(4, 18, 39, .15) !important;
}
.sv-process .sv-process-grid > article:hover::after {
  opacity: 1 !important;
}
.sv-process .sv-process-grid > article > span {
  display: block !important;
  width: 100% !important;
  margin: 0 auto !important;
  text-align: center !important;
  font-weight: 800 !important;
  letter-spacing: .08em !important;
}
.sv-process .sv-process-grid > article > h3 {
  width: 100% !important;
  margin: 48px auto 14px !important;
  text-align: center !important;
  line-height: 1.35 !important;
  overflow-wrap: break-word !important;
}
.sv-process .sv-process-grid > article > p {
  width: 100% !important;
  margin: 0 auto !important;
  text-align: center !important;
  line-height: 1.85 !important;
  overflow-wrap: break-word !important;
}

/* Light mode: deep Lime navy cards with white headings and soft grey body copy. */
html:not([data-theme="dark"]) .sv-process .sv-process-grid > article {
  background: #002b66 !important;
  border-color: rgba(160, 236, 0, .42) !important;
  border-top-color: #a0ec00 !important;
  box-shadow:
    0 18px 36px -23px rgba(0, 43, 102, .42),
    0 12px 28px -24px rgba(160, 236, 0, .55) !important;
}
html:not([data-theme="dark"]) .sv-process .sv-process-grid > article > span {
  color: #a0ec00 !important;
}
html:not([data-theme="dark"]) .sv-process .sv-process-grid > article > h3 {
  color: #ffffff !important;
}
html:not([data-theme="dark"]) .sv-process .sv-process-grid > article > p {
  color: #d5dfeb !important;
}

/* Dark mode: Lime cards with navy typography for clear contrast. */
html[data-theme="dark"] .sv-process .sv-process-grid > article {
  background: #a0ec00 !important;
  border-color: rgba(0, 43, 102, .25) !important;
  border-top-color: #d0ff65 !important;
  box-shadow:
    0 18px 38px -22px rgba(160, 236, 0, .52),
    0 8px 22px rgba(0, 0, 0, .20) !important;
}
html[data-theme="dark"] .sv-process .sv-process-grid > article > span {
  color: #002b66 !important;
}
html[data-theme="dark"] .sv-process .sv-process-grid > article > h3 {
  color: #002b66 !important;
}
html[data-theme="dark"] .sv-process .sv-process-grid > article > p {
  color: #183b67 !important;
}
html[data-theme="dark"] .sv-process .sv-process-grid > article:hover {
  box-shadow:
    0 24px 46px -20px rgba(160, 236, 0, .70),
    0 10px 24px rgba(0, 0, 0, .24) !important;
}

/* Staggered reveal as the cards enter the viewport. */
.sv-process .sv-process-grid > article.scroll-reveal {
  opacity: 0 !important;
  transform: translate3d(0, 30px, 0) scale(.985) !important;
  transition:
    opacity .9s cubic-bezier(.16,.72,.22,1),
    transform .9s cubic-bezier(.16,.72,.22,1),
    box-shadow .65s ease,
    background-color .45s ease !important;
  transition-delay: var(--reveal-delay, 0ms) !important;
}
.sv-process .sv-process-grid > article.scroll-reveal.is-visible {
  opacity: 1 !important;
  transform: translate3d(0, 0, 0) scale(1) !important;
}
.sv-process .sv-process-grid > article.scroll-reveal.is-visible:hover {
  transform: translate3d(0, -8px, 0) scale(1) !important;
}

@media (max-width: 620px) {
  .sv-process .sv-process-grid > article {
    min-height: 270px !important;
    padding: 26px 22px 30px !important;
    border-radius: 21px !important;
  }
  .sv-process .sv-process-grid > article > h3 {
    margin-top: 34px !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sv-process .sv-process-grid > article,
  .sv-process .sv-process-grid > article.scroll-reveal,
  .sv-process .sv-process-grid > article.scroll-reveal.is-visible,
  .sv-process .sv-process-grid > article:hover {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    will-change: auto !important;
  }
}
