@media (hover: hover) and (pointer: fine) {
/* =========================================================
   VISUAL SOLUTION PTY — desktop.css
   Hoja independiente de css/base.css, condicionada por media queries
   de hover y puntero preciso. No depende del User-Agent: la misma
   respuesta HTML funciona en móvil, escritorio y cachés compartidas.
   ========================================================= */

/* ===== Firma de animacion por icono (estructura de los pseudo-elementos
   usados por wifiRing/fiberGlow) ===== */
.icon-wrap-wifi, .icon-wrap-fiber { position: relative; }
.icon-wrap-wifi::before,
.icon-wrap-wifi::after {
  content: "";
  position: absolute;
  inset: -6px;
  border: 2px solid var(--cyan-400);
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
}
@keyframes wifiRing {
  0% { opacity: 0.6; transform: scale(0.9); }
  100% { opacity: 0; transform: scale(1.55); }
}
@keyframes fiberGlow {
  0%, 100% { box-shadow: 0 0 0 rgba(34, 211, 238, 0); }
  50% { box-shadow: 0 0 22px 6px rgba(34, 211, 238, 0.55); }
}
@keyframes cableWiggle {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-10deg); }
  75% { transform: rotate(10deg); }
}
@keyframes routerBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
@keyframes toolTurn {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(-20deg); }
}
@keyframes lanPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}
@keyframes cameraShutter {
  0%, 100% { transform: scale(1); filter: brightness(1); }
  50% { transform: scale(0.82); filter: brightness(1.35); }
}
@keyframes hddBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
@keyframes remotePing {
  0%, 100% { transform: translateY(0); }
  30% { transform: translateY(-3px); }
  60% { transform: translateY(1px); }
}
@keyframes supportNod {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(10deg); }
}
@keyframes shieldPop {
  0% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.18) rotate(-4deg); }
  100% { transform: scale(1) rotate(0deg); }
}
@keyframes checkPop {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.3); }
}
@keyframes boxTilt {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-3px) rotate(-6deg); }
}
@keyframes clockTick {
  0%, 100% { transform: rotate(0deg); }
  20% { transform: rotate(15deg); }
  40% { transform: rotate(-10deg); }
  60% { transform: rotate(6deg); }
  80% { transform: rotate(-3deg); }
}
@keyframes mailBounce {
  0%, 100% { transform: translateY(0); }
  30% { transform: translateY(-5px); }
  60% { transform: translateY(1px); }
}

@media (hover: hover) and (pointer: fine) {
  .product-photo-card:hover { box-shadow: var(--shadow-md); }
  .product-photo-card:hover .product-photo-media img { transform: scale(1.06); }

  .brand-badge:hover { border-color: var(--blue-500); box-shadow: var(--shadow-sm); transform: translateY(-2px); }

  .btn:hover { transform: translateY(-2px); }
  .btn:hover .icon { transform: translateX(3px); }
  .btn-whatsapp:hover .icon { transform: translateX(0) scale(1.12); }
  .card:hover { transform: translateY(-4px); }
  .card:hover .card-icon { transform: scale(1.08) rotate(-4deg); }
  .project-card:hover { transform: translateY(-4px); }
  .project-card:hover .project-media img { transform: scale(1.08); }
  .contact-card:is(a):hover { transform: translateY(-3px); }

  /* Firma de animacion por icono — aplicado en todo el sitio, no solo Redes.
     Dos formas de icono conviven: dentro de una caja ".card-icon" (se anima
     el simbolo interno, la caja queda fija) o "sueltos" en listas/tarjetas
     de contacto (se anima el propio svg). */
  .card:hover .icon-wrap-wifi::before { animation: wifiRing 1.1s ease-out; }
  .card:hover .icon-wrap-wifi::after { animation: wifiRing 1.1s ease-out 0.25s; }
  .card:hover .icon-wrap-fiber { animation: fiberGlow 1s ease-in-out; }
  .card:hover .icon-wrap-cable .icon { animation: cableWiggle 0.5s ease-in-out; }
  .card:hover .icon-wrap-router .icon { animation: routerBounce 0.6s ease-in-out; }
  .card:hover .icon-wrap-tool .icon,
  .diff-item:hover .icon-wrap-tool,
  .trust-row li:hover .icon-wrap-tool { animation: toolTurn 0.5s ease-in-out; }
  .card:hover .icon-wrap-lan .icon,
  .card:hover .icon-wrap-network .icon,
  .diff-item:hover .icon-wrap-network,
  .trust-row li:hover .icon-wrap-network { animation: lanPulse 0.6s ease-in-out; }
  .card:hover .icon-wrap-camera .icon { animation: cameraShutter 0.45s ease-in-out; }
  .card:hover .icon-wrap-hdd .icon { animation: hddBlink 0.8s ease-in-out; }
  .card:hover .icon-wrap-remote .icon { animation: remotePing 0.6s ease-in-out; }
  .card:hover .icon-wrap-support .icon,
  .diff-item:hover .icon-wrap-support { animation: supportNod 0.6s ease-in-out; }
  .trust-row li:hover .icon-wrap-shield,
  .diff-item:hover .icon-wrap-shield,
  .contact-card:hover .icon-wrap-shield { animation: shieldPop 0.5s ease-in-out; }
  .trust-row li:hover .icon-wrap-check,
  .check-list li:hover .icon-wrap-check,
  .diff-item:hover .icon-wrap-check { animation: checkPop 0.4s ease-in-out; }
  .diff-item:hover .icon-wrap-box { animation: boxTilt 0.6s ease-in-out; }
  .diff-item:hover .icon-wrap-clock,
  .contact-card:hover .icon-wrap-clock { animation: clockTick 0.7s ease-in-out; }
  .diff-item:hover .icon-wrap-mail,
  .contact-card:hover .icon-wrap-mail { animation: mailBounce 0.6s ease-in-out; }
}

}
