/* SMMP Systems page (4278) custom animations (non-USAL).
 *
 * "How It Works" process section (row 89204cc, a BOXED container so its cards +
 * connectors are addressed by id via descendant selectors): the 3 step cards
 * (a7d4dcf / 6294bec / 0eed84b) rise in one at a time and the gold connector lines
 * (f24701d / dcf9f1a, desktop-only) DRAW between them, so the process flows
 * 01 -> 02 -> 03. Plus a gold hover glow on each step card.
 *
 * Progressive enhancement: the reveal is gated behind .smmp-proc-armed (added by
 * systems-anim.js); without JS the cards show normally. The hover glow is pure CSS
 * and always works. */

/* --- hover glow on the 3 step cards (always on) --- */
.elementor-4278 .elementor-element.elementor-element-a7d4dcf,
.elementor-4278 .elementor-element.elementor-element-6294bec,
.elementor-4278 .elementor-element.elementor-element-0eed84b {
  transition: box-shadow .4s ease, border-color .4s ease;
}
.elementor-4278 .elementor-element.elementor-element-a7d4dcf:hover,
.elementor-4278 .elementor-element.elementor-element-6294bec:hover,
.elementor-4278 .elementor-element.elementor-element-0eed84b:hover {
  border-color: rgba(240, 198, 68, 0.95);
  box-shadow: 0 14px 32px rgba(0, 0, 0, .5), 0 0 26px rgba(240, 198, 68, .32);
}

/* --- step-by-step reveal (JS arms + reveals) --- */
.smmp-proc-armed .elementor-element-a7d4dcf,
.smmp-proc-armed .elementor-element-6294bec,
.smmp-proc-armed .elementor-element-0eed84b { opacity: 0; }
.smmp-proc-armed .elementor-element-f24701d,
.smmp-proc-armed .elementor-element-dcf9f1a { transform: scaleX(0); transform-origin: left center; }

.smmp-proc-in .elementor-element-a7d4dcf { animation: smmp-proc-card .6s cubic-bezier(.2,.8,.2,1) both; animation-delay: 0s; }
.smmp-proc-in .elementor-element-f24701d { animation: smmp-proc-conn .5s ease both; animation-delay: .32s; }
.smmp-proc-in .elementor-element-6294bec { animation: smmp-proc-card .6s cubic-bezier(.2,.8,.2,1) both; animation-delay: .55s; }
.smmp-proc-in .elementor-element-dcf9f1a { animation: smmp-proc-conn .5s ease both; animation-delay: .87s; }
.smmp-proc-in .elementor-element-0eed84b { animation: smmp-proc-card .6s cubic-bezier(.2,.8,.2,1) both; animation-delay: 1.1s; }

@keyframes smmp-proc-card { from { opacity: 0; transform: translateY(34px); } to { opacity: 1; transform: none; } }
@keyframes smmp-proc-conn { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (prefers-reduced-motion: reduce) {
  .smmp-proc-armed .elementor-element-a7d4dcf,
  .smmp-proc-armed .elementor-element-6294bec,
  .smmp-proc-armed .elementor-element-0eed84b { opacity: 1 !important; }
  .smmp-proc-armed .elementor-element-f24701d,
  .smmp-proc-armed .elementor-element-dcf9f1a { transform: none !important; }
  .smmp-proc-in .elementor-element-a7d4dcf,
  .smmp-proc-in .elementor-element-6294bec,
  .smmp-proc-in .elementor-element-0eed84b,
  .smmp-proc-in .elementor-element-f24701d,
  .smmp-proc-in .elementor-element-dcf9f1a { animation: none !important; }
}

/* --- Client Results carousel (row e3baef9, wrapped by the slider's .smmp-cr-vp):
   stagger-reveal ALL cards up-front on scroll-in so slider nav never shows a blank;
   transform on the child cards composes with the slider's translateX. Distinct
   .smmp-cres- prefix (the slider owns .smmp-cr-vp / .smmp-cr-dots). --- */
.elementor-4278 .elementor-element-e3baef9.smmp-cres-armed > .e-con { opacity: 0; transform: translateY(28px); }
.elementor-4278 .elementor-element-e3baef9.smmp-cres-in > .e-con { opacity: 1; transform: none; transition: opacity .6s ease, transform .65s cubic-bezier(.2,.8,.2,1); }
.elementor-4278 .elementor-element-e3baef9.smmp-cres-in > .e-con:nth-child(2) { transition-delay: .1s; }
.elementor-4278 .elementor-element-e3baef9.smmp-cres-in > .e-con:nth-child(3) { transition-delay: .2s; }
.elementor-4278 .elementor-element-e3baef9.smmp-cres-in > .e-con:nth-child(4) { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  .elementor-4278 .elementor-element-e3baef9.smmp-cres-armed > .e-con { opacity: 1 !important; transform: none !important; }
}
