/* ── Foto de perfil ampliada (al tocar la foto del trabajador) ── */
[data-ampliar] { cursor: zoom-in; }

.foto-ampliada {
  position: fixed; inset: 0; z-index: 5000;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1rem; padding: 1.5rem;
  background: rgba(10, 12, 16, .88);
  backdrop-filter: blur(4px);
  opacity: 0; transition: opacity .2s ease;
  cursor: zoom-out;
}
.foto-ampliada.show { opacity: 1; }

.foto-ampliada img {
  max-width: min(92vw, 560px);
  max-height: 78vh;
  width: auto; height: auto;
  border-radius: 18px;
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
  transform: scale(.94); transition: transform .2s ease;
  cursor: default;
}
.foto-ampliada.show img { transform: scale(1); }

.foto-ampliada-nombre {
  color: #fff; font-weight: 700; font-size: 1rem; text-align: center;
}

.foto-ampliada-cerrar {
  position: absolute; top: 1rem; right: 1rem;
  width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: rgba(255, 255, 255, .14); color: #fff;
  font-size: 1.4rem; line-height: 1; cursor: pointer;
}
.foto-ampliada-cerrar:hover { background: #FF5722; }
