/* Web Studio 117 — capa decorativa de animación (aura, brasas y transiciones al bajar).
   Solo decoración: no cambia textos, precios, enlaces, formularios ni el diseño base.
   Todo es ligero (CSS + un canvas pequeño) y respeta prefers-reduced-motion. */

/* ---------- Aura: resplandor suave detrás del título y los encabezados ---------- */
.hero{position:relative;overflow:hidden}
.hero::before{content:"";position:absolute;z-index:0;left:-60px;top:-90px;width:640px;height:640px;border-radius:50%;background:radial-gradient(circle,rgba(185,239,118,.85) 0%,rgba(185,239,118,.45) 35%,rgba(245,166,35,.28) 58%,transparent 72%);filter:blur(8px);pointer-events:none;animation:aura-pulse 9s ease-in-out infinite}
.hero::after{content:"";position:absolute;z-index:0;right:-120px;bottom:-140px;width:520px;height:520px;border-radius:50%;background:radial-gradient(circle,rgba(245,166,35,.5) 0%,rgba(245,166,35,.22) 40%,rgba(185,239,118,.16) 60%,transparent 72%);filter:blur(10px);pointer-events:none;animation:aura-pulse 11s ease-in-out infinite reverse}
.hero-copy,.hero-art{position:relative;z-index:1}
@keyframes aura-pulse{0%,100%{opacity:.85;transform:scale(1)}50%{opacity:1;transform:scale(1.12)}}

.section-heading{position:relative;overflow:clip}
.section-heading::before{content:"";position:absolute;z-index:0;left:-70px;top:-50px;width:340px;height:220px;border-radius:50%;background:radial-gradient(ellipse,rgba(185,239,118,.55) 0%,rgba(245,166,35,.18) 45%,transparent 68%);filter:blur(12px);pointer-events:none;animation:aura-pulse 11s ease-in-out infinite}
.section-heading>*{position:relative;z-index:1}

.faq-layout{position:relative;overflow:clip}
.faq-layout::before{content:"";position:absolute;z-index:0;right:-80px;top:-40px;width:380px;height:260px;border-radius:50%;background:radial-gradient(ellipse,rgba(185,239,118,.16) 0%,transparent 70%);filter:blur(14px);pointer-events:none;animation:aura-pulse 12s ease-in-out infinite}
.faq-layout>*{position:relative;z-index:1}

/* ---------- Aura alrededor de cada sección (toda la página respira) ---------- */
.section,.process-section,.quote-section,.faq-section,.proof-strip{position:relative;overflow:clip}
.section::before,.process-section::before,.quote-section::before,.faq-section::before,.proof-strip::before{content:"";position:absolute;z-index:0;pointer-events:none;width:520px;height:520px;border-radius:50%;background:radial-gradient(circle,rgba(185,239,118,.55) 0%,rgba(245,166,35,.25) 48%,transparent 70%);filter:blur(12px);animation:aura-pulse 10s ease-in-out infinite}
.section::before{left:-160px;top:-110px}
.process-section::before{right:-160px;top:-70px}
.quote-section::before{left:-140px;top:auto;bottom:-160px}
.faq-section::before{right:-140px;top:-90px}
.proof-strip::before{left:50%;top:-170px;margin-left:-260px;width:520px;height:340px}
.section>*,.process-section>*,.quote-section>*,.faq-section>*,.proof-strip>*{position:relative;z-index:1}

/* ---------- Aura alrededor de las tarjetas (las "islas" de la página) ---------- */
.service-card,.price-card,.case-card,.plan-card{box-shadow:0 0 0 1px rgba(185,239,118,.5),0 14px 34px rgba(185,239,118,.22),0 4px 14px rgba(22,51,45,.07)}
.ember-canvas{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:0;opacity:.9}

/* ---------- Brillo al pasar el cursor: tarjetas y botones ---------- */
.service-card,.price-card,.case-card,.plan-card{transition:transform .3s ease,box-shadow .3s ease,border-color .3s ease}
.service-card:hover,.price-card:hover,.case-card:hover,.plan-card:hover{transform:translateY(-4px);box-shadow:0 20px 44px rgba(22,51,45,.16),0 0 0 1px rgba(185,239,118,.8),0 0 34px rgba(185,239,118,.35)}
.button{transition:transform .18s ease,background .18s ease,box-shadow .3s ease}
.button:hover{box-shadow:0 12px 28px rgba(73,116,91,.35),0 0 0 1px rgba(185,239,118,.65)}
.button:active{transform:translateY(0)}

/* ---------- Transiciones al bajar (entrada de cada bloque) ---------- */
.ws-anim .reveal{opacity:0;translate:0 42px;scale:.96;transition:opacity .7s cubic-bezier(.22,.8,.3,1),translate .7s cubic-bezier(.22,.8,.3,1),scale .7s cubic-bezier(.22,.8,.3,1)}
.ws-anim .reveal-l{opacity:0;translate:-38px 26px;scale:.96;transition:opacity .7s cubic-bezier(.22,.8,.3,1),translate .7s cubic-bezier(.22,.8,.3,1),scale .7s cubic-bezier(.22,.8,.3,1)}
.ws-anim .reveal-r{opacity:0;translate:38px 26px;scale:.96;transition:opacity .7s cubic-bezier(.22,.8,.3,1),translate .7s cubic-bezier(.22,.8,.3,1),scale .7s cubic-bezier(.22,.8,.3,1)}
.ws-anim .reveal.in,.ws-anim .reveal-l.in,.ws-anim .reveal-r.in{opacity:1;translate:0 0;scale:1}

/* ---------- Móvil: el aura se queda grande para que sí se vea ---------- */
@media (max-width:800px){
  .hero::before{left:-90px;top:-70px;width:520px;height:520px}
  .hero::after{right:-160px;bottom:-120px;width:420px;height:420px}
  .section::before,.process-section::before,.quote-section::before,.faq-section::before,.proof-strip::before{width:380px;height:380px}
  .section-heading::before{left:-90px;width:260px;height:170px}
}

/* ---------- Respeta a quien prefiere menos movimiento ---------- */
@media (prefers-reduced-motion:reduce){
  .hero::before,.hero::after,.section::before,.process-section::before,.quote-section::before,.faq-section::before,.proof-strip::before,.section-heading::before,.faq-layout::before{animation:none!important}
  .ember-canvas{display:none!important}
  .service-card,.price-card,.case-card,.plan-card,.button{transition:none!important}
  .ws-anim .reveal,.ws-anim .reveal-l,.ws-anim .reveal-r{opacity:1!important;translate:0 0!important;scale:1!important;transition:none!important}
  html{scroll-behavior:auto}
}
