/* Efectos reutilizables. Las capas decorativas nunca reciben clics. */
:root { --yellow: #ffd7da; --blue-light: var(--red-light); }
body { overflow-x: clip; }
.logo-filter { position: absolute; pointer-events: none; }
.brand-mark { min-height: 190px; isolation: isolate; overflow: clip; overflow-clip-margin: 8px; }
.orbit, .brand-tick { display: none; }
.logo-waves, .halo, .button-waves, .card-waves, .edge-runner, .review-glow {
  position: absolute;
  pointer-events: none;
}
.logo-waves { inset: 0; z-index: -1; }
.logo-waves i {
  position: absolute;
  inset: 19% 8%;
  border: 1px solid #ff838959;
  border-radius: 50%;
  opacity: 0;
  animation: logo-wave 6s ease-out infinite;
}
.logo-waves i:nth-child(2) { animation-delay: -2s; }
.logo-waves i:nth-child(3) { animation-delay: -4s; }
.halo {
  left: 0; right: 0; top: 50%;
  aspect-ratio: 1;
  transform: translateY(-50%) rotate(-5deg) scaleY(.36);
  z-index: -1;
}
.halo i {
  position: absolute;
  inset: 0;
  border: 1px solid #ff838979;
  border-radius: 50%;
  animation: halo-turn 24s linear infinite;
}
.halo i::after {
  content: '';
  position: absolute;
  top: 50%; left: -3px;
  width: 6px; height: 6px;
  background: var(--yellow);
  border-radius: 50%;
  box-shadow: 0 0 12px #ffd7da77;
}
.halo-two { left: 3%; right: 3%; transform: translateY(-50%) rotate(5deg) scaleY(.42); }
.halo-two i { border-color: #ff838938; animation-direction: reverse; animation-duration: 32s; }
.halo-two i::after { background: var(--blue-light); }
.halo-one { animation: halo-float 8s ease-in-out infinite; }
.halo-two { animation: halo-float-two 10s -3s ease-in-out infinite; }
.logo-panel {
  width: calc(100% - 24px);
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  animation: logo-float 7s ease-in-out infinite;
}
.logo-panel img { border-radius: 0; filter: url(#vipasa-cutout) drop-shadow(0 0 12px #ed1c2433); }
.logo-panel .brand-signature { width: 94px; margin-top: -23px; }
.button { isolation: isolate; overflow: hidden; }
.button-waves { width: 120px; height: 120px; right: -29px; top: -26px; z-index: -1; }
.button-waves i, .card-waves i {
  position: absolute;
  inset: 0;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: 0;
  animation: button-wave 4.8s ease-out infinite;
}
.button-waves i { color: #fff0f0; }
.button-waves i:nth-child(2), .card-waves i:nth-child(2) { animation-delay: -1.6s; }
.button-waves i:nth-child(3), .card-waves i:nth-child(3) { animation-delay: -3.2s; }
.button-whatsapp::after { animation-duration: 9s; }
.card-waves { width: 160px; height: 160px; right: -65px; bottom: -90px; z-index: -1; }
.card-waves i { color: var(--red-light); }
.card-waves i { animation-duration: 6s; }
.card-waves i:nth-child(2) { animation-delay: -2s; }
.card-waves i:nth-child(3) { animation-delay: -4s; }
.edge-runner {
  inset: 0;
  border: 1px solid var(--red-light);
  border-radius: inherit;
  opacity: .9;
  animation: edge-lap 8s linear infinite;
}
.review-glow {
  top: -1px; left: 0;
  width: 42%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--red-light), #ffd7da, transparent);
  box-shadow: 0 0 10px #ff838955;
  animation: edge-glide 7s ease-in-out infinite;
}
.demo-note { margin-top: 16px; color: var(--muted); font-size: 10px; letter-spacing: .04em; }
@keyframes logo-wave {
  0% { transform: scale(.72); opacity: 0; }
  15% { opacity: .65; }
  100% { transform: scale(1.22); opacity: 0; }
}
@keyframes halo-turn { to { transform: rotate(360deg); } }
@keyframes logo-float {
  0%, 100% { transform: translateY(-3px); }
  50% { transform: translateY(3px); }
}
@keyframes halo-float {
  0%, 100% { transform: translateY(calc(-50% - 3px)) rotate(-7deg) scaleY(.36); }
  50% { transform: translateY(calc(-50% + 3px)) rotate(-3deg) scaleY(.36); }
}
@keyframes halo-float-two {
  0%, 100% { transform: translateY(calc(-50% + 3px)) rotate(7deg) scaleY(.42); }
  50% { transform: translateY(calc(-50% - 3px)) rotate(3deg) scaleY(.42); }
}
@keyframes button-wave {
  0% { transform: scale(.18); opacity: 0; }
  14% { opacity: .36; }
  100% { transform: scale(1.3); opacity: 0; }
}
@keyframes edge-lap {
  0%, 100% { clip-path: inset(0 65% 86% 0); }
  25% { clip-path: inset(0 0 65% 86%); }
  50% { clip-path: inset(86% 0 0 65%); }
  75% { clip-path: inset(65% 86% 0 0); }
}
@keyframes edge-glide {
  0%, 100% { transform: translateX(-100%); opacity: 0; }
  15%, 85% { opacity: .85; }
  50% { transform: translateX(245%); }
}
