/*
 * EVO-X F4.19
 * Journey & Interaction Closure
 */

/* =========================================
   HERO
   Decorative network never owns clicks.
   ========================================= */

#evo-network,
.evo-network,
#evo-network canvas,
.evo-network canvas,
.particles-js-canvas-el{
  pointer-events:none !important;
}

/* =========================================
   SOLUTIONS
   ========================================= */

#solutions .v12-capability-card.evox-f419-hidden{
  display:none !important;
}

/*
 * Final intrinsic geometry authority.
 * Prevents Card 01 and any other capability
 * from overlapping internal content.
 */

#solutions .v12-capability-grid{
  align-items:stretch !important;
  grid-auto-rows:auto !important;
}

#solutions .v12-capability-card{
  position:relative !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:stretch !important;

  height:auto !important;
  min-height:0 !important;
  max-height:none !important;

  overflow:visible !important;

  padding-top:22px !important;
  padding-bottom:22px !important;

  transform:none;
}

#solutions .v12-capability-card[hidden],
#solutions .v12-capability-card.evox-f419-hidden{
  display:none !important;
}

#solutions .v12-capability-number{
  position:static !important;
  inset:auto !important;
  transform:none !important;

  display:block !important;
  flex:0 0 auto !important;

  width:auto !important;
  height:auto !important;

  margin:0 0 14px !important;
}

#solutions .v12-capability-card h3{
  position:static !important;
  inset:auto !important;
  transform:none !important;

  flex:0 0 auto !important;

  margin-top:0 !important;
  margin-bottom:10px !important;
}

#solutions .v12-capability-card p{
  position:static !important;
  inset:auto !important;
  transform:none !important;

  flex:1 1 auto !important;

  margin-top:0 !important;
  margin-bottom:0 !important;

  overflow:visible !important;
  max-height:none !important;

  -webkit-line-clamp:unset !important;
  line-clamp:unset !important;
}

/*
 * Decorative pseudo-elements cannot become
 * structural layers over the card content.
 */

#solutions .v12-capability-card::before,
#solutions .v12-capability-card::after{
  pointer-events:none !important;
}

/* =========================================
   CONTEXT COMPLETION
   ========================================= */

#evox-context-completion{
  position:relative !important;
  clear:both !important;
}

#evox-context-completion[aria-hidden="true"]:not(.is-complete){
  display:none !important;
}

#evox-context-completion.is-complete{
  display:block !important;
}

/* =========================================
   POPUP CLOSE
   ========================================= */

#evox-commercial-handoff .evox-handoff-close,
#evox-commercial-handoff [data-evox-handoff-close]{
  pointer-events:auto !important;
  cursor:pointer !important;
  position:relative;
  z-index:3;
}

/* ==========================================================
   F4.19C — HANDOFF STACKING AUTHORITY
   Backdrop must stay BEHIND the dialog.
   ========================================================== */

#evox-commercial-handoff{
  isolation:isolate !important;
}

#evox-commercial-handoff .evox-handoff-backdrop,
#evox-commercial-handoff [data-evox-handoff-close].evox-handoff-backdrop{
  position:absolute !important;
  inset:0 !important;
  z-index:0 !important;
}

#evox-commercial-handoff .evox-handoff-card,
#evox-commercial-handoff .evox-lead-capture__dialog,
#evox-commercial-handoff [role="dialog"]{
  position:relative !important;
  z-index:2 !important;
  pointer-events:auto !important;
}

#evox-commercial-handoff .evox-handoff-close{
  position:absolute !important;
  z-index:5 !important;
  pointer-events:auto !important;
  cursor:pointer !important;
}


/* ==========================================================
   F4.19C — CAPABILITIES NUMBER AUTHORITY
   The real number is .v12-capability-number.
   Legacy pseudo-number must not be duplicated.
   ========================================================== */

#solutions .v12-capability-card::before{
  content:none !important;
  display:none !important;
}

#solutions .v12-capability-number{
  position:static !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;

  width:max-content !important;
  min-width:54px !important;
  height:auto !important;
  min-height:54px !important;

  margin:0 0 18px 0 !important;

  flex:0 0 auto !important;
  transform:none !important;
}


/* ==========================================================
   F4.19D — COMMERCIAL HANDOFF STATE CONTRACT

   CLOSED must be physically absent from hit-testing.
   OPEN must be fully interactive.
   ========================================================== */

#evox-commercial-handoff:not(.is-open),
#evox-commercial-handoff[aria-hidden="true"],
#evox-commercial-handoff[inert]{
  display:none !important;
  visibility:hidden !important;
  opacity:0 !important;
  pointer-events:none !important;
}

#evox-commercial-handoff.is-open{
  display:flex !important;
  visibility:visible !important;
  opacity:1 !important;
  pointer-events:auto !important;
}

#evox-commercial-handoff.is-open .evox-handoff-card{
  display:block !important;
  visibility:visible !important;
  opacity:1 !important;
  pointer-events:auto !important;
  position:relative !important;
  z-index:2 !important;
}

#evox-commercial-handoff.is-open .evox-handoff-backdrop{
  display:block !important;
  pointer-events:auto !important;
  z-index:0 !important;
}

#evox-commercial-handoff.is-open .evox-handoff-close,
#evox-commercial-handoff.is-open button.evox-handoff-close{
  pointer-events:auto !important;
  cursor:pointer !important;
  z-index:10 !important;
}


/* ==========================================================
   F4.19E — POST SUBMIT RESULT
   ========================================================== */

#evox-commercial-handoff
.evox-post-submit-whatsapp{
  display:flex;
  align-items:center;
  justify-content:center;

  width:100%;
  min-height:48px;

  margin-top:12px;
  padding:10px 16px;

  border-radius:12px;

  text-decoration:none;
  font-weight:700;

  cursor:pointer;
}

#evox-commercial-handoff
.evox-post-submit-whatsapp[hidden]{
  display:none !important;
}

#evox-commercial-handoff
[aria-live].is-success,
#evox-commercial-handoff
.evox-lead-feedback.is-success{
  display:block;
  visibility:visible;
  opacity:1;
}

