/* Campo de partículas (página del Acuerdo BBNJ): idea de la plantilla Particle Field de motionsites.ai, rehecha para el sitio.
   Un globo hecho de puntos: los que brillan están más allá de las 200 millas (alta mar). El desplazamiento lo acerca,
   el cursor abre un claro y al final se dispersa. */
.campo { --c-fondo: #03090d; --c-tinta: #eef6f8; --c-suave: #8fa3aa; --c-acento: #2bb3c9;
  position: relative; background: var(--c-fondo); color: var(--c-tinta); margin: 0; overflow: clip; }
.campo-fijo { position: sticky; top: 0; height: 100vh; height: 100svh; margin-bottom: -100vh; margin-bottom: -100svh; z-index: 0; pointer-events: none; }
.campo-fijo canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.campo-fijo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 18vh; background: linear-gradient(rgba(3,9,13,0), var(--c-fondo)); }
.campo-panel { position: relative; z-index: 1; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: 1.1rem; max-width: 46rem;
  padding: 8vh clamp(1.5rem, 6vw, 7rem); pointer-events: none; }
.campo-panel:last-child { min-height: 130vh; }
.campo-panel:nth-child(odd) { margin-left: auto; text-align: right; }
.campo-panel:nth-child(odd) p { margin-left: auto; }
.campo-panel a { pointer-events: auto; color: var(--c-acento); }
.campo .ceja { margin: 0; font: 500 .74rem var(--mono); letter-spacing: .06em; color: var(--c-suave); }
.campo h2 { margin: 0; font: 300 clamp(1.8rem, 4.2vw, 3.1rem)/1.05 var(--display); letter-spacing: -.03em; color: var(--c-tinta); text-wrap: balance; }
.campo .campo-heroe h2 { font-size: clamp(2.5rem, 7.4vw, 5.2rem); line-height: .98; }
.campo h2 em { font: italic 400 1.04em var(--cita); letter-spacing: -.01em; }
.campo p { margin: 0; max-width: 34rem; font-size: clamp(.98rem, 1.3vw, 1.1rem); line-height: 1.65; color: var(--c-suave); text-align: inherit; hyphens: none; text-wrap: pretty; }
.campo .campo-lede { color: #c3d3d8; }
.campo b { color: var(--c-tinta); font-weight: 600; }
.campo-leyenda { display: flex; gap: 1.2rem; flex-wrap: wrap; margin-top: .4rem; font: 500 .78rem var(--mono); color: var(--c-suave); }
.campo-panel:nth-child(odd) .campo-leyenda { justify-content: flex-end; }
.campo-leyenda span { display: inline-flex; align-items: center; gap: .5rem; }
.campo-leyenda i { width: 9px; height: 9px; border-radius: 50%; background: #a8eef5; box-shadow: 0 0 10px #2bb3c9; }
.campo-leyenda i.jur { background: #1d6f80; box-shadow: none; }
.campo-pista { margin-top: 2rem; font: 500 .74rem var(--mono); letter-spacing: .14em; color: var(--c-suave); }
.campo-pista::after { content: ""; display: block; width: 1px; height: 46px; margin-top: .8rem; background: linear-gradient(var(--c-suave), transparent); animation: campo-baja 2.2s ease-in-out infinite; transform-origin: top; }
@keyframes campo-baja { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.campo-solo-raton { display: none; }
@media (hover: hover) and (pointer: fine) { .campo-solo-raton { display: inline; } }
.campo-fallback .campo-fijo { background: radial-gradient(circle at 50% 50%, rgba(43,179,201,.28), rgba(3,9,13,0) 42%); }
@media (max-width: 640px) {
  .campo-panel, .campo-panel:nth-child(odd) { text-align: left; margin-left: 0; justify-content: flex-end; padding-bottom: 14vh; }
  .campo-panel:nth-child(odd) p { margin-left: 0; }
  .campo-panel:nth-child(odd) .campo-leyenda { justify-content: flex-start; }
  .campo .campo-heroe { justify-content: flex-end; }
  .campo-panel > * { text-shadow: 0 1px 14px rgba(3,9,13,.95), 0 0 2px rgba(3,9,13,.9); }
}
@media (prefers-reduced-motion: reduce) { .campo-pista::after { animation: none; } }
