/* MOTAWAR | Refined consultation CTA animation / 2026-11-12
   Scoped to the single WhatsApp CTA in the "With you from idea to summit" section. */
#method.mtlh-story a.mtlh-cta[data-cta="consultation_whatsapp"] {
  position:relative;
  isolation:isolate;
  overflow:visible;
  cursor:pointer;
  will-change:transform;
  -webkit-tap-highlight-color:transparent;
  transition:transform .28s cubic-bezier(.2,.8,.2,1),box-shadow .28s ease,filter .28s ease;
}
#method.mtlh-story a.mtlh-cta[data-cta="consultation_whatsapp"] > span {
  position:relative;z-index:1;
}
#method.mtlh-story a.mtlh-cta[data-cta="consultation_whatsapp"]::before {
  content:"";position:absolute;z-index:-1;inset:-5px;
  border:2px solid rgba(146,32,62,.58);border-radius:inherit;
  box-shadow:0 0 0 1px rgba(231,190,137,.32),0 0 19px rgba(157,50,67,.15);
  pointer-events:none;opacity:0;transform:scale(1);
  animation:mtConsultPulse 3.7s cubic-bezier(.22,.68,.18,1) infinite;
}
#method.mtlh-story a.mtlh-cta[data-cta="consultation_whatsapp"]::after {
  content:"";position:absolute;z-index:0;inset:2px;
  border-radius:inherit;pointer-events:none;
  background:linear-gradient(110deg,transparent 23%,rgba(255,245,215,0) 39%,rgba(255,231,177,.32) 49%,rgba(255,245,215,0) 60%,transparent 78%);
  background-size:250% 100%;background-position:120% center;
  opacity:0;
  animation:mtConsultSweep 6s ease-in-out infinite;
}
#method.mtlh-story a.mtlh-cta[data-cta="consultation_whatsapp"] .mtlh-cta-arrow {
  display:inline-block;
  animation:mtConsultArrow 2.9s ease-in-out infinite;
}
@keyframes mtConsultPulse {
  0%,48%,100% {opacity:0;transform:scale(1)}
  60% {opacity:.6;transform:scale(1.012)}
  81% {opacity:0;transform:scale(1.055)}
}
@keyframes mtConsultSweep {
  0%,21% {background-position:120% center;opacity:0}
  24% {opacity:.7}
  43% {background-position:-120% center;opacity:0}
  100% {background-position:-120% center;opacity:0}
}
@keyframes mtConsultArrow {
  0%,56%,100% {transform:translateX(0)}
  68% {transform:translateX(5px)}
  82% {transform:translateX(0)}
}
@media(hover:hover) and (pointer:fine){
 #method.mtlh-story a.mtlh-cta[data-cta="consultation_whatsapp"]:hover{
  transform:translateY(-4px) scale(1.026);
  filter:brightness(1.075);
  box-shadow:0 18px 40px rgba(87,22,40,.36),0 0 0 3px rgba(216,171,109,.32),inset 0 1px 0 rgba(255,235,205,.26);
 }
}
#method.mtlh-story a.mtlh-cta[data-cta="consultation_whatsapp"]:active{
  transform:translateY(-1px) scale(.985);
}
#method.mtlh-story a.mtlh-cta[data-cta="consultation_whatsapp"]:focus-visible{
  outline:3px solid #7b173c;outline-offset:7px;
  box-shadow:0 0 0 4px rgba(255,235,193,.88),0 14px 28px rgba(78,16,35,.24);
}
@media(max-width:600px){
 #method.mtlh-story a.mtlh-cta[data-cta="consultation_whatsapp"]{
   gap:clamp(12px,4vw,20px);
   padding-inline:clamp(16px,5vw,24px);
   max-width:100%;
 }
 #method.mtlh-story a.mtlh-cta[data-cta="consultation_whatsapp"]::before{inset:-3px}
}
@media(prefers-reduced-motion:reduce){
 #method.mtlh-story a.mtlh-cta[data-cta="consultation_whatsapp"],
 #method.mtlh-story a.mtlh-cta[data-cta="consultation_whatsapp"]::before,
 #method.mtlh-story a.mtlh-cta[data-cta="consultation_whatsapp"]::after,
 #method.mtlh-story a.mtlh-cta[data-cta="consultation_whatsapp"] .mtlh-cta-arrow{
  animation:none!important;transition:none!important;
 }
}
