/* Burbujas de servicios del hero: flotacion, intercambio de puestos y hover.
   Parche local sobre el export estatico; la logica vive en /burbujas.js */
[aria-label="Áreas de servicio"] > ul > li {
  --flotar-amplitud: -9px;
  translate: 0 0;
  transition:
    translate 1s cubic-bezier(.65, 0, .35, 1),
    scale .25s ease,
    border-color .25s ease;
  animation: burbuja-flotar 5s ease-in-out infinite;
  will-change: transform, translate;
}
[aria-label="Áreas de servicio"] > ul > li:nth-child(1) { animation-delay: 0s; }
[aria-label="Áreas de servicio"] > ul > li:nth-child(2) { animation-delay: -1.1s; }
[aria-label="Áreas de servicio"] > ul > li:nth-child(3) { animation-delay: -2.3s; }
[aria-label="Áreas de servicio"] > ul > li:nth-child(4) { animation-delay: -3.4s; }
[aria-label="Áreas de servicio"] > ul > li:nth-child(5) { animation-delay: -4.2s; }

[aria-label="Áreas de servicio"] > ul > li:hover {
  scale: 1.05;
  border-color: var(--color-accent, #1e8cff);
  z-index: 2;
}

@keyframes burbuja-flotar {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(var(--flotar-amplitud)); }
}

/* Brillo que recorre las lineas diagonales del fondo */
.burbuja-brillo {
  stroke-dasharray: .12 .88;
  stroke-dashoffset: 1;
  animation: burbuja-brillo 6s linear infinite;
}
@keyframes burbuja-brillo {
  to { stroke-dashoffset: 0; }
}

@media (prefers-reduced-motion: reduce) {
  [aria-label="Áreas de servicio"] > ul > li { animation: none; transition: border-color .25s ease; }
  [aria-label="Áreas de servicio"] > ul > li:hover { scale: none; }
  .burbuja-brillo { display: none; }
}
