/* ==========================================================================
   Cursor glow — desktop only
   ========================================================================== */

@media (hover: hover) and (pointer: fine) and (min-width: 1200px) {
  body.page-contact .contact-cursor,
  body.page-services .contact-cursor {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 80;
    width: 0;
    height: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.15s ease;
  }

  body.page-contact .contact-cursor::before,
  body.page-services .contact-cursor::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--color-sand);
    opacity: 0.14;
    filter: blur(22px);
    transform: translate(-50%, -50%);
    animation: contact-cursor-glow-pulse 3.6s ease-in-out infinite;
  }

  body.page-contact .contact-cursor::after,
  body.page-services .contact-cursor::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: color-mix(in srgb, var(--color-sand) 14%, transparent);
    box-shadow:
      0 0 28px 10px color-mix(in srgb, var(--color-sand) 18%, transparent),
      0 0 56px 24px color-mix(in srgb, var(--color-sand) 10%, transparent);
    transform: translate(-50%, -50%);
    animation: contact-cursor-ring-pulse 3.6s ease-in-out infinite;
  }

  body.page-contact .contact-cursor.is-visible,
  body.page-services .contact-cursor.is-visible {
    opacity: 1;
  }

  body.menu-open .contact-cursor {
    opacity: 0;
  }
}

@media (max-width: 1199px) {
  .contact-cursor {
    display: none;
  }
}

@keyframes contact-cursor-glow-pulse {
  0%,
  100% {
    opacity: 0.1;
    transform: translate(-50%, -50%) scale(0.96);
  }

  50% {
    opacity: 0.18;
    transform: translate(-50%, -50%) scale(1.04);
  }
}

@keyframes contact-cursor-ring-pulse {
  0%,
  100% {
    opacity: 0.16;
    transform: translate(-50%, -50%) scale(0.97);
  }

  50% {
    opacity: 0.24;
    transform: translate(-50%, -50%) scale(1.03);
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-cursor::before {
    animation: none;
    opacity: 0.12;
    transform: translate(-50%, -50%) scale(1);
  }

  .contact-cursor::after {
    animation: none;
    opacity: 0.18;
    transform: translate(-50%, -50%) scale(1);
  }
}
