/* APXMAIN V138 — stability + saturation only. Scoped to Reto and Resultados.
   Do not resize/reposition videos or restyle the page outside these two sections. */

/* Less friction between native vertical touch scrolling and nested horizontal cards.
   Arrow button clicks still explicitly call track.scrollTo({behavior:'smooth'}). */
@media (max-width:768px) and (pointer:coarse){
  #proof-track{
    scroll-behavior:auto!important;
    scroll-snap-type:x proximity!important;
    scroll-snap-stop:normal!important;
    touch-action:auto!important;
  }
}

/* Keep glows identical at rest, reduce iOS/Instagram WebKit expensive filters
   only during a real gesture. V134 already pauses the animated properties. */
@media (pointer:coarse){
  html.apx-touch-scroll-active #reto .apx-reto-edge .apx-edge-core,
  html.apx-touch-scroll-active #reto .apx-reto-edge .apx-edge-blur,
  html.apx-touch-scroll-active .results-section #open-contact-modal.final-cta .apx-light-track .apx-light-core,
  html.apx-touch-scroll-active .results-section #open-contact-modal.final-cta .apx-light-track .apx-light-aura{
    filter:none!important;
  }
  html.apx-touch-scroll-active .results-section .carousel-arrow{
    -webkit-backdrop-filter:none!important;
    backdrop-filter:none!important;
  }
}

/* Existing red/coral/gold palette, only more saturated. Never filter the videos. */
#reto .apx-reto-stage{
  border-color:rgba(255,84,67,.61)!important;
  box-shadow:0 24px 82px rgba(0,0,0,.49),
             0 0 42px rgba(245,48,41,.19),
             inset 0 1px 0 rgba(255,255,255,.09),
             inset 0 0 44px rgba(255,44,42,.065)!important;
}
#reto .apx-reto-stage::before{
  background:
    radial-gradient(ellipse at 6% -4%,rgba(255,56,52,.52),transparent 50%),
    radial-gradient(ellipse at 98% 44%,rgba(255,137,31,.17),transparent 36%),
    radial-gradient(circle at 60% 20%,rgba(255,39,46,.105),transparent 28%),
    radial-gradient(circle at 38% 58%,rgba(255,33,36,.065),transparent 22%),
    linear-gradient(115deg,transparent 17%,rgba(255,255,255,.04) 31%,transparent 47%)!important;
}
#reto .apx-reto-fails{
  background-image:linear-gradient(180deg,#ff776b 0%,#ff2429 50%,#e60019 100%)!important;
  -webkit-background-clip:text!important;
  background-clip:text!important;
  filter:drop-shadow(0 6px 0 rgba(77,8,12,.84))
         drop-shadow(0 0 31px rgba(255,37,40,.45))!important;
}
#reto em.apx-reto-prize{
  background-image:linear-gradient(180deg,#fff19b 0%,#ffcf36 32%,#ffae0c 67%,#ef8100 100%)!important;
  -webkit-background-clip:text!important;
  background-clip:text!important;
  filter:drop-shadow(0 0 16px rgba(255,169,16,.38))
         drop-shadow(0 0 31px rgba(255,135,0,.17))!important;
}
#reto em.apx-reto-prize::before{
  background:linear-gradient(90deg,#f37000,#ffd842 50%,#ff9300)!important;
  box-shadow:0 0 14px rgba(255,168,8,.62),0 0 27px rgba(255,153,9,.23)!important;
}
#reto #voice-note.audio-card.apx-audio-embedded{
  background:linear-gradient(180deg,rgba(255,46,44,.16),rgba(14,12,16,.12) 78%)!important;
  border-top-color:rgba(255,92,77,.43)!important;
}
#reto #voice-play.voice-play{
  background:linear-gradient(150deg,#ff634f 0%,#f31d29 72%,#df071f 100%)!important;
}
#reto .voice-wave i{
  background-image:linear-gradient(180deg,#fff5e9 0%,#ff8151 38%,#f01e31 100%)!important;
}

/* CTA: stronger, cleaner crimson; same red-to-coral direction, no new hue. */
.results-section .final-cta-wrap{
  border-color:rgba(255,64,58,.36)!important;
  background:
    radial-gradient(ellipse at 50% 95%,rgba(246,19,34,.27),transparent 70%),
    linear-gradient(145deg,#260810 0%,#12080d 65%,#0d0b0d 100%)!important;
}
.results-section #open-contact-modal.final-cta{
  background:
    radial-gradient(ellipse at 50% -18%,rgba(255,243,237,.26),transparent 56%),
    linear-gradient(118deg,#d00021 0%,#f1142d 42%,#ff292d 72%,#ff4b29 100%)!important;
  box-shadow:0 15px 44px rgba(249,18,43,.43),
             0 0 23px rgba(255,48,36,.23),
             inset 0 1px 0 rgba(255,248,241,.42),
             inset 0 -4px 12px rgba(94,0,15,.28)!important;
}
/* Keep the original heartbeat animation, lettering, button dimensions and orbit. */
@media(prefers-reduced-motion:reduce){
  #reto .apx-reto-stage,
  .results-section #open-contact-modal.final-cta{scroll-behavior:auto;}
}
