#timeline-explainer {
  position: relative;
  padding: 50px 20px;
}
    
#timeline-line-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}
    
#timeline-path {
  stroke: #4c79b7;
  stroke-width: 3px;
}
    
.hito-animado { 
  display: flex;
  align-items: center;
  background-color: #f9f9f9;
  padding: 25px;
  border-radius: 8px;
  border: 2px solid #e0e0e0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  margin-bottom: 30vh; 
  position: relative;
  z-index: 2;
  overflow: hidden;
}
    
.animacion-llave-contenedor {
  flex: 0 0 70px;
  margin-right: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
    
.llave-animacion-svg {
  width: 100%;
  max-width: 60px;
  height: auto;
  display: block;
}
    
.svg-fondo-llave,
.svg-forma-llave {
  opacity: 0;
}
.svg-forma-llave {
  transform: translateX(-100%);
}
    
.annotation-svg-container {
  flex: 0 0 90px;
  margin-right: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
    
.custom-annotation-img { 
  width: 70px;
  height: 70px;
  opacity: 0;   
  transform: scale(0.8); 
}
    
.texto-hito {
  flex: 1;
  opacity: 0;
  transform: translateX(-20px);
}
    
.texto-hito h3 {
  margin-top: 0;
  font-size: 1.2em;
  color: #f3934a;
  margin-bottom: 8px;
}
    
.annotation-block .texto-hito h3 {
  color: #5a8fc7;
}
    
.texto-hito p {
  margin-top: 0.5em;
  margin-bottom: 0;
  line-height: 1.5;
  font-size: 0.9em;
}

@media (max-width: 767px) {
  .hito-animado {
    margin-bottom: 20vh;
    padding: 20px;
  }
  .texto-hito h3 { font-size: 1.1em; }
  .texto-hito p { font-size: 0.85em; }
      
  .animacion-llave-contenedor {
    flex: 0 0 50px;
    margin-right: 15px;
  }
  .llave-animacion-svg {
    max-width: 40px;
  }
      
  .annotation-svg-container {
    flex: 0 0 70px;
    margin-right: 15px;
  }
  .custom-annotation-img {
    width: 55px;
    height: 55px;
  }
}